jtp10181
Senior Member
Update 3/23/2023 - FW 388.2 B1
So far it looks like 388.2 B1 has fixed the issue with networkmap. I have turned off my cron job and its going on 2 days now, the mem use from networkmap is stable.
Highlights of tips from this tread:
- Script to restart networkmap and sysstate every night. I found sysstate is not usually running and seems to be much less of an issue so I am only killing networkmap now.
https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-814204
- Cron job you can run to log networkmap memory use once an hour, and the post right after for how to log /tmp size every hour:
https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-818366
- Script to clean up the /tmp/.diag files and log the results (only needed if you find your /tmp is filling up, not everyone is affected by this)
Full Instructions: https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-820347
Updated to include code to also shrink the files when done: https://www.snbforums.com/threads/o...ce-left-on-device-solutions.82406/post-823395
Further customized version and info: https://www.snbforums.com/threads/o...ce-left-on-device-solutions.82406/post-823400
- How to monitor RAM/CPU if you have an local server that can host a database:
https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-820843
ORIGINAL POST BELOW:
RT-AX68U
So I noticed my router kept using swap, which I had never seen it use before. So I removed the swap file.
Here is my other post: https://www.snbforums.com/threads/388-1-sysstate-is-chewing-up-memory.82328/
Now I am getting out of memory errors after running for a few days. Had to reboot and then it was back to normal for now.
Any issues in downgrading back to the previous firmware?
Anything else I should look at?
I am not running much for scripts. Diversion is just loaded for update checks and some settings, it is turned off for ad blocking
So far it looks like 388.2 B1 has fixed the issue with networkmap. I have turned off my cron job and its going on 2 days now, the mem use from networkmap is stable.
Highlights of tips from this tread:
- Script to restart networkmap and sysstate every night. I found sysstate is not usually running and seems to be much less of an issue so I am only killing networkmap now.
https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-814204
- Cron job you can run to log networkmap memory use once an hour, and the post right after for how to log /tmp size every hour:
https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-818366
- Script to clean up the /tmp/.diag files and log the results (only needed if you find your /tmp is filling up, not everyone is affected by this)
Full Instructions: https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-820347
Updated to include code to also shrink the files when done: https://www.snbforums.com/threads/o...ce-left-on-device-solutions.82406/post-823395
Further customized version and info: https://www.snbforums.com/threads/o...ce-left-on-device-solutions.82406/post-823400
- How to monitor RAM/CPU if you have an local server that can host a database:
https://www.snbforums.com/threads/o...8-1-no-space-left-on-device.82406/post-820843
ORIGINAL POST BELOW:
RT-AX68U
So I noticed my router kept using swap, which I had never seen it use before. So I removed the swap file.
Here is my other post: https://www.snbforums.com/threads/388-1-sysstate-is-chewing-up-memory.82328/
Now I am getting out of memory errors after running for a few days. Had to reboot and then it was back to normal for now.
Any issues in downgrading back to the previous firmware?
Anything else I should look at?
Code:
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/sys_detect.lock: 28 No space left on device
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/wifi_detect.lock: 28 No space left on device
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/wifi_detect.lock: 28 No space left on device
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/net_detect.lock: 28 No space left on device
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/eth_detect.lock: 28 No space left on device
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/eth_detect.lock: 28 No space left on device
Dec 18 12:42:10 RT-AX68U-0DB8 conn_diag: Error locking /var/lock/port_status_usb_change.lock: 28 No space left on device
Dec 18 12:42:11 RT-AX68U-0DB8 dnsmasq-dhcp[9132]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
Dec 18 12:42:17 RT-AX68U-0DB8 hostapd: wl0.2: STA 2c:aa:8e:b9:75:1a IEEE 802.11: associated
Dec 18 12:42:17 RT-AX68U-0DB8 hostapd: wl0.2: STA 2c:aa:8e:b9:75:1a RADIUS: starting accounting session 2A3CD10ED856AD2D
Dec 18 12:42:17 RT-AX68U-0DB8 hostapd: wl0.2: STA 2c:aa:8e:b9:75:1a WPA: pairwise key handshake completed (RSN)
Dec 18 12:42:19 RT-AX68U-0DB8 dnsmasq-dhcp[9132]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 9 s)
Dec 18 12:42:20 RT-AX68U-0DB8 out of memory [1165]
Dec 18 12:42:20 RT-AX68U-0DB8 out of memory [1165]
Dec 18 12:42:28 RT-AX68U-0DB8 dnsmasq-dhcp[9132]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 8 s)
I am not running much for scripts. Diversion is just loaded for update checks and some settings, it is turned off for ad blocking
Last edited: