Forum Moderators: phranque

Message Too Old, No Replies

number of clients is greater than MaxClients

         

alluoshi

2:06 pm on May 21, 2009 (gmt 0)

10+ Year Member



Hi,
I have the following settings:
MPM is prefork
MaxClients 200
ServerLimit 256.

This means that only 200 clients can be serviced simultaneously. If the number of clients exceeds 200, the over limit connections will be queued. The default value of the queue is 511 connection.

1- Does that mean if the number of simultaneous clients is less than 711 (200 + 511), they will receive a response from the server? (the pending connections will take longer)

2- What happens if more than 711 clients joined the server at the same time? I mean will the connection (for those over 711) be refused? What message will they get?

Please correct me if I am mistaken.

debajit kataki

11:06 am on May 26, 2009 (gmt 0)

10+ Year Member




I think 511 is the default <ListenBacklog> what you are quoting.

1/ They will be waiting for a response message from the server untill response is received or tcp timeout is matched. Hence waiting -> proper server response or Connection timed out.

2/ yes, if it is more than 711, you will see a Connection refused message.

~Debajit Kataki