www-data using 100% cpu
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.
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.×