Pkg using tons of cpu after upgrade to 2.3.2
-
Any ideas?
This is the system where the 2.3.1 to 2.3.2 upgrade failed. Did option 13 (Update from Console)
and that got me back, but looks like something may not be right after all?
Thanks.last pid: 8314; load averages: 1.19, 1.11, 1.09 up 0+01:22:51 15:14:27
53 processes: 2 running, 51 sleeping
CPU: 22.8% user, 0.0% nice, 10.5% system, 0.0% interrupt, 66.8% idle
Mem: 1049M Active, 366M Inact, 413M Wired, 272M Buf, 2102M Free
Swap: 4096M Total, 4096M FreePID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
84788 root 1 102 0 45180K 9416K CPU0 0 66:13 98.97% pkg
29743 root 9 20 0 657M 541M uwait 2 0:44 0.00% suricata
31403 root 8 20 0 657M 540M uwait 2 0:43 0.00% suricata
31604 unbound 3 20 0 194M 165M kqread 1 0:05 0.00% unbound
57477 root 1 20 0 224M 35284K nanslp 2 0:03 0.00% php
33422 squid 17 20 0 165M 67184K uwait 2 0:03 0.00% squid
55818 root 1 20 0 101M 8544K select 1 0:02 0.00% vmtoolsd
85500 root 1 20 0 40260K 6556K kqread 2 0:01 0.00% lighttpd_pf
28445 root 1 20 0 39136K 7100K kqread 2 0:01 0.00% nginx
22981 root 5 20 0 15012K 2184K accept 0 0:01 0.00% dpinger
23577 root 5 20 0 15012K 2184K accept 2 0:01 0.00% dpinger
36545 squid 1 20 0 37752K 4096K select 1 0:01 0.00% pinger
39743 root 1 20 0 266M 39132K accept 1 0:01 0.00% php-fpm
28151 root 1 20 0 39136K 6940K kqread 0 0:00 0.00% nginx
83948 root 1 20 0 14508K 2312K select 2 0:00 0.00% syslogd
43532 root 1 52 20 17000K 2360K wait 0 0:00 0.00% sh -
What exactly is that pkg command that's running?
ps auwwx|grep pkg
-
I don't know? I did not invoke it or installed a new pkg. I simply rebooted and when I checked
a couple hours later, there it was.Just checked my secondary machine (the one that upgraded without issues) and pkg is also consuming the cpu:
last pid: 16016; load averages: 1.15, 1.21, 1.22 up 0+01:36:57 15:31:05
52 processes: 2 running, 50 sleeping
CPU: 22.9% user, 0.0% nice, 13.7% system, 0.0% interrupt, 63.3% idle
Mem: 677M Active, 681M Inact, 362M Wired, 363M Buf, 2210M Free
Swap: 4096M Total, 4096M FreePID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
47047 root 1 103 0 45180K 9380K CPU2 2 82:46 100.00% pkg
80047 root 1 52 0 266M 36708K accept 0 0:00 0.98% php-fpm
40767 root 9 20 0 637M 536M uwait 0 0:39 0.00% suricata
43623 root 8 20 0 621M 522M uwait 2 0:38 0.00% suricata
37639 unbound 3 20 0 190M 161M kqread 0 0:03 0.00% unbound
83952 root 1 20 0 21856K 3040K select 1 0:02 0.00% top
81367 root 1 20 0 224M 34412K nanslp 0 0:02 0.00% php
79481 root 1 20 0 101M 8552K select 0 0:02 0.00% vmtoolsd
33514 root 1 20 0 39136K 7172K kqread 0 0:01 0.00% nginx
33660 root 1 20 0 39136K 7116K kqread 1 0:01 0.00% nginx
28374 root 5 20 0 19108K 2304K accept 2 0:01 0.00% dpinger
27938 root 5 20 0 15012K 2220K accept 2 0:01 0.00% dpinger
267 root 1 42 0 262M 24880K kqread 0 0:01 0.00% php-fpm
51860 squid 1 20 0 37752K 4088K select 0 0:01 0.00% pinger
45514 squid 1 20 0 135M 37816K kqread 1 0:00 0.00% squid
51785 root 1 52 20 17000K 2380K wait 2 0:00 0.00% sh@cmb:
What exactly is that pkg command that's running?
ps auwwx|grep pkg
-
Missed the ps auwwx command and ended killing the process on both machines.
I rebooted the secondary so I'll wait for it to happen and will get the ps output. Thanks.@cmb:
What exactly is that pkg command that's running?
ps auwwx|grep pkg