logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Max clients and ListenBacklog config
Author
macnoobie



Joined: 31 Jul 2007
Posts: 1

PostPosted: Tue 31 Jul '07 19:42    Post subject: Max clients and ListenBacklog config Reply with quote

I need to limit number of clients that can connect to the server, say 1 at a time , and redirect others (2,3,4,...) to an error-try-again-later-page.

It seems like what I need is to set up the MaxClients to 1 and ListenBacklog to 0 (so there is not queue), but this doesn't really do it for me. Oddly enough, sometimes in the error log it says max client is reached, but most of the times, the rest of the clients were just put in queue

anyone can help me with this issue?

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 08 Aug '07 17:11    Post subject: Reply with quote

*g* 0 in httpd conf often means endless. Not sure about this one, but you should trie 1 and not 0.
Did you use MaxClients for only one client? The docs say that this not availible for Windows.
Back to top


Reply to topic   Topic: Max clients and ListenBacklog config View previous topic :: View next topic
Post new topic   Forum Index -> Apache