Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
There is a process running calles Perl for over 3500 Minutes..
If i do "Kill 1169" it does nothing at all.. am i bieng hacked.. cause the process is using 95 Procent of my CPU!!
And how can i see wat the process is doing??
Can somebody plz help me???
What does Apache provide?
What does 'lsof -w -n -p 1169' return?
If you 'netstat -ntp' does it show a lot of outbound connections?
What happens if you stop Apache completely?
Do your system and daemon logs show things you can't contribute to "usual" behaviour?
As root, have you tried "kill -9 1169"... without specifying the signal number you are sending SIGTERM, which it could ignore. SIGKILL and SIGSTOP cannot be ignored, so at least try sending SIGKILL (number 9) before panicing.
You could also attempt to strace the perl process to see what it is spinning on. You would do this by running strace -p 1169, of course it's possible it's spinning in user space so strace could say nothing - in that case try ltrace.
It's not uncommon to have a perl process run away, perl will just do whatever the script says... unfortunately in your lsof output I don't see a perl script so it's probably an incomplete paste, otherwise we could look at the script to see what the problem is.
Apache supports resource limiting to put caps on how long something like this could go on, look into the RLimitCPU apache directive.
Hey by kill -9 the process leaves the list with no problem!
And my CPU is steady now!
only i could not find the RLimitCPU in the apache dir.
Al things are standing in /var/www/ , Am i'm looking right?
Hey by kill -9 the process leaves the list with no problem!
And my CPU is steady now!
only i could not find the RLimitCPU in the apache dir.
Al things are standing in /var/www/ , Am i'm looking right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.