Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 14:32:40 +1000
From:      Michael Vince <mv@thebeastie.org>
To:        freebsd-java@FreeBSD.org
Cc:        freebsd-threads@FreeBSD.org
Subject:   Java and default libthr thread limits
Message-ID:  <46244DE8.7010003@thebeastie.org>

next in thread | raw e-mail | index | archive | help
Hi All,

I been running Tomcat under FreeBSD 6.2 with libthr and I have noticed 
how easily we can hit 1,100 threads according to top right now, and we 
have hit past the default 1500 thread limit in the past.
For me I am finding that this is just going higher to continue as the 
service is just getting busier.

Currently I have just been increasing this manually via the sysctl.
kern.threads.max_threads_per_proc: 40000
kern.threads.max_groups_per_proc: 40000

I was wondering if this limit should officially be increased to 
something like 5000 as my basic point of view is that if am easily 
hitting this limit then probably other people are as well.

Any thoughts?

Cheers,
Mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46244DE8.7010003>