Here is a screen shot from htopOr you coud use the top command in the shell to see what process is using the cpu.
Or even better install htop:
opkg install htop
Here is a screen shot from htopOr you coud use the top command in the shell to see what process is using the cpu.
Or even better install htop:
opkg install htop
Well this is what I did, nuked everything and started from scratch. High RAM and CPU starts after installing services. Can you post your top or htop result?That's a very good question. I'm not sure about the USB drive so it's best to wait for someone with a little more experience to answer if you prefer keeping it with all its current data.
If you don't care and want to truly start over from scratch (which is what I did), nuke everything and proceed (i.e. formatting USB drive, resetting router, manually re-installing all the services you want).[/QUOTE
That's the webserver for the UI, running on https that's using so much cpu power to show you the WebUI pages.Here is a screen shot from htop
So why is it not using high cpu for others like @#TYThat's the webserver for the UI, running on https that's using so much cpu power to show you the WebUI pages.
Nothing abnormal IMHO.
Well this is what I did, nuked everything and started from scratch. High RAM and CPU starts after installing services. Can you post your top or htop result?
Why bother, the spikes probably come from when pages are reloaded. Once logged out they disappear.So why is it not using high cpu for others like @#TY
ok nuked everything and started again, looks lot better. Can anyone tell me if installation of amtm,skynet,diversion can be backed up or what will happen if router is reset or NVRAM reset using WPS button? Will I have to install again manually if router reset or NVRAM reset?
Could be too many processes running, which would be unusual. What do you see if you run ps on the router?Running Diversion 4.0.7 on Merlin 384.9 on Asus AC86U
After about a week or so of continued operation, my internet connection is failing. When this happens, I check the system log and the timing lines up with events related to diversion weekly updates
Mar 30 02:00:00 rc_service: service 25078:notify_rc restart_dnsmasq
Mar 30 02:00:00 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf ) - max timeout = 120s
Mar 30 02:00:00 Diversion: restarted Dnsmasq to apply settings, from /jffs/scripts/dnsmasq.postconf
Mar 30 02:00:11 Diversion: sorting of /opt/share/diversion/list/blockinglist file failed, using previous file, from /opt/share/diversion/file/update-bf.div
Mar 30 02:00:12 Diversion: updated Medium blocking list from 2 hosts files, 264341 domains are now blocked, from /opt/share/diversion/file/update-bf.div
Mar 30 02:00:13 Diversion: updated and reset weekly ads counter: 544,009 total, 40,366 this week, 3,584 new since last count, from /opt/bin/diversion
Mar 30 02:00:13 Diversion: reset dnsmasq log files (weekly cron job), from /opt/share/diversion/file/update-bf.div
Mar 30 02:00:46 rc_service: watchdog 792:notify_rc start_dnsmasq
Mar 30 02:00:46 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf ) - max timeout = 120s
Mar 30 02:00:47 Diversion: restarted Dnsmasq to apply settings, from /jffs/scripts/dnsmasq.postconf
To troubleshoot this further, I attempt to run diversion but get this error.
dg@zelda:/tmp/home/root# diversion
/opt/bin/diversion: line 233: can't fork
Thinking this is a memory exhaustion issue, I check the available memory with top but find no such issue.
Mem: 300024K used, 140396K free, 1520K shrd, 760K buff, 96612K cached
CPU: 0.0% usr 0.0% sys 0.0% nic 100% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 2.98 3.03 3.03 1/127 5842
This has happened perhaps 4 times so far and the only resolution I have is to reboot the router. Then all is well for another week.
pixelserv-tls is enabled.
swap file is not.
blocklist level is medium
Any ideas?
What’s everyone CPU usage like on 68U after installing diversion? Mine spiked up after installing amtm then diversion & skynet. Average is around 68%. Is that normal? Spikes to 89-90% sometimes.
Have the same issue with amtm, only diversion is ok. But plus skynet cpu always on 80-90%
Could be too many processes running, which would be unusual. What do you see if you run ps on the router?
In most cases yes. On some models you can choose to not wipe the jffs. On my AX88U there is no such option, when you reset to defaults in the webui the jffs gets wiped, again on this model. On my AC68U and AC3100 the option to not wipe the jffs is there. You can choose to backup the jffs on the save settings page, separate from the router config. This means you can fully restore your jffs, so a default reset is ok to do.Will I have to install again manually if router reset or NVRAM reset?
That would be controlled at the browser level, not by diversion. Sorry mate!At the risk of asking too much lol, do you guys think it might be possible for Diversion to readjust the page after removing the ads?
LOL damn....was worth a shotThat would be controlled at the browser level, not by diversion. Sorry mate!
During the weekly blocking list update, your router runs out of memory. Enable the swap file, make it as large as the routers ram. For the 86U its 512MB.Mar 30 02:00:11 Diversion: sorting of /opt/share/diversion/list/blockinglist file failed, using previous file, from /opt/share/diversion/file/update-bf.div
During the weekly blocking list update, your router runs out of memory. Enable the swap file, make it as large as the routers ram. For the 86U its 512MB.
Rule of thumb, really. 256MB would work for most. But I always set it at the routers RAM.Is there a real reason to only match the RAM for the swap file size?
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!