----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


Actually, this is precisely the problem persistent sockets address. We
experienced the same behaviour as the Java VM was simply not able to
effectively handle 200+ simultaneous connections. However, with the
persistent sockets we were able to scale up to more than 4000
simultaneous connections.

Which isn't necessarily a good thing, since at that point the os
(Windows NT dual PIII 500) was spending more time context switching than
anything else. In fact, we observed the 'sweet spot' seemed to be a
connection pool size of around 120 or so for our particular runs,
supporting more than 700 'users'.

I believe there is a distinct difference between request spike issues
with actual throughput issues. In order to handle 200 simultaneous in a
spike situation, you may actually need to ratchet the socket pool down
and let apache handle the queueing. The machine you have may not be able
to create 200 sockets at the same time. Try a socket pool of 100 or so
and see what happens.

John Milan


Mark Sztainbok wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Can anyone suggest how to configure a single JServ instance and the Apache
> Web Server to allow 200 users to concurrently connect to the server and a
> servlet?
> 
> We've been using a loading tester to try 200 simultaneous transaction but
> keep on getting 400 and 500 error codes returned or some of the connections
> timeout.
> 
> Does anyone have any suggestions how to fix this?
> 
> Your help is much appreciated.
> 
> Thanks,
> 
> Mark
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to