Jump to content

Recommended Posts

Just been on the BBC iPlayer website and have been told that the servers are too busy, can I come back later.

 

How do I do that with Apache?

There seems to be two cases on the face of it. In the first case, I have the BBC-type scenario where the web server itself is Ok, but the back-end is busy. The second case is when I run out of apache processes (Like in another thread) What happens then? I can't inform users to wait because there's no processes to give them the information. Do they all go in a big queue?

 

Not after specifics, necessarily, as I imagine it may not be that simple. Big picture stuff will do.

 

Cheers,

Kevin

In Apache, you can determine the maximum number of simultaneous clients that are using your website. There is a "server limit" which is the OS limit (256 by default on Linux) and there is Maxclients (150 by default if you are using prefork module). If you are using the worker module, there are also settings to set the maximum number of threads. You can play with these numbers but it highly depends on the Hardware of your server to be able to support the clients.

What happens is when the number of simultaneous clients exceed the Maxclients, they will wait in a queue until some busy processes are done and can serve new clients

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.