uiDivStats: Welcome to uiDivStats v2.0.0, a script by JackYaz
uiDivStats: Checking your router meets the requirements for uiDivStats
Downloading http://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package grep (3.4-1) installed in root is up to date.
Package sqlite3-cli (3310100-1) installed in root is up to date.
Package procps-ng-pkill (3.3.15-4) installed in root is up to date.
uiDivStats: New version of uidivstats_www.asp downloaded
uiDivStats: Mounting uiDivStats WebUI page as user1.asp
uiDivStats: New version of taildns.tar.gz downloaded
Downloading http://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package grep (3.4-1) installed in root is up to date.
Package sqlite3-cli (3310100-1) installed in root is up to date.
Package procps-ng-pkill (3.3.15-4) installed in root is up to date.
uiDivStats: Creating database table and enabling write-ahead logging...
For those with CPU spikes, are you going by the Network Map chart? I've found with Network Map as the active page, it uses a chunk of CPU (confirmed in top/htop). Navigating to a static page, CPU sits around 2-3%.
Same experience here. And I didn't see this behaviour with any previous versions.Yes I am. As I might have said previously, when I check using TOP core usage is reported normal. If I use the GUI memory usage checker, cores spike.
I do not understand this disparity.
I will say again all cores drop back to normal after I uninstall uiDivStats v2.
Not only do the cores spike, the whole router GUI even when using the CLI is very sluggish when uiDivStats is installed.
As much as I like the script I am going to have to remove it for now.
Have you tried restarting httpd?Yes I am. As I might have said previously, when I check using TOP core usage is reported normal. If I use the GUI memory usage checker, cores spike.
I do not understand this disparity.
I will say again all cores drop back to normal after I uninstall uiDivStats v2.
Not only do the cores spike, the whole router GUI even when using the CLI is very sluggish when uiDivStats is installed.
As much as I like the script I am going to have to remove it for now.
service restart_httpd
Same behaviour here - AC88USame experience here. And I didn't see this behaviour with any previous versions.
Have you tried restarting httpd?
Code:service restart_httpd
Other than the WebUI seeming slow (which is par for the course), are you experiencing any other issues with the perceived higher CPU usage? These forums do seem to have people worrying when their RAM or CPU is actually being used
TryI have restarted httpd several times and I have also done a few routers power cycles. Not just a reboot, I mean full power off, wait then power on. Results is always the same when uiDivStats v2 is installed.
Yes I an noticing a complete slowdown on the cli.
For example, when I SSH into the router and type AMTM, it literally takes a couple of seconds for ANYTHING to happen with uIDivStats installed. With uiDIvStats removed, typing AMTM results in an immediate response.
I appreciate that when someone says ‘slowdown’ it is all relative and slowdown for one person is perhaps not as noticeable to someone else, but I am experiencing a real slowdown.
I don’t know how else to describe it.
The only true test I guess is to factory reset the router and load everything back, manually (not restore from a backup) but at this time I don’t want to do that for one script.
It’s not as if I have an old underpowered router, it’s an AX88U.
top -bn 1 | head -25
What about running:
ps w | grep " D " | grep -v grep
Yes I am. As I might have said previously, when I check using TOP core usage is reported normal. If I use the GUI memory usage checker, cores spike.
I do not understand this disparity.
I will say again all cores drop back to normal after I uninstall uiDivStats v2.
Not only do the cores spike, the whole router GUI even when using the CLI is very sluggish when uiDivStats is installed.
As much as I like the script I am going to have to remove it for now.
Yes I an noticing a complete slowdown on the cli.
For example, when I SSH into the router and type AMTM, it literally takes a couple of seconds for ANYTHING to happen with uIDivStats installed. With uiDIvStats removed, typing AMTM results in an immediate response.
I had a similar experience with my AC86U, CPU pegged at 100% io. But then my USB stick connected to the router failed and I replaced it with a newer and faster one, that made the problem disappear for me.What about running:
I/O seems to be hitting one CPU hard. See if any process is waiting on Disk access.Code:ps w | grep " D " | grep -v grep
What is the command supposed to do? When i run it it just drops back to the :> promptWhat about running:
I/O seems to be hitting one CPU hard. See if any process is waiting on Disk access.Code:ps w | grep " D " | grep -v grep
It might have shown any processes blocked on disk access. Just a stab in the dark since top showed io at 25% (one core).What is the command supposed to do? When i run it it just drops back to the :> prompt
Do you have unbound's logging on? I wonder if that + uiDivStats logging is causing an IO overload to your USB.
opkg install atop
tail -F /opt/var/log/dnsmasq.log /opt/var/log/dnsmasq.log3
uiDivStats 2.0 does tail the dnsmasq log files to a sqlite db on the USB, but it shouldn't be excessive. Do you have a lot of clients?Something is hammering my USB regularly.
No, i don't have Unbound logging enabled.
But why only with uiDivStats installed?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!