Results 1 to 2 of 2
Hello
There ia a perl scrip that uses 80% of the cpu.
top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28917 apache 25 0 5496 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-15-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
perl causes 80% Cpu usage
Hello
There ia a perl scrip that uses 80% of the cpu.
top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28917 apache 25 0 5496 3036 1288 R 49.3 0.3 44:26.88 perl
I use debian, Direct Admin cp,
How can i kill the command?
How can i find the script that causes the problem?
Can i disable perl?
Where can i find guidlines of optimizing httpd.conf and php.ini ??
Also how can i change the language of apache dates? I tried to change httpd.conf but no luck. I am newbie and i can find out the answers at forums!
Thank you
- 11-16-2006 #2Just Joined!
- Join Date
- Jun 2006
- Location
- (.)
- Posts
- 69
Hi,
kill -9 <PID>How can i kill the command?
http://forums.linuxwebadmin.info/ind...opic,51.0.html
Get the process id of running perl script and find the files opened by and users who are using it.How can i find the script that causes the problem?
lsof -p <PID>
or
lsof -i 4 -a -p <PID>
just take off the execute permission for other users, or set it to as mentioned below:Can i disable perl?
chmod 750 <perl path>
Please check the below mentioned URLs:Where can i find guidlines of optimizing httpd.conf and php.ini ??
http://forums.linuxwebadmin.info/ind...opic,37.0.html - for httpd.conf
http://forums.linuxwebadmin.info/ind...opic,54.0.html - for php.ini
thanks


Reply With Quote
