php and top processes
Posted: Mon Dec 08, 2008 8:45 am
I am having trouble with server. on running top processes there are too many lines like :
** user 18 0 18888 8020 4064 R 1.0 0.3 0:00.03 /usr/bin/php /home/..../index.php
** user 18 0 18888 8020 4064 R 1.0 0.3 0:00.03 /usr/bin/php /home/..../other.php
** user 18 0 18888 8020 4064 R 1.0 0.3 0:00.03 /usr/bin/php /home/..../other2.php
Because of it , system using swap and in a few minutes it crashes.
When server crashed, error log message is "server reached max client..." So I changed the server limit but still having problem.
is there a configuration problem about apache or something else? is it normal seeing php on top processes instead of httpd?
thanks for help.
** user 18 0 18888 8020 4064 R 1.0 0.3 0:00.03 /usr/bin/php /home/..../index.php
** user 18 0 18888 8020 4064 R 1.0 0.3 0:00.03 /usr/bin/php /home/..../other.php
** user 18 0 18888 8020 4064 R 1.0 0.3 0:00.03 /usr/bin/php /home/..../other2.php
Because of it , system using swap and in a few minutes it crashes.
When server crashed, error log message is "server reached max client..." So I changed the server limit but still having problem.
is there a configuration problem about apache or something else? is it normal seeing php on top processes instead of httpd?
thanks for help.