Perl taking 99% of usage
I'm having problems with a perl process- which i can't work out what it is, that every few days, takes over my CPU to 99%. The server doesn't seem to be running any slower, because as soon as anything else runs, the CPU on that process goes down.Heres what i've done:
top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID RUSER DATA COMMAND
25356 nobody 25 0 6640 2668 1104 R 98.4 0.3 379:37.77 1 nobody 1736 perl
This will probabally come out bad, so, it's PID 25356, user nobody, being running for 379 minutes, root process is 1, and the command is just perl.
I've tried killing the process, but it doesn't die.
root@envoy [~]# ps aux | grep perl
mailnull 2446 0.0 0.3 5688 3468 ? S Jan14 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
So the only perl process is eximstats. This tallys with:
lsof | grep 25356
Results: www.glxhost.com/lsof.txt
You can see that it seems to be processing apache logs.
The only way i found of killing it last time was just to reboot the server.
It's a cPanel, FC4 server