How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

May 25, 2012

Can’t get apache to open more than 10 spare server processes

Filed under: Linux — Tags: , , , — admin @ 3:04 pm

Hello
Today I face another strange problem. Some friend tell me that he wait some time to load a page but when is executed is under 0.1 second and .. the serevr don’t have load . Well I say from first maxclient is reaching. OK we take a look on error_log and the problem is there maxclient reached condiser increasing .. bla bla …

I go into httpd.conf there was 256 I say something strange modify the value give the restart to apache, problem persist. After a ps aux|grep httpd I see only 9 httpd. I increase min and max server , still nothing. Well every modification that I was doing under preforck.c it was like I didn’t change anything.
So after a short period I nottice that there was another file on conf.d swtune.conf ( /etc/httpd/conf.d/swtune.conf ) where min server was 1 and so on.

The solution is to erase that file, or modify it.

Powered by WordPress