Web Page Dies

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
ugga24
DD-WRT Novice


Joined: 21 May 2020
Posts: 6

PostPosted: Thu May 21, 2020 18:23    Post subject: Web Page Dies Reply with quote
I have a ASUS RT-AC66U. Put DD-WRT on it. Everything works fine except for the web GUI dies after reboot. Might be a couple of hours, might be a day. I can still telnet and SSH into the router. Still have wired and wireless internet access through it. But no web GUI. A reboot of the router and the web GUI comes back but then eventually dies again. Thoughts?
Sponsor
thommy181
DD-WRT User


Joined: 16 Mar 2019
Posts: 132
Location: Szczecin, Poland EU

PostPosted: Thu May 21, 2020 18:30    Post subject: Reply with quote
When GUI works you can check system load level. High system load level can crash httpd. When GUI can't load in first step you can clear web browser cache. If httpd won't work still, type commands via ssh: 1) stopservice httpd. Now wait ~15 secs. 2) type command startservice httpd. Exit ssh session and check GUI works. If problem repeating put ticket to bugtrack.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7207
Location: Texas, USA

PostPosted: Thu May 21, 2020 20:57    Post subject: Reply with quote
If you loaded 40559 instead of 43192 or today's 43209, then that is 90% of your problem for not reading the router database disclaimer.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
ugga24
DD-WRT Novice


Joined: 21 May 2020
Posts: 6

PostPosted: Thu May 21, 2020 21:02    Post subject: Reply with quote
Clearing browser cache did not fix the problem. Doing stop/start for httpd did get the web gui working again. Noticed that httpd hasn't completely crashed but seems to have stopped running or is hung up according to top because CPU usage seems to stay in the 1%-3% range when the gui is working and is at or near 0% when the web gui is not working.

Top when GUI was dead:
Mem: 42776K used, 196588K free, 0K shrd, 4120K buff, 11700K cached
CPU: 1.0% usr 1.4% sys 0.0% nic 80.8% idle 0.0% io 0.0% irq 16.7% sirq
Load average: 0.07 0.05 0.05 4/34 21814
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
21791 21789 root R 1388 0.5 0.4 top
1754 1 root S 4300 1.7 0.0 httpd -p 80
1737 1 root S 1608 0.6 0.2 nas -P /tmp/nas.wl0lan.pid -H 34954 -l br0 -i eth1 -A -m 128 -k key -s ssid -w 6 -g 3600
1607 1 root S 1296 0.5 0.2 dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf
21788 1255 root S 1268 0.5 0.2 dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -p 22
1338 1 root S 1836 0.7 0.0 ttraff
971 1 root S 1620 0.6 0.0 watchdog
1613 1 root S 1620 0.6 0.0 process_monitor
1740 1 root S 1608 0.6 0.0 nas -P /tmp/nas.wl1lan.pid -H 34954 -l br0 -i eth2 -A -m 128 -k key -s ssid -w 6 -g 3600
1612 1 root S 1560 0.6 0.0 wland
21789 21788 root S 1388 0.5 0.0 -sh
1566 1 root S 1384 0.5 0.0 udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcpc -O routes -O msstaticroutes -O staticroutes
1241 1 root S 1384 0.5 0.0 telnetd
1756 1 root S 1376 0.5 0.0 resetbutton
1255 1 root S 1200 0.5 0.0 dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -p 22
1 0 root S 1148 0.4 0.0 /sbin/init
967 1 root S 920 0.3 0.0 /sbin/hotplug2 --set-rules-file /etc/hotplug2.rules --persistent
1517 1 root S 892 0.3 0.0 cron
3 2 root RW 0 0.0 0.0 [ksoftirqd/0]
4 2 root SW 0 0.0 0.0 [kworker/0:0]
6 2 root SW 0 0.0 0.0 [kworker/u2:0]
127 2 root SW 0 0.0 0.0 [kworker/0:1]
87 2 root SW< 0 0.0 0.0 [crypto]
733 2 root SW< 0 0.0 0.0 [deferwq]
86 2 root SW< 0 0.0 0.0 [bioset]
89 2 root SW< 0 0.0 0.0 [kblockd]
132 2 root SW 0 0.0 0.0 [kswapd0]
7 2 root SW< 0 0.0 0.0 [khelper]
8 2 root SW 0 0.0 0.0 [kworker/u2:1]
2 0 root SW 0 0.0 0.0 [kthreadd]
5 2 root SW< 0 0.0 0.0 [kworker/0:0H]
83 2 root SW< 0 0.0 0.0 [writeback]
133 2 root SW 0 0.0 0.0 [fsnotify_mark]


Top after httpd was stop/start:
Mem: 42428K used, 196936K free, 0K shrd, 4120K buff, 11700K cached
CPU: 2.9% usr 5.7% sys 0.0% nic 46.7% idle 0.0% io 0.0% irq 44.5% sirq
Load average: 0.04 0.05 0.05 1/33 22001
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
21857 1 root S 4200 1.7 2.5 httpd -p 80
3 2 root RW 0 0.0 1.3 [ksoftirqd/0]
21858 21789 root R 1388 0.5 0.7 top
21788 1255 root S 1268 0.5 0.3 dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -p 22
4 2 root SW 0 0.0 0.2 [kworker/0:0]
1338 1 root S 1836 0.7 0.0 ttraff
971 1 root S 1620 0.6 0.0 watchdog
1613 1 root S 1620 0.6 0.0 process_monitor
1737 1 root S 1608 0.6 0.0 nas -P /tmp/nas.wl0lan.pid -H 34954 -l br0 -i eth1 -A -m 128 -k key -s ssid -w 6 -g 3600
1740 1 root S 1608 0.6 0.0 nas -P /tmp/nas.wl1lan.pid -H 34954 -l br0 -i eth2 -A -m 128 -k key -s ssid -w 6 -g 3600
1612 1 root S 1560 0.6 0.0 wland
21789 21788 root S 1388 0.5 0.0 -sh
1241 1 root S 1384 0.5 0.0 telnetd
1566 1 root S 1384 0.5 0.0 udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcpc -O routes -O msstaticroutes -O staticroutes
1756 1 root S 1376 0.5 0.0 resetbutton
1607 1 root S 1296 0.5 0.0 dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf
1255 1 root S 1200 0.5 0.0 dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -p 22
1 0 root S 1148 0.4 0.0 /sbin/init
967 1 root S 920 0.3 0.0 /sbin/hotplug2 --set-rules-file /etc/hotplug2.rules --persistent
1517 1 root S 892 0.3 0.0 cron
6 2 root SW 0 0.0 0.0 [kworker/u2:0]
127 2 root SW 0 0.0 0.0 [kworker/0:1]
87 2 root SW< 0 0.0 0.0 [crypto]
733 2 root SW< 0 0.0 0.0 [deferwq]
86 2 root SW< 0 0.0 0.0 [bioset]
89 2 root SW< 0 0.0 0.0 [kblockd]
132 2 root SW 0 0.0 0.0 [kswapd0]
7 2 root SW< 0 0.0 0.0 [khelper]
8 2 root SW 0 0.0 0.0 [kworker/u2:1]
2 0 root SW 0 0.0 0.0 [kthreadd]
5 2 root SW< 0 0.0 0.0 [kworker/0:0H]
83 2 root SW< 0 0.0 0.0 [writeback]
133 2 root SW 0 0.0 0.0 [fsnotify_mark]
ugga24
DD-WRT Novice


Joined: 21 May 2020
Posts: 6

PostPosted: Fri May 22, 2020 0:32    Post subject: Reply with quote
@kernel-panic69 You are correct. I did not read the router database disclaimer and I loaded dd-wrt-40559-Asus_RT-AC66U.trx instead of dd-wrt-43209-Asus_RT-AC66U.trx. I tried to read through all of the recommended reading in the peacock announcement and the the stickies and the 15 notes and have to admit I'm a little overwhelmed at this point. From reading the documentation it sounds like dd-wrt-43209-Asus_RT-AC66U.trx is just an initial build to get dd-wrt on your router and there are additional official builds to use after that. Is that correct? Or should I just try upgrading to dd-wrt-43209-Asus_RT-AC66U.trx and leave it at that? Sorry, the forum/wiki/documentation is obviously meant to be thorough but it's a lot of rambling rants and it's difficult to sift through what applies to my situation and what doesn't. Any and all help is greatly appreciated.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7207
Location: Texas, USA

PostPosted: Fri May 22, 2020 2:11    Post subject: Reply with quote
All you should have to do is flash the newer .trx file. Perform a reset if you choose or if you run into any weird issues after flashing.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
ugga24
DD-WRT Novice


Joined: 21 May 2020
Posts: 6

PostPosted: Fri May 22, 2020 17:44    Post subject: Reply with quote
@kernel-panic69

My Asus RT-AC66U now shows this:
Firmware: DD-WRT v3.0-r43217 (05/22/20)

I followed all of the instructions on the forum page including the power cycle and hard resets. It's been about an hour since the upgrade and the web GUI is still working. Hopefully this fixes my issues. Thanks for your help and my apologies for not initially following the correct instructions, although in my defense I will say that although the instructions are thorough they are not well organized and are therefore difficult to follow. Would be nice for other dd-wrt noobs if these instructions were cleaned up. Just my 2 cents.

I will say it's been about 10 years since I've had dd-wrt and I wish I'd have gone back to it sooner. I've had this ASUS router for about 5 years and it's never run better. Videos now definitely load quicker and behave more smoothly when skipping forward in them which was always my biggest gripe before dd-wrt. Web pages seem to load quicker. Gaming seems more stable on my son's PC after setting up port forwarding for Fortnite.

Thanks again for your help. =)
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7207
Location: Texas, USA

PostPosted: Fri May 22, 2020 17:51    Post subject: Reply with quote
Glad to hear. Yes, we are proactively trying to clean things up around here and get things sorted out. Sometimes, we have to wait on site admins for some things to be fixed. Other times, it's just a matter of when there is time to do the edits. Thank you for your feedback!
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum