Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot write data to system activity file: No space left on device

Featured Replies

Hello everyone.  Need some assistance here.  I have never seen this error before and I am having a hard time trying to find out how to solve it.  I keep getting email alerts.

 

Subject: cron for user root /usr/lib/sa/sa1 2 1 1> /dev/null

 

Body: Cannot write data to system activity file: No space left on device

 

 

All of my drives have some space left but obviously something is going on.  The mover script is not running and I cannot figure out what is trying to be saved where so that I can try and resolve this issue.  I have received 50 emails so far and continue to get them every minute.

 

Thanks in advance.

syslog-2013-09-06.zip

Disks.JPG.c7bbd28ccc94af8f4f44b552aa4e8ca0.JPG

  • Author

So I restarted the machine last night and went to bed.  I did not get anymore email alerts so I assumed that fixed the issue.  Still would like to know what this means if anyone has an idea.  :)

  • 2 weeks later...

JUst updated to the latest and greatest and started getting these error messages myself.  Any idea where to look?

JUst updated to the latest and greatest and started getting these error messages myself.  Any idea where to look?

sounds like you've filled the RAM file system.

Enter "free -lm" when it happens and post the output.

Enter "free -lm" when it happens and post the output.

                    total      used      free    shared    buffers    cached

Mem:        16217      15477        740          0        281      14353

Low:              752        613        138

High:        15465      14863        601

-/+ buffers/cache:        842      15375

Swap:        3071          1      3070

 

thnks

du / -shx

and

df -haT

?

du / -shx  1.1G /

 

 

Filesystem    Type    Size  Used Avail Use% Mounted on

proc          proc      0    0    0  -  /proc

sysfs        sysfs      0    0    0  -  /sys

tmpfs        tmpfs    128M  128M    0 100% /var/log

/dev/sda1    vfat    7.3G  842M  6.5G  12% /boot

/dev/md1  reiserfs    1.9T  1.9T  12G 100% /mnt/disk1

/dev/md2  reiserfs    1.4T  1.2T  229G  84% /mnt/disk2

/dev/md3  reiserfs    1.4T  1.2T  228G  84% /mnt/disk3

/dev/md4  reiserfs    1.4T  1.1T  284G  80% /mnt/disk4

/dev/md5  reiserfs    699G  257G  443G  37% /mnt/disk5

/dev/md6  reiserfs    699G  275G  424G  40% /mnt/disk6

/dev/md7  reiserfs    699G  346G  354G  50% /mnt/disk7

/dev/sdb1 reiserfs    932G  225G  707G  25% /mnt/cache

shfs    fuse.shfs    8.0T  6.1T  2.0T  76% /mnt/user0

shfs    fuse.shfs    8.9T  6.3T  2.7T  71% /mnt/user

 

Why is /var/log full?

 

Enter "ls -la /var/log"

Why is /var/log full?

 

Enter "ls -la /var/log"

[/quotedrwxrwxrwx 11 root root    300 2013-09-16 05:51 ./

drwxr-xr-x 15 root root      0 2011-06-02 04:51 ../

-rw-rw-rw-  1 root root      0 2013-09-16 05:45 cron

-rw-rw-rw-  1 root root  43332 2013-09-16 05:45 dmesg

lrwxrwxrwx  1 root root    19 2013-09-16 05:51 images -> /boot/unmenu/images/

drwxrwxrwx  2 root root    80 2013-09-18 04:40 lighttpd/

drwxr-xr-x  2 root root  1360 2013-09-16 05:51 packages/

drwxr-xr-x  2 root root    340 2013-09-16 05:51 plugins/

drwxr-xr-x  2 root root    100 2013-09-16 05:51 removed_packages/

drwxr-xr-x  2 root root    80 2013-09-16 05:51 removed_scripts/

drwxrwxrwx  2 root root    100 2013-09-18 00:00 sa/

drwxrwxrwx  3 root root    100 2013-09-16 05:51 samba/

drwxr-xr-x  2 root root    820 2013-09-16 05:51 scripts/

drwxrwxrwx  3 root root    60 2013-08-28 13:46 setup/

-rw-r--r--  1 root root 585728 2013-09-18 04:47 syslog

Enter "du -h /var/log"

 

Sorry, make it "du -ha /var/log"

Enter "du -h /var/log"

 

Sorry, make it "du -ha /var/log"

PHP log is full i have resolved the php issue and the error has gone away.  Thanks you for the help..

  • 3 months later...

A bit of a late follow on - but as of about 2:30 this morning one of my 2 servers has been mailing me every minute with the

cron for user root /usr/lib/s?a/sa1 2 1 1> /dev/null "Cannot write data to system activity file: No space left on device" mail.

There was nothing happening on either server at this time, its just kind of started, so i guess its:

 

What does this mean and why might it just start up?

Do i just look into the syslog to see which server is firing off the mails and so which one has the problem as that info is not in the header or message

 

And most improtant what do i do to fix the problem? it seems from what i have read a restart will flush everything but thats not a fix is it, its just a work around, you should be able to just leave this stuff running

 

Would check the syslog and post etc but i am at work for the next few hours and i wanted to get the issue on the table

 

Many thanks

 

Update: Restarted the servers as i have now upgraded to 5.0.4 and the cron problem has gone away - but I would still like to understand a little more about this for next time

How do I stop these Cron emails? I do not need to know that this cron job is happening every 2 hours. My mailbox is full of this.

 

 

 

 

root@Tower:~# free -lm

            total      used      free    shared    buffers    cached

Mem:          7799      7558        240          0        215      6780

Low:          814        588        226

High:        6985      6970        14

-/+ buffers/cache:        563      7236

Swap:            0          0          0

 

How do I stop these Cron emails? I do not need to know that this cron job is happening every 2 hours. My mailbox is full of this.

 

 

 

 

root@Tower:~# free -lm

            total      used      free    shared    buffers    cached

Mem:          7799      7558        240          0        215      6780

Low:          814        588        226

High:        6985      6970        14

-/+ buffers/cache:        563      7236

Swap:            0          0          0

Do you have (or have you ever had) SimpleFeatures, unMENU, or Dynamix installed?

Email notifications are NOT standard. You have to have installed a plugin, and then setup the plugin with your email addy to cause these to be generated.

How do I stop these Cron emails? I do not need to know that this cron job is happening every 2 hours. My mailbox is full of this.

 

 

 

 

root@Tower:~# free -lm

            total      used      free    shared    buffers    cached

Mem:          7799      7558        240          0        215      6780

Low:          814        588        226

High:        6985      6970        14

-/+ buffers/cache:        563      7236

Swap:            0          0          0

Do you have (or have you ever had) SimpleFeatures, unMENU, or Dynamix installed?

Email notifications are NOT standard. You have to have installed a plugin, and then setup the plugin with your email addy to cause these to be generated.

 

I have unraid status emails setup. There was no option for any cron emails. They also started after setting up the port forward script for the openvpn plugin. I have simple features and unmenu

 

 

 

**Fixed. Followed this guide: http://www.cyberciti.biz/faq/disable-the-mail-alert-by-crontab-command/

The is the same message that started the thread and is probably caused by the same issue.

DazedAndConfused reports:

**Fixed. Followed this guide:

http://www.cyberciti.biz/faq/disable-the-mail-alert-by-crontab-command/

 

Would appear to be a couple of things happening:

The RAM is filling up, this is easily fixed with a reboot.

Crontab is setup with a "MAILTO:address".

 

Folks forget this latter setting is out there. Once set (by SF for example), the MAILTO is likely to be persistent even if the GUI interface changes the cron schedule.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.