unrealdude24
Occasional Visitor
I'm getting high CPU and memory usage suddenly.
Syslogs are filled with:
Syslog show nothing out of the ordinary prior to not enough memory errors.
CPU usage alternating between each core spiking to 100% and then context switching to the other core. I've identified the process taking up most of the CPU cycles:
Memory used is also over 80%
For some reason there are 2 processes of lldpd running simultaneously but under different users with one being the parent of the other
admin@RT-AC3100-AC28:/tmp/home/root# ps | grep lldp
493 admin 1484 S lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wds0.*,wds1.* -s RT-AC3100
497 nobody 187m R lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wds0.*,wds1.* -s RT-AC3100
Not sure if that is expected behavior.
The number of context switching happening on LLDP very high:
voluntary_ctxt_switches: 1977084
nonvoluntary_ctxt_switches: 266449700
I don't know how to generate a process dump to see the process stack and strace isn't part of the Asus OS. If there is anything I can do to help root cause the memory leak, let me know, I'd be happy to provide some logs or traces
Syslogs are filled with:
Code:
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Aug 17 01:07:57 lldpd[497]: Cannot allocate memory
Aug 17 01:07:57 lldpd[497]: not enough memory
Syslog show nothing out of the ordinary prior to not enough memory errors.
CPU usage alternating between each core spiking to 100% and then context switching to the other core. I've identified the process taking up most of the CPU cycles:
Code:
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
497 493 nobody R 187m 37.1 1 49.0 lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wds0.*,wds1.* -s RT-AC3100
Memory used is also over 80%
For some reason there are 2 processes of lldpd running simultaneously but under different users with one being the parent of the other
admin@RT-AC3100-AC28:/tmp/home/root# ps | grep lldp
493 admin 1484 S lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wds0.*,wds1.* -s RT-AC3100
497 nobody 187m R lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wds0.*,wds1.* -s RT-AC3100
Not sure if that is expected behavior.
The number of context switching happening on LLDP very high:
voluntary_ctxt_switches: 1977084
nonvoluntary_ctxt_switches: 266449700
I don't know how to generate a process dump to see the process stack and strace isn't part of the Asus OS. If there is anything I can do to help root cause the memory leak, let me know, I'd be happy to provide some logs or traces