Apache becomes unresponsive

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2004
Atul
 
Posts: n/a
Default Apache becomes unresponsive

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
  #2 (permalink)  
Old 03-04-2004
Andreas Paasch
 
Posts: n/a
Default Re: Apache becomes unresponsive

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0