Hi. I have a problem in my Ubuntu server. The user www-data is using 100% of the CPU, I tried stopping nginx, but it is still using all the cpu.
I used the “top” command to see what was happening, and I found this.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 12718 www-data 39 19 307388 269144 4124 S 99.9 26.7 16:09.42 7
I don’t really know what command “7” is. If I use “htop” the command is shown as “sbin: root@policykit -1/7”
I’m thinking that it is something to do with permissions but I don’t know how to find what it is trying to do.
Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Have you checked your mysql.log? I wonder if something is going on with a query being hung.
Also, run ps-axl and see.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.