This is a discussion on Apache becomes unresponsive within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, I am running Apache 2.0.48/PHP 4.3.4 on Sun V240 box. I am generating 20 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I am running Apache 2.0.48/PHP 4.3.4 on Sun V240 box. I am generating 20 requests/sec to Apapche which forwards it to my PHP page. After a while I see all the threads waiting to send reply (Apache server-status shows "w") and Apache becomes unresponsive. Following this I see "Reached MaxClients ...." message in Apache's error log. Has anyone seen this before? I would appreciate if somebody can help me with this. Thanks, Atul |
|
|||
|
Atul wrote:
> Hi, > > I am running Apache 2.0.48/PHP 4.3.4 on Sun V240 box. I am generating > 20 requests/sec to Apapche which forwards it to my PHP page. After a > while I see all the threads waiting to send reply (Apache > server-status shows "w") and Apache becomes unresponsive. Following > this I see "Reached MaxClients ...." message in Apache's error log. > Has anyone seen this before? I would appreciate if somebody can help > me with this. > > Thanks, > Atul In your config files, you have a setting for max_clients to what .. 100? Increase it to something that fits your needs a lot better. I'm personally unsure what it's about exactly, but www.apache.org documentations will tell you specifics about that directive. However, it's my assumption that with 20 requests/second you should be at about 400 max_clients, assuming your php pages are served within 4 seconds .... Else you have to go higher. HTH, Andreas -- Registeret Linux user #292411 |