RUTX11 runs out of memory

Hi there,
my RUTX11 runs out of memory for about 2-3 times a month. Sometimes a shell reboot works but mostly not, then I have to pull the power cord. I have a screenshot from “top” but there is nothing really helpful to see. If this happens again, what should I do to find out what causes the trouble?

I have internet connection via T-Mobile 4G and a larger number of Wifi Clients, because I am using Shelly hardware for smarthome



I’m unsure which memory you’re running out of – RAM or flash. Considering you mentioned having numerous Wi-Fi-connected smart home devices, could you provide details about their configuration in your RUTX11? Specifically, do they store statistics locally or utilize other services for management?

Regardless, in future instances of the issue, please ensure to obtain a troubleshoot file. This will enable us to investigate and address the problem effectively.

Best regards,


You can try:

echo 1 > /proc/sys/vm/panic_on_oom

the device will reboot upon any oom occurrence.

Is this helpful?
How can I generate a troubleshoot file?

Edit: the wiki link at the top menu does not work.
It should be

You can generate a TS file from the GUI, go to System->Maintenance->Troubleshoot.

Instead of top, you can use htop to monitor the memory state, select Sort By M_RESIDENT,
You can install it with the following commands:

opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install htop

The memory footprint of processes may increase over time but something else may be at play here (driver / module leak …)

Thank you, I just installed htop and figured it out, this will help the next time.
If the problem appears, the GUI is not reachable anymore.
Is there a shell command available instead?

Just in case you don’t have it:

opkg update
opkg install 7zip


the result is in /tmp.

Last line after opkg update:

Collected errors:
 * opkg_download: Failed to download, wget returned 8.


root@RUTX11:~# opkg install 7zip
Unknown package '7zip'.
Collected errors:
 * opkg_install_cmd: Cannot install package 7zip.

What am I doing wrong? works but there is not enough space on the /tmp device.

root@RUTX11:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                15.8M     15.8M         0 100% /rom
tmpfs                   122.0M     79.0M     43.1M  65% /tmp
/dev/ubi0_2              90.2M      1.1M     84.4M   1% /overlay
overlayfs:/overlay       90.2M      1.1M     84.4M   1% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock15         576.0K    328.0K    248.0K  57% /log

The first command is opkg update, not opkg -e … update.

Correct, I did not specify a config file, so I omitted -e.

Do you have enough space in /tmp now ?

I’m sorry, I’ve just realised that I must have overslept some firmware updates. I’ll catch up on that now and get back to you.

This topic was automatically closed after 15 days. New replies are no longer allowed.