Archive > 19.7 Legacy Series

Maltrail consuming a lot of CPU after 19.7.3

(1/4) > >>

tusc:
I recently upgraded today and noticed maltrail's senor has 4 processes running and load is above 5. Is this normal?


--- Code: ---@OPNsense:/usr/local/etc/rc.d # ps axu | grep maltrail
root    21811 100.3 19.8  717304 704352  -  S    19:56    4:22.30 python2.7 /usr/local/share/maltrail/sensor.py
root    96015  34.4 19.8  713732 703972  -  R    19:58    1:10.19 python2.7 /usr/local/share/maltrail/sensor.py
root     2744  32.5 19.8  713852 704220  -  S    19:58    1:11.61 python2.7 /usr/local/share/maltrail/sensor.py
root    24134  32.1 19.8  713596 703792  -  S    19:58    1:09.22 python2.7 /usr/local/share/maltrail/sensor.py
root    55286   0.0  0.8   40668  26844  -  S    19:26    0:02.11 python2.7 /usr/local/share/maltrail/server.py

--- End code ---


--- Code: ---root@OPNsense:/usr/local/etc/rc.d # top -bHS
last pid: 78026;  load averages:  4.36,  5.04,  5.42  up 0+01:31:43    20:02:23
210 processes: 12 running, 155 sleeping, 43 waiting

Mem: 780M Active, 210M Inact, 538M Wired, 303M Buf, 1817M Free
Swap:


  PID USERNAME   PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
21811 root        86    0   700M   688M CPU0    0   2:01  47.46% python2.7{python2.7}
21811 root        86    0   700M   688M RUN     0   1:59  47.36% python2.7{python2.7}
96015 root        44    0   697M   687M select  2   1:26  33.40% python2.7{python2.7}
24134 root        44    0   697M   687M CPU2    2   1:25  32.67% python2.7{python2.7}
 2744 root        45    0   697M   688M RUN     3   1:27  32.37% python2.7{python2.7}
   11 root       155 ki31     0K    64K RUN     3  24:49  30.08% idle{idle: cpu3}
   11 root       155 ki31     0K    64K RUN     2  25:12  29.49% idle{idle: cpu2}
   11 root       155 ki31     0K    64K RUN     0  22:51  25.29% idle{idle: cpu0}
   12 root       -92    -     0K   720K CPU3    3  21:53  25.29% intr{irq265: igb1:que 3}
   11 root       155 ki31     0K    64K RUN     1  19:21  20.56% idle{idle: cpu1}
   12 root       -92    -     0K   720K WAIT    2  16:50  18.80% intr{irq259: igb0:que 2}
   12 root       -92    -     0K   720K WAIT    0   3:28   2.39% intr{irq262: igb1:que 0}
   12 root       -92    -     0K   720K RUN     3   1:36   1.95% intr{irq260: igb0:que 3}
   12 root       -92    -     0K   720K WAIT    2   1:37   1.56% intr{irq264: igb1:que 2}
56999 root        22    0 35044K 22400K select  1   0:00   0.39% php-cgi

--- End code ---

tusc:
Well, it looks like it has subsided. Not sure what caused it. Does it normally have that many processes active?


--- Code: ---root@OPNsense:/usr/local/etc/rc.d # top -bHS
last pid: 80886;  load averages:  0.61,  0.67,  0.85  up 0+02:36:04    21:06:44
207 processes: 6 running, 156 sleeping, 45 waiting

Mem: 486M Active, 501M Inact, 539M Wired, 303M Buf, 1820M Free
Swap:


  PID USERNAME   PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
   11 root       155 ki31     0K    64K CPU2    2  70:52  92.09% idle{idle: cpu2}
   11 root       155 ki31     0K    64K CPU0    0  66:48  86.96% idle{idle: cpu0}
   11 root       155 ki31     0K    64K RUN     3  70:55  84.47% idle{idle: cpu3}
   11 root       155 ki31     0K    64K CPU1    1  62:52  84.28% idle{idle: cpu1}
24134 root        22    0   697M   688M select  0  11:00   7.28% python2.7{python2.7}
96015 root        21    0   697M   688M CPU1    1  11:00   5.76% python2.7{python2.7}
 2744 root        21    0   698M   688M select  2  10:59   3.56% python2.7{python2.7}
21811 root        21    0   700M   688M bpf     2   9:46   1.86% python2.7{python2.7}
21811 root        21    0   700M   688M bpf     2   9:44   1.86% python2.7{python2.7}
81897 root        52    0 37096K 25328K accept  0   0:02   0.98% php-cgi

--- End code ---

mimugmail:
Maybe downloaded all trails again

Northguy:
What does your /var/log/maltrail/error.log show? Mine is flooded " with Received unexpected datalink (186) ". Cannot find root cause for it, but this is definitely the rootcause for high CPU load on my device.

mimugmail:
Does this appear after 0.15 -> 0.16 update?

Navigation

[0] Message Index

[#] Next page

Go to full version