[Javaserver-perl] Re: Some Query on JavaServer
Brought to you by:
zzo
From: <ma...@zz...> - 2004-04-14 22:31:59
|
Hm that's lame. You should be able to go the URL below, sign up & become a member of the list, & then view previous posts at this URL: http://sourceforge.net/mailarchive/forum.php?forum=javaserver-perl I just tried it & it worked. Mark On Thu, Apr 15, 2004 at 06:28:54AM +0800, Shao Ming wrote: > > Thanks for the info. However, sf is coughing a 'ERROR - Forum not found' > message when I try to view postings. > > Regards. > > -----Original Message----- > From: ma...@zz... [mailto:ma...@zz...] > Sent: Thursday, April 15, 2004 12:37 AM > To: Shao Ming > Cc: jav...@li... > Subject: Re: Some Query on JavaServer > > Hey Shao, > Please post future questions to the > 'jav...@li...' > email list - you can become a member at: > http://lists.sourceforge.net/lists/listinfo/javaserver-perl > > > On Wed, Apr 14, 2004 at 12:20:17PM +0800, Shao Ming wrote: > > > > Hi Mark, > > > > first ... thanks for your great work. > > > > I have a query on the performance of the Javaserver. > > Do you know how many simultaneous connections can it accept? > > I haven't tested this so am not sure - basically it depends on the hardware > the JVM is running on. There's no hard limit. For every connection > JavaServer spawns off a thread to deal with it. > I guess the theoretical maximum is 65534 since each connection needs a port > on the server machine (& the 1 one well known port) - of course in reality > you've got other services listening on other ports so you'd run out before > then. I'd guess 60000 would be about the max if your JVM/hardware can deal > with that number of Threads efficiently enough. > > > > > And how can I incease the amount of child processes listening? > > > > Same as above. > Now there is the standard (UNIX at least) 5 number of maximum queued > connections so if you're client are connecting simultaneously only 5 can be > queued up at a time while the JavaServer process deals with spawning a > connection. Assuming you don't have more than 5 clients trying to connect > at once this is not a problem. > Also this value is tweakable, not sure thru Java, but for sure via your OS. > > Mark > > |