Results 1 to 2 of 2
Hello, just recently PERL has been eating all my cpu power. I am running a dual xeon server, and the perl process is going crazy. I tried restarting no luck, ...
- 10-11-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 28
CentOS -- Perl Using 95% Of Both My CPUs
Hello, just recently PERL has been eating all my cpu power. I am running a dual xeon server, and the perl process is going crazy. I tried restarting no luck, still eating cpu. Here is what top is displaying:
Cpu0 : 92.0% us, 8.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Cpu1 : 92.0% us, 8.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7266 root 25 0 7172 4212 2744 R 95 0.2 475:51.23 perl
7220 root 25 0 7160 4212 2744 R 51 0.2 487:20.17 perl
7168 root 25 0 7228 4212 2744 R 50 0.2 492:44.44 perl
Any ideas what is going on? Can I see which process is using the perl process? Thanks for the help.
- 10-11-2007 #2
I don't have a Linux box handy at the moment, but I believe ps with the -ef options will give you PPID (parent PID).
e.g.
$ ps -ef | egrep 'PID|perl'
By determining the parent process you may be able to get some clues about why it is occurring.
You can also use lsof to look at what files/sockets the PID has open:
# lsof -p <pid_here>


Reply With Quote
