Results 1 to 3 of 3
Hello Linuxforums, I have got a Problem. My Apache2 is taking 100% of my CPU without any users. There are two processes (PIDs) which are taking 2 x 50% CPU ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-01-2014 #1
- Join Date
- Feb 2014
Apache2 suspicous process, can't kill and taking 100% CPU
I have got a Problem. My Apache2 is taking 100% of my CPU without any users. There are two processes (PIDs) which are taking 2 x 50% CPU constantly. I tried to kill them but with no success, they are back in a few seconds. It really slows down my Website to 10-20 seconds load time. I can make aCode:
- 03-01-2014 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
It is possible that you have become pwnd by malware. Do this:
1. Shut down apache (and tomcat if running).
2. Remove them from the system using the package manager.
3. Reboot to a Live CD/DVD drive.
4. Scan the system disc for malware and viruses - especially your web pages.
My guess is that your web pages have become corrupted by malware. This is not uncommon these days. When you go to reinstall your web server, make sure you have cleaned up your data, as well as locked your system down from changes much more securely. SELinux extensions may help with this.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 03-01-2014 #3
I would try stopping and restarting apache2 to see if that kills the mystrey process. Then I would open a terminal and run htop (might have to install it) and set the htop option to display threads. That will help seeing what apache and apache related processes are running. It also show the command line so might help in seeing what file the process is running.