What kernel version are you using?
2.2.x has a limit of around 512 threads total for the system, and roughly
256 max for each user (512/2).
To change edit include/linux/tasks.h
Change NR_TASKS and MAX_TASKS_PER_USER appropriately. Then recompile and
install your kernel. Do a search on google for
Hi There,
I'm testing a chat server and after a little over 100 connections (each
connection requires two Java threads) the program failed with the message:
"Exception in thread "main" java.lang.OutOfMemoryError: unable to create new
native thread at java.lang.Thread.start(Native Method)" ...
> "Nelson" == Nelson Chan <[EMAIL PROTECTED]> writes:
Nelson> I'm benchmarking a chat server and after a little over 100
Nelson> connections (each connection requires two Java threads) the
Nelson> program failed with the message:
A friend of mine recently did a similar test, and he ran into t
Hi There,
I'm benchmarking a chat server and after a little over 100 connections (each connection requires two Java threads) the program failed with the message:
"Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method)" ..
4 matches
Mail list logo