NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apache parked processes using CPU



On Sun, Nov 13, 2022 at 10:59:09AM -0500, Jan Schaumann wrote:
> Hey,
> 
> About two days ago, my apache-2.4.54 running on my
> NetBSD-9.3 amd64 VPS started leaving multiple
> processes in 'parked' state, utilizing a lot of CPU:
> 
>   PID USERNAME PRI NICE   SIZE   RES STATE      TIME WCPU    CPU COMMAND
> 21048 nobody    42    0   316M   14M parked     5:28 7.32%  7.32% httpd
> 17677 nobody    42    0   318M   14M parked     5:25 6.69%  6.69% httpd
> 16398 nobody    41    0   319M   17M parked    18:53 5.03%  5.03% httpd
>   829 nobody    41    0   320M   18M parked    18:59 4.83%  4.83% httpd
> 21512 nobody    42    0   322M   19M parked    18:49 4.74%  4.74% httpd
> 23308 nobody    42    0   322M   19M parked    18:51 1.61%  1.61% httpd

Why do you think they eat CPU while being parked?
I would expect them to eat lots of CPU for tiny spots of time (when answering
requests) and being parked for most of the time (when waiting for more work
to come in).

Martin


Home | Main Index | Thread Index | Old Index