I have a website with a custom script running on a VPS hosting service. All scripts go out through index.php using mod_rewrite and .htaccess for friendly URLs
Something in my script is generating high CPU Usage, as show:
When I go and strace
a given process I get this that I don't understand:
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={90, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x7a6b8f, [PROF], SA_RESTORER|SA_RESTART, 0x2af8ae8742f0}, {0x7a6b8f, [PROF], SA_RESTORER|SA_RESTART, 0x2af8ae8742f0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
This is repeated continuously in an infinite loop.
What I need to know is how to track down the exact PHP script causing this problem. Any suggestions?