I inherited a web server running Apache/PHP on a CentOS 5 machine. This is a hosted server so I am still familiarizing myself with the environment. There is really no user activity on this machine, yet in "top", I constantly see php processes popping up and closing. While the php process is alive, I see it taking up 40% of cpu or so. I noticed a log file called "suphp_log" and notice it is being written to every 3 or 4 seconds with entries like:
[Thu Oct 21 02:56:34 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
[Thu Oct 21 02:56:35 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
[Thu Oct 21 02:56:37 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
[Thu Oct 21 02:56:40 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
[Thu Oct 21 02:56:44 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
[Thu Oct 21 02:56:44 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
[Thu Oct 21 02:56:47 2010] [info] Executing "/home/user/public_html/index.php" as UID 511, GID 511
I am not that familiar with suphp but is there some configuration setting or something that causes it to constantly read the index.php file or something? How do I control the configuration of suphp? I assume this is where the load on my system is coming from. What can I do about this?