boisvert at intalio.com
Fri Jan 23 09:05:24 PST 2004
Nevermind, I discovered the kernel sysctl
"kern.threads.max_threads_per_proc" with default value 150. I bumped
the value to 300 and the app runs fine. (We simulate 250 clients with
250 connections or threads, hence the need for a large value...)
Alex Boisvert wrote:
> What does the following "maxthr" state mean? (output from top)
> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU
> 854 boisvert 20 0 432M 36936K maxthr 1 0:06 0.00% 0.00% java
> Does it mean I'm running into a maximum number of thread limit? If
> so, how I can increase the number of threads?
> My application uses a large number of threads and just goes to sleep
> at some point. I can provide more details or debug output if necessary.
> freebsd-threads at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-threads-unsubscribe at freebsd.org"
More information about the freebsd-threads