Link to home
Start Free TrialLog in
Avatar of stanleyhuen
stanleyhuen

asked on

too many httpd processes

There are too many httpd processes in my RH linux server running Apache. It makes the loading average very high, and the websites very slow to connect, and finally server "down"!

How can I do so as to reduce to httpd processes, is a connection uses a httpd process, can a httpd process handles many connections?

Thanks.

Stanley
Avatar of ahoffmann
ahoffmann
Flag of Germany image

# see following variables in httpd.conf
MinSpareServers
MaxSpareServers
StartServers
Avatar of MFCRich
MFCRich

Also,

MaxClients
Avatar of stanleyhuen

ASKER

The server has around 200-250 processes during peak hrs.
What values I should set them?

MinSpareServers
MaxSpareServers
StartServers
Comment
MaxClients

pls suggest.

Morever, any Apache modules can I install so that the apache server use less CPU and RAM?


Thanks.
> What values I should set them?
depends on your hardware resources, mainly RAM
keep in mind that each process needs at least 2MB memory. So you main memory should have at least 2MB * number of processes
ASKER CERTIFIED SOLUTION
Avatar of pvaz
pvaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial