1 Jul
2022
1 Jul
'22
1:50 p.m.
On Fri, Jul 01, 2022 at 08:40:23AM +0000, Andy Smith wrote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
770203 www-data 20 0 4516756 3.4g 1.6g R 99.7 43.5 12:08.00 python3 /usr/share/mailman3-web/manage.py runjo+
This has been going for nearly 6 hours now at 100% CPU and I've no idea if it's ever going to finish. If I strace it, it is doing *something*, albeit very slowly. I can't see what it needs the 100% CPU for.
Output from 10 minutes or so of:
$ sudo strace --output='|tee strace.txt' -tp 770203
is at:
http://sprunge.us/RCGLmv
It's only 145k and doesn't seem to do much. An occasional open,seek,read,close…
Any good way to find out what it's spending its CPU time on? "top" says it is 100% "user" so I think it's something the python code is doing, not anything inside the kernel.
Thanks, Andy