logo       

Jetty 4.2.3 and theads: msg#00094

java.jetty.support

Subject: Jetty 4.2.3 and theads

I'm not quite sure but I think something is wrong with Jetty threading
engine. I'm using Jetty on Linux and I noticed that when I set in config
file MinThreads and MaxThreads properties of SocketListener to different
values (the default values are now 10 and 100 but I also tried 5&255,
5&50, 50&150 and probably a few different combinations) the server
throws "java.lang.OutOfMemoryError: unable to create new native thread"
and everything dies after some time of work (from a few hours to one
day).
But when I set MinThreads and MaxThread to equals values - 50 (which as
I suppose disables Jetty's threading management ?) the server runs
stable for a long time (although it gave me LOW ON THREADS:
SocketListener@xxxxxxx:8080 warning during start!)

It's just my observation but maybe someone has similar problems and
could confirm that.

Robert Jaros




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise