Re: In Apache Status,the "requests currently being processed",can it be changed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thankyou Joshua.
 
I found I made a STUPID mistake..
 
In my /usr/local/apache/conf/httpd.conf,I changed the prefork.c module.
 
But in /usr/local/apache/conf/extra/httpd-mpm.conf,there still a setting, set maxclients to 150.
 
So....

so I think it
2007/11/24, Joshua Slive <joshua@xxxxxxxx>:
On Nov 24, 2007 3:08 AM, baalchina < baalchina@xxxxxxxxx> wrote:
> Hello Everyone!
>
> I have a Apache 2.2 server running ab php5, mysql forum,with CentOS 4.4.
>
> Most of my visitors are from our intranet.
>
> The problem is, sometimes, the pages is hardly to open,and sometimes it
> opens very fast.
> In apache status,I noticed this:
>
> ============================================
>  Current Time: Saturday, 24-Nov-2007 15:59:38 CST Restart Time: Friday,
> 23-Nov-2007 21:35:28 CST Parent Server Generation: 4 Server uptime: 18 hours
> 24 minutes 10 seconds Total accesses: 2798113 - Total Traffic: 74.8 GB CPU
> Usage: u520.45 s77.28 cu0 cs0 - .902% CPU load 42.2 requests/sec - 1.2
> MB/second - 28.0 kB/request 150 requests currently being processed, 0 idle
> workers
> ============================================
>
> The last line, requests,I found it always is 150.For example ,150
> currently,and 0 idle,or 138 currently ,12 idle.
>
> The cpu and memory load of my server is low, so I think the problem is the
> "REQUESTS".
>
> How can I change the max requests of my server?
>
> I changed my prefork.c to a very large number,for example:
>
> ====================================
> <IfModule prefork.c>
> StartServers         100
> MinSpareServers      100
> MaxSpareServers     200
> ServerLimit       12000
> MaxClients         8000
> MaxRequestsPerChild  12000
> </IfModule>
>  ====================================
> it's is so large,isn't?

Does you error_log have anything interest at startup? I suspect you
are exceeding some compile-time limits on those directives, causing
them to get ignored.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
from:baalchina
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux