Report this

What is the reason for this report?

www-data using 100% cpu

Posted on February 16, 2021

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you checked your mysql.log? I wonder if something is going on with a query being hung.

Also, run ps-axl and see.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.