What's new

Merlin WebUI http server stops responding?

  • 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!

Rici

Regular Contributor
Hi,

On my RT-AC86U running 384.18 is does after a few days (scmerlin helps to get it manually restarted).

Is this a known error?
 
Hi,

On my RT-AC86U running 384.18 is does after a few days (scmerlin helps to get it manually restarted).

Is this a known error?
The issue seems to pop up in the forum every week or so, it seems to affect users randomly ,i came across it months ago , to mitigate the issue i run a cron job every 6 hours in order to restart the server from (services-start) never had any issues since then.
Code:
cru a restart-webgui-at-6-hour "0 */6 * * * service restart_httpd"
 
I also occasionally have this GUI problem, so I decided to add a cru line to do the restart. It has been working great, but after about 1 day, when I look at the logs, I see this. Why is this happening? Is this related to the https restart?

Aug 20 08:04:49 RT-AC86U-1BD0 kernel: httpds: page allocation failure: order:5, mode:0x2040d0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: CPU: 1 PID: 14973 Comm: httpds Tainted: P O 4.1.27 #2
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: Call trace:
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc0000876d8>] dump_backtrace+0x0/0x150
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc00008783c>] show_stack+0x14/0x20
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc000508964>] dump_stack+0x90/0xb0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc000101f28>] warn_alloc_failed+0xd8/0x120
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc0001045ec>] __alloc_pages_nodemask+0x404/0x6a0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc000138de0>] cache_alloc_refill+0x350/0x610
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc000139330>] __kmalloc+0xb8/0x100
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffbffc00025c>] wlcsm_nl_rcv_skb+0x25c/0x3c0 [wlcsm]
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc000401da0>] netlink_unicast+0x150/0x228
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc000402268>] netlink_sendmsg+0x2f0/0x350
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc0003a1fe0>] sock_sendmsg+0x18/0x58
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc0003a2b5c>] ___sys_sendmsg+0x26c/0x280
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc0003a5420>] __sys_sendmsg+0x40/0x80
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: [<ffffffc0003e1448>] compat_SyS_sendmsg+0x10/0x18
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: Mem-Info:
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: active_anon:1937 inactive_anon:2397 isolated_anon:0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: active_file:3133 inactive_file:3078 isolated_file:0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: unevictable:0 dirty:22 writeback:0 unstable:0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: slab_reclaimable:996 slab_unreclaimable:65868
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: mapped:2415 shmem:233 pagetables:572 bounce:0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: free:8963 free_pcp:21 free_cma:0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: DMA free:35760kB min:20480kB low:25600kB high:30720kB active_anon:7732kB inactive_anon:9588kB active_file:12536kB inactive_file:12308kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:495616kB managed:440420kB mlocked:0kB dirty:88kB writeback:0kB mapped:9652kB shmem:932kB slab_reclaimable:3984kB slab_unreclaimable:263520kB kernel_stack:2720kB pagetables:2252kB unstable:0kB bounce:0kB free_pcp:108kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: lowmem_reserve[]: 0 0 0
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: DMA: 2299*4kB (UEM) 1741*8kB (UEM) 647*16kB (UEM) 14*32kB (UM) 1*64kB (R) 1*128kB (R) 0*256kB 0*512kB 1*1024kB (R) 0*2048kB 0*4096kB = 35140kB
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: 8418 total pagecache pages
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: 1974 pages in swap cache
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: Swap cache stats: add 525031, delete 523057, find 80069008/80247147
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: Free swap = 2059000kB
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: Total swap = 2097148kB
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: 123904 pages RAM
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: 0 pages HighMem/MovableOnly
Aug 20 08:04:49 RT-AC86U-1BD0 kernel: 13799 pages reserved
 
Sounds memory related (page allocation failure). Since you have a swap configured, make sure that swap is working properly.
 
Sounds memory related (page allocation failure). Since you have a swap configured, make sure that swap is working properly.
A reboot seems to have fixed it for now. I'll watch it to see if the error reappears.
 
The issue seems to pop up in the forum every week or so, it seems to affect users randomly ,i came across it months ago , to mitigate the issue i run a cron job every 6 hours in order to restart the server from (services-start) never had any issues since then.
Code:
cru a restart-webgui-at-6-hour "0 */6 * * * service restart_httpd"

I put this in and then rebooted router. And it didn't stick. Is there a way to add this so it survives a reboot?
 
on "/jffs/scripts/services-start" file.
 
After 3 weeks of rock-solid performance of my Asus router running 384.18 I now can report back: @faria your hint above (with the cron job for a nightly restart of http daemon) was AWESOME !

Thanks a lot!

No issues since I implemented that.
 
3 weeks? Seems less than two, but anyway... :)
 
I put the added script, but still experiencing GUI issue. Occasionally, when I open GUI, the GUI opens, but the Menu items on left column don't show up. If I close the web tab, then reopen the GUI, I am already logged in and the menu items are on the left. Perhaps I need to run the script more frequently?
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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