System event log: "unable to save settings" also RAMDISK full

(I have searched, could not find anything, so posting new topic)

Model: TS-559 Pro II
Firmware: 4.2.6 2024/06/18 (Latest)
5 Disks: 2 in RAID 1, 2 in RAID 1, 1 standard disk

Getting the following System log event every 2-3 seconds. Have also noticed ramdisk is full (output below). Restarting only offers short-term relief (less than 10 minutes)

QNAP web interface - System Logs

Type	Date	Time	Users	Source IP	Computer name	Content	
Error	2026/10/04	18:07:48	System	127.0.0.1	localhost	The system is unable to save your settings (file = [/etc/config/uLinux.conf], section = [DHCP Server], field = [End Range], value = [0.0.0.0]) due to insufficient ramdisk space. If restarting the server does not solve the problem please contact support for further assistance.
[/] # df

Filesystem                Size      Used Available Use% Mounted on
/dev/ramdisk            151.1M    151.1M         0 100% /
tmpfs                    64.0M    468.0k     63.5M   1% /tmp
tmpfs                   494.4M     24.0k    494.4M   0% /dev/shm
tmpfs                    16.0M         0     16.0M   0% /share
/dev/sda4               371.0M    283.8M     87.1M  77% /mnt/ext
/dev/md9                515.5M    145.4M    370.2M  28% /mnt/HDA_ROOT
/dev/sdc3                 1.8T    333.8G      1.5T  18% /share/HDC_DATA
/dev/md0                  3.6T    600.6G      3.0T  16% /share/MD0_DATA
/dev/md1                  5.4T   1020.2G      4.4T  18% /share/MD1_DATA
tmpfs                     1.0M         0      1.0M   0% /mnt/rf/nd

Hi and welcome to the forum. :slight_smile:

Have you rebooted the NAS yet?

If-not, please do-so now. You may need to force it.


Edit: ah, I see you have done this.

Something is filling that tmpfs. This is usually because:

  1. Something is writing to the admin user’s $HOME, which in QTS is /root

  2. Something is writing to the filesystem root /. This would be OK on a real Linux distro, but can’t be done in QTS.

Post file-listings from each of these locations if you’re unsure what should be there.

Thanks for the prompt reply. I’m really only setting up as shared folders to map from my Windows laptop.

[/] # ls -al /root
drwxr-xr-x    2 admin    administ      1024 Oct  4 16:59 ./
drwxr-xr-x   20 admin    administ      1024 Oct  4 16:56 ../
lrwxrwxrwx    1 admin    administ         6 Jun 18  2024 .BitTornado -> ../tmp/
-rw-r--r--    1 admin    administ         5 Jan 11  2008 .bash_history
-rw-r--r--    1 admin    administ       175 Oct  9  2004 .bash_logout
-rw-r--r--    1 admin    administ       161 Oct  9  2004 .bash_profile
-rw-r--r--    1 admin    administ      1687 Jul 18  2007 .bashrc
-rw-r--r--    1 admin    administ        36 Oct  4 16:54 .buzzer_warnning.conf
-rw-r--r--    1 admin    administ        27 Jan 29  2007 .profile
lrwxrwxrwx    1 admin    administ        15 Oct  4 16:54 .ssh -> /etc/config/ssh/
-rw-r--r--    1 admin    administ       923 Oct  5  2026 .vimrc
-rw-r--r--    1 admin    administ  17080320 Oct  4 17:00 backup.txt
-rw-r--r--    1 admin    administ      6526 Jul 11  2007 index_default.html
[/] # ls -al /
drwxr-xr-x   20 admin    administ      1024 Oct  4 16:56 ./
drwxr-xr-x   20 admin    administ      1024 Oct  4 16:56 ../
-rw-rw-rw-    1 admin    administ        26 Oct  4 16:55 SS.log
drwxr-xr-x    2 admin    administ      2048 Oct  5  2026 bin/
drwxr-xr-x    8 admin    administ     22528 Oct  4 16:54 dev/
drwxr-xr-x   25 admin    administ      2048 Oct  4 18:08 etc/
drwxr-xr-x    4 admin    administ      1024 Jun 18  2024 home/
drwxr-xr-x    4 admin    administ      3072 Oct  4 16:52 lib/
drwxr-xr-x    2 admin    administ      1024 May  4  2015 lib64/
lrwxrwxrwx    1 admin    administ        11 Jun 18  2024 linuxrc -> bin/busybox\*
drwx------    2 admin    administ     12288 Jun 18  2024 lost+found/
drwxr-xr-x   11 admin    administ      1024 Oct  4 16:54 mnt/
drwxr-sr-x    2 admin    administ      1024 Jun 18  2024 opt/
lrwxrwxrwx    1 admin    administ        19 Jun 18  2024 php.ini -> /etc/config/php.ini
dr-xr-xr-x  237 admin    administ         0 Oct  5  2026 proc/
drwxr-xr-x    2 admin    administ      1024 Oct  4 16:59 root/
drwxr-xr-x    2 admin    administ      1024 Oct  4 16:54 rpc/
drwxr-xr-x    2 admin    administ      6144 Oct  4 16:56 sbin/
drwxrwxrwt   32 admin    administ       880 Oct  4 16:54 share/
dr-xr-xr-x   12 admin    administ         0 Oct  5  2026 sys/
drwxrwxrwx   18 admin    administ      2840 Oct  4 18:38 tmp/
drwxr-xr-x    9 admin    administ      1024 Oct  4 16:55 usr/
drwxrwxrwx   11 admin    administ      1024 Oct  4 18:33 var/
[/] #

Nice work! :nerd_face:

OK, in /root you have a ~ 17MB file called backup.txt

It shouldn’t be there. You’ll need to move it somewhere else or delete it.

Thanks. That shouldn’t have been there - I think a environment variable didn’t resolve..

Ramdisk is down to 89% - still seems too close to 100% for comfort?

Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 151.1M 134.7M 16.4M 89% /

/root is the default $HOME for the admin user, which is also the only user that can SSH in on QTS 4.2.6. :slight_smile:

89% is fine for that tmpfs - on a correctly working QNAP NAS. :+1:

Brilliant. Predictably, the System Events have also stopped.

Thank so much. Much appreciated.