Hi,
I have a client with a busy site but lately his site has started to put a strain on my server. Every few hours or less the server load climbs up to 40 and there is a ton of /usr/bin/php index.php processes listed in htop (same thing as top but better). It then creates a bottle neck and no php scripts can be processed from any user. Could this be a configuration problem somewhere? I do have phpsuexec enabled and I am running php 5.0.4. The problem was happening with php 4.3.11 as well. I upgraded a couple of days ago.
Today I also checked out CPU/Memory/MySQL Usage in WHM and found this for the same user. Is/was the user sending out mass e-mail?
Top Process %CPU 92.3 sendmail: accepting connections
Top Process %CPU 57.6 sendmail: accepting connections
Top Process %CPU 53.0 sendmail: accepting connections
I tailed the exim main log when I saw this but there were no e-mails from this user being sent out.
I have one last question. How many connections can your apache server process and how many per second?
Maybe one more question. How do you know when you need more memory? The server in question is a AMD 2600 with 512MB of ram. The average amount of ram being used is 212MB and average swap is around 300MB with low IOwait. I'm sure an extra 512 would be beneficial but is it needed?
I know my questions are all over the place but I don't want to have 4 separate threads open.
Thanks for the help...
I have a client with a busy site but lately his site has started to put a strain on my server. Every few hours or less the server load climbs up to 40 and there is a ton of /usr/bin/php index.php processes listed in htop (same thing as top but better). It then creates a bottle neck and no php scripts can be processed from any user. Could this be a configuration problem somewhere? I do have phpsuexec enabled and I am running php 5.0.4. The problem was happening with php 4.3.11 as well. I upgraded a couple of days ago.
Today I also checked out CPU/Memory/MySQL Usage in WHM and found this for the same user. Is/was the user sending out mass e-mail?
Top Process %CPU 92.3 sendmail: accepting connections
Top Process %CPU 57.6 sendmail: accepting connections
Top Process %CPU 53.0 sendmail: accepting connections
I tailed the exim main log when I saw this but there were no e-mails from this user being sent out.
I have one last question. How many connections can your apache server process and how many per second?
Maybe one more question. How do you know when you need more memory? The server in question is a AMD 2600 with 512MB of ram. The average amount of ram being used is 212MB and average swap is around 300MB with low IOwait. I'm sure an extra 512 would be beneficial but is it needed?
I know my questions are all over the place but I don't want to have 4 separate threads open.
Thanks for the help...
Last edited: