QuikSilver
Very Senior Member
High ram usage is nothing to be worried about. Numerous post over time with multiple models regarding that. Nothing to worry about.
Yes it only happens when unbound_manager calls gen_adblock.sh which calls back unbound with a restart option. I was confused at first because I only saw the # before those lines in the script. Should have read back more first.What exactly was the sequence of events/messages surrounding the appearance of the error?
i.e. if the message appeared and was immediately followed by message
then I assume it is safe to ignore, but not 100% sure what the code severity means.Code:Shutting down unbound... done.
sgui uninstall stats
rs = Restart (or Start) unbound (use 'rs nocache' to flush cache) s = Show unbound Extended statistics (s=Summary Totals; sa=All; http://192.168.1.1:80/user4.asp)
e = Exit Script
A:Option ==>
A:Option ==> ?
Version=2.16
Local md5=1b7b3571ada99aa2426b2b541465ffd5
Github md5=1b7b3571ada99aa2426b2b541465ffd5
/jffs/addons/unbound/unbound_manager.md5 md5=1b7b3571ada99aa2426b2b541465ffd5
Router Configuration recommended pre-reqs status:
[✔] Swapfile=2097148 kB
[✔] DNS Filter=ON
[✔] DNS Filter=ROUTER
[✔] WAN: Use local caching DNS server as system resolver=NO
[✔] Entware NTP server is running
[✔] Enable DNS Rebind protection=NO
[✔] Enable DNSSEC support=NO
Options:
[✔] unbound CPU/Memory Performance tweaks
[✔] Router Graphical GUI statistics TAB installed
[✔] unbound-control FAST response ENABLED
[: 0: unknown operand
unbound Memory/Cache:
'key-cache-size:' 8388608 (8.00m)
'msg-cache-size:' 8388608 (8.00m)
'rrset-cache-size:' 16777216 (16.00m)
System Memory/Cache:
total used free shared buffers cached
Mem: 903572 734464 169108 3180 64724 143612
-/+ buffers/cache: 526128 377444
Swap: 2097148 0 2097148
About unbound: https://nlnetlabs.nl/projects/unbound/about/
SNB Forums unbound support: https://www.snbforums.com/threads/unbound-authoritative-recursive-caching-dns-server.58967/
Whoops! ...but fortunately it is indeed cosmetic.@Martineau, I think this is just a cosmetic bug?
'[: 0: unknown operand' right after the 'Options' list.
Code:A:Option ==> ? Version=2.16 Local md5=1b7b3571ada99aa2426b2b541465ffd5 Github md5=1b7b3571ada99aa2426b2b541465ffd5 /jffs/addons/unbound/unbound_manager.md5 md5=1b7b3571ada99aa2426b2b541465ffd5 Router Configuration recommended pre-reqs status: [✔] Swapfile=2097148 kB [✔] DNS Filter=ON [✔] DNS Filter=ROUTER [✔] WAN: Use local caching DNS server as system resolver=NO [✔] Entware NTP server is running [✔] Enable DNS Rebind protection=NO [✔] Enable DNSSEC support=NO Options: [✔] unbound CPU/Memory Performance tweaks [✔] Router Graphical GUI statistics TAB installed [✔] unbound-control FAST response ENABLED [: 0: unknown operand unbound Memory/Cache: 'key-cache-size:' 8388608 (8.00m) 'msg-cache-size:' 8388608 (8.00m) 'rrset-cache-size:' 16777216 (16.00m) System Memory/Cache: total used free shared buffers cached Mem: 903572 734464 169108 3180 64724 143612 -/+ buffers/cache: 526128 377444 Swap: 2097148 0 2097148 About unbound: https://nlnetlabs.nl/projects/unbound/about/ SNB Forums unbound support: https://www.snbforums.com/threads/unbound-authoritative-recursive-caching-dns-server.58967/
Do you want to speed up menu display (Removes unbound-control unnecessary LAN SSL validation)?
Reply 'y' or press [Enter] to skip
y
unbound-control FAST response ENABLED (LAN SSL validation removed)
unbound-checkconf: no errors in /opt/var/lib/unbound/unbound.conf
[1583451378] unbound-control[15611:0] fatal error: could not send: Connection reset by peer
Executing '/opt/share/unbound/configs/unbound.postconf'
Shutting down unbound... done.
Starting unbound... done.
Please wait for up to 10 seconds for status.....unbound OK
I think that’s a consequence of switching unbound-control connections from SSL to non-SSL while the unbound daemon is running. unbound-control reads the new conf file which says “Hey, no certs needed!” but unbound is still running with a config in memory that says certs ARE needed. So the connection closes.I think this is cosmetic as well
Code:Do you want to speed up menu display (Removes unbound-control unnecessary LAN SSL validation)? Reply 'y' or press [Enter] to skip y unbound-control FAST response ENABLED (LAN SSL validation removed) unbound-checkconf: no errors in /opt/var/lib/unbound/unbound.conf [1583451378] unbound-control[15611:0] fatal error: could not send: Connection reset by peer Executing '/opt/share/unbound/configs/unbound.postconf' Shutting down unbound... done. Starting unbound... done. Please wait for up to 10 seconds for status.....unbound OK
Ssh in and run “top”. Hit “M” to sort by memory. What do you see?
Ctrl-c to exit top.
Did you change unbound number of threads?
Is anyone else having issues with the GUI? Ran sgui command after fresh installation (384.15) and even after a couple days I see "no data" in all graph areas and some just plain blank. All I get is the very bottom statistic. Running the command to show those extra stats in the terminal work just fine weirdly! But no matter what I have tried I cannot for the life of me get the Unbound GUI tab working. Any thoughts? Or am I alone there and need to reinstall everything? Lol
I have tried: full removal of unbound via "z" command and reboot, reinstall Unbound and enable, fully factory defaulting my device and selecting "initialize" to remove all AiProtect stats, force update after doing sgui command, am I missing something? I also tried the update button in the GUI page of course, and clearing browser cache and trying Firefox separately.
Thanks all, loving it otherwise!
/jffs/addons/unbound/unbound_stats.sh generate
juched probably has the answerIs anyone else having issues with the GUI? Ran sgui command after fresh installation (384.15) and even after a couple days I see "no data" in all graph areas and some just plain blank. All I get is the very bottom statistic. Running the command to show those extra stats in the terminal work just fine weirdly! But no matter what I have tried I cannot for the life of me get the Unbound GUI tab working. Any thoughts? Or am I alone there and need to reinstall everything? Lol
I have tried: full removal of unbound via "z" command and reboot, reinstall Unbound and enable, fully factory defaulting my device and selecting "initialize" to remove all AiProtect stats, force update after doing sgui command, am I missing something? I also tried the update button in the GUI page of course, and clearing browser cache and trying Firefox separately.
Thanks all, loving it otherwise!
Yes I tried that way, and also simply ran "sgui", after doing another removal of Unbound (and reboot) which automatically enabled stats+ first according to terminal output.Did you enable extended stats by typing “s+” in the unbound_manager window?
Correct, all but the bottom general statistics are empty or say "No data to display"Does your top graph not have data either?
Calculated Cache Hit Percentage: 65.92What is the output of:
Code:/jffs/addons/unbound/unbound_stats.sh generate
Yes I tried that way, and also simply ran "sgui", after doing another removal of Unbound (and reboot) which automatically enabled stats+ first according to terminal output.
Correct, all but the bottom general statistics are empty or say "No data to display"
Calculated Cache Hit Percentage: 65.92
Adding new value to DB...
Calculating Daily data...
Calculating Weekly and Monthly data...
Outputting histogram performance data...
Outputting answers data...
No data on any graphs, one of them (the pie chart by default) is literally empty space attached screenshot
EDIT: Performing a factory reset did not help. Still seeing the attached even after letting stats grow. I can see extended stats, but they do not display.
SOLVED: I ended up getting really annoyed so I factory defaulted, reflashed 384.15, formatted JFFS (& my flash drive), enabled scripts + SSH, redid all my settings, AMTM installed Diversion (then reboot), changed list to Large, did Skynet, enabled + hosts in Diversion..., installed Unbound after all settled down CPU wise, then selected s+
Here's the new bit - installed uiDivStats to use user2.asp, so now Unbound GUI uses user3.asp when I enabled it second.
It works! Not sure if from reflash or using new user.asp file but I am happy
/www/user/unbound_stats.sh/
Yes I tried that way, and also simply ran "sgui", after doing another removal of Unbound (and reboot) which automatically enabled stats+ first according to terminal output.
Correct, all but the bottom general statistics are empty or say "No data to display"
Calculated Cache Hit Percentage: 65.92
Adding new value to DB...
Calculating Daily data...
Calculating Weekly and Monthly data...
Outputting histogram performance data...
Outputting answers data...
No data on any graphs, one of them (the pie chart by default) is literally empty space attached screenshot
EDIT: Performing a factory reset did not help. Still seeing the attached even after letting stats grow. I can see extended stats, but they do not display.
SOLVED: I ended up getting really annoyed so I factory defaulted, reflashed 384.15, formatted JFFS (& my flash drive), enabled scripts + SSH, redid all my settings, AMTM installed Diversion (then reboot), changed list to Large, did Skynet, enabled + hosts in Diversion..., installed Unbound after all settled down CPU wise, then selected s+
Here's the new bit - installed uiDivStats to use user2.asp, so now Unbound GUI uses user3.asp when I enabled it second.
It works! Not sure if from reflash or using new user.asp file but I am happy
These procedures would not be necessary. This problem occurs due to the dependence on current uiDivStats files, on folder shared-jy.
Due to other projects I'm organizing, my unbound installation location is different. I only use ad/unbound.
For test, I downloaded unbound_stats.sh and unboundstats_www.asp and changed the paths for my unbound installation. I installed it. It didn't work: NO DATA DISPLAY.
Solution: Install Diversion and uiDivStats provisionally. It works automatically.
For me, I removed Diversion and uiDivStats.
Yes, I will look to fix this.
sleep 1
/jffs/scripts/unbound/unbound_stats.sh startup
Hi,
Not sure if is this related to Unbound, but it never happened before... I think that for some reason it's breaking my Skynet setup, and this started to happen after I I did the upgrade to the last version of Unbound.
I did a full reset of the router and fresh install of amtm and all the scripts.
I first installed the Unbound - everu8working fine, but when I install Skynet it just says - Skynet filelock detected - and refuse to start. Then it restart my router and now all of a sudden skynet is working but not Unbound . I just uninstalled Skynet for the moment and see everything works fine ...
Any ideas?
Thank you for your quick answerYou have to be patient and wait for that filelock message to go away. It can take several minutes. Give it time and don’t rush to any false conclusions.
And welcome to the forum.
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!