OOM on start-up

Signal 11 <[email protected]>
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
Hi,
I have trouble in installing KeepAlive plugin.
It causes "java.lang.OutOfMemoryError : unable to create new native Thread"
when installing, and on every start-up after the installation.
I tried setting wrapper.java.additional.4=-Xss128k, decreasing node.load.threadLimit,
increasing wrapper.java.maxmemory, ulimit -u 4096, but all of them did not work.

I noticed that CPU usage got very high (> 100% on C2D E8400) temporarily
for the several seconds after start up, and lots of threads (> 300) were created,
even if I removed KeepAlive plugin.
After booting up successfully, threads count decreases under 100.
I ran jstack during the high CPU usage period, which showed 397 threads.
I suspect this massive thread creation is the cause of KeepAlive installation problem.
So my question is,
Is it normal that so many threads are created beyond node.load.threadLimit on start-up?
and if so, how can I increase the maximum number of threads without OOM?

regards,
s11 		 	   		  
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-RdDMkVZAZeuJnvDnx1genB2eb7JE58TQ@public.gmane.org?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.