What's new

[Question] Unusual CPU Usage

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

sentinelvdx

Very Senior Member
Hi,

I have recently reset my AC88U, reconfigure it from scratch.

It has 384.13, AMTM, Diversion, Skynet (logs disabled on Diversion and Skynet).
Also in the configuration it's only running 1 Guest WiFi, 1 OpenVPN server. No QoS, Traffic Analyzer, or something that might cause CPU usage...

What doesn't make sense is that before resetting the router, CPU usage was always low and stable, where I was running AMTM, Skynet, Diversion, FreshJr QoS, 1 WiFi Guest, Traffic Analyzer, 1 OpenVPN Server.

How can I check what's causing this spikes?

Thanks,
 

Attachments

  • screenshot.39.jpg
    screenshot.39.jpg
    84.5 KB · Views: 299
Hi,

I have recently reset my AC88U, reconfigure it from scratch.

It has 384.13, AMTM, Diversion, Skynet (logs disabled on Diversion and Skynet).
Also in the configuration it's only running 1 Guest WiFi, 1 OpenVPN server. No QoS, Traffic Analyzer, or something that might cause CPU usage...

What doesn't make sense is that before resetting the router, CPU usage was always low and stable, where I was running AMTM, Skynet, Diversion, FreshJr QoS, 1 WiFi Guest, Traffic Analyzer, 1 OpenVPN Server.

How can I check what's causing this spikes?

Thanks,
If you have ssh access and I assume you do, install htop and run from command line.
Code:
opkg update

opkg install htop

use "htop" to run
You will see the offender at or near the top of the list. "htop" is an enhanced version of "top."
 
If you have ssh access and I assume you do, install htop and run from command line.
Code:
opkg update

opkg install htop

use "htop" to run
You will see the offender at or near the top of the list. "htop" is an enhanced version of "top," and is a comes with, linux feature.

Thanks, I'll give a try to see what I find.



oh... I'm not the only one, I'll review it to search for some help there too.


UPDATE:
After running top command, I see diversion on top... I've killed it and all back to normal...
Rebooted and so far stays low and stable... I'll keep watching it, to see if it starts those spikes again

Code:
CPU: 29.5% usr 21.8% sys  0.0% nic 44.0% idle  0.0% io  0.0% irq  4.5% sirq
Load average: 2.27 2.42 2.33 2/108 9046
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
18636 18633 sentinel S     2092  0.4   0  5.4 {diversion} /bin/sh /opt/bin/diversion count_ads
  261     1 sentinel S     5204  1.0   0  2.0 nt_center
  320     1 sentinel S     6196  1.2   1  0.6 httpd -i br0
  325     1 sentinel S     5416  1.0   0  0.5 sw_devled
  242     1 sentinel S     2064  0.4   0  0.5 protect_srv
25846     1 sentinel S     4880  0.9   0  0.3 /usr/sbin/stubby -g -C /etc/stubby/stubby.yml
  285     1 sentinel S     2320  0.4   1  0.2 /usr/sbin/wlceventd
25886     1 nobody   S    44968  8.7   1  0.1 dnsmasq --log-async
  259   258 sentinel S     5048  0.9   0  0.1 nt_monitor
 6573 13982 sentinel R     1424  0.2   1  0.1 top
    6     2 sentinel SW       0  0.0   0  0.1 [migration/0]
    3     2 sentinel SW       0  0.0   0  0.1 [ksoftirqd/0]
 3528     1 nobody   S     6292  1.2   1  0.0 pixelserv-tls 192.168.1.2
  343     1 sentinel S     5924  1.1   0  0.0 networkmap --bootwait
    1     0 sentinel S     5452  1.0   0  0.0 /sbin/preinit
  250   243 sentinel S     5436  1.0   0  0.0 /sbin/netool
  243     1 sentinel S     5436  1.0   0  0.0 /sbin/netool
  251   250 sentinel S     5436  1.0   0  0.0 /sbin/netool
  324     1 sentinel S     5432  1.0   1  0.0 watchdog
  422     1 sentinel S     5428  1.0   0  0.0 amas_lib
  498   422 sentinel S     5428  1.0   0  0.0 amas_lib
  234     1 sentinel S     5420  1.0   0  0.0 /sbin/wanduck
  349     1 sentinel S     5416  1.0   0  0.0 pctime
  773     1 sentinel S     5416  1.0   0  0.0 disk_monitor
24239     1 sentinel S     5416  1.0   1  0.0 usbled
  268     1 sentinel S     5416  1.0   1  0.0 wpsaide
  347     1 sentinel S     5416  1.0   1  0.0 bwdpi_check
  152     1 sentinel S     5412  1.0   0  0.0 console
  346     1 sentinel S     5320  1.0   1  0.0 mastiff
  468   466 sentinel S     5320  1.0   1  0.0 mastiff
  466   346 sentinel S     5320  1.0   0  0.0 mastiff
  467   466 sentinel S     5320  1.0   1  0.0 mastiff
  264   261 sentinel S     5204  1.0   1  0.0 nt_center
  265   264 sentinel S     5204  1.0   0  0.0 nt_center
  286   258 sentinel S     5048  0.9   0  0.0 nt_monitor
  241     1 sentinel S     5048  0.9   0  0.0 nt_monitor
  258   241 sentinel S     5048  0.9   0  0.0 nt_monitor
29607     1 sentinel S     4876  0.9   1  0.0 /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1
29608 29607 sentinel S     4700  0.9   1  0.0 /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1
  543   542 sentinel S     3916  0.7   0  0.0 cfg_server
  542   406 sentinel S     3916  0.7   0  0.0 cfg_server
  406     1 sentinel S     3916  0.7   0  0.0 cfg_server
25887 25886 sentinel S     3276  0.6   0  0.0 dnsmasq --log-async
  323     1 sentinel S     3168  0.6   0  0.0 sysstate
  329     1 sentinel S     2884  0.5   0  0.0 rstats
  659   656 sentinel S     2508  0.4   0  0.0 u2ec
  656     1 sentinel S     2508  0.4   1  0.0 u2ec
  660   659 sentinel S     2508  0.4   0  0.0 u2ec
  269     1 sentinel S     2200  0.4   1  0.0 /usr/sbin/wlc_nt
  256   242 sentinel S     2064  0.4   0  0.0 protect_srv
  257   256 sentinel S     2064  0.4   0  0.0 protect_srv
  284     1 sentinel S     1980  0.3   1  0.0 nas
  289   288 sentinel S     1672  0.3   1  0.0 nt_actMail
  288     1 sentinel S     1672  0.3   1  0.0 nt_actMail
  290   289 sentinel S     1672  0.3   0  0.0 nt_actMail
 1178     1 nobody   S     1532  0.3   0  0.0 avahi-daemon: running [RT-AC88U-6B68.local]
  361     1 sentinel S     1500  0.2   1  0.0 /usr/sbin/acsd
  400     1 sentinel S     1484  0.2   1  0.0 lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wl0
  403   400 nobody   S     1460  0.2   1  0.0 lldpd -L /usr/sbin/lldpcli -I vlan1,eth1,eth2,wl0
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top