How can the process be consuming significant CPU time and always have "nanslp" state?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Dec 2024 22:34:01 UTC
I am running one long-running process that is always shown in ps(1) with WCPU between 50% and 400% and STATE=nanslp, like this: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 61262 yuri 29 20 0 13G 5986M nanslp 2 161:47 85.55% python3.11 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 61262 yuri 29 20 0 13G 5912M nanslp 5 164:25 121.84% python3.11 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 61262 yuri 29 20 0 13G 5912M nanslp 2 164:52 158.78% python3.11 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 61262 yuri 29 20 0 13G 5835M nanslp 4 172:58 234.43% python3.11 I sampled it hundreds of times, but STATE was always "nanslp". How can this be that the process is never in RUN or any other state, but it keeps running? Shouldn't STATE at least sometimes be RUN? Thanks, Yuri