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.

Syslog has stopped updating

Featured Replies

I had mentioned an issue with mover that turned out to be a non-issue, however while investigating I've noticed that my syslog seems to have stopped updating:

root@CydStorage:/var/log# tail syslog

Mar 11 12:27:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:28:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:29:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:30:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:31:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:32:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:33:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:34:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 12:35:01 CydStorage crond[1723]: exit status 2 from user root /usr/lib/sa/sa1 1 1 &> /dev/null

Mar 11 1

root@CydStorage:/var/log#

 

I had noticed this when looking via the GUI at syslog so confirmed via command line.

 

I am not sure what's happened here, or if anyone else has experienced this. Is there a way to get it started again, or do I need to reboot?

 

Here are the permissions if it matters:

 

root@CydStorage:/var/log# ls -al syslog*

-rw-r--r-- 1 root root  204800 Mar 17 19:40 syslog

-rw-r--r-- 1 root root 1128164 Mar  9 04:40 syslog.1

 

 

 

 

What does the following show:

df -h /var/log

 

 

  • Author

root@CydStorage:/var/log# df -h /var/log

Filesystem      Size  Used Avail Use% Mounted on

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

root@CydStorage:/var/log#

 

 

That would explain it. :)

 

Any suggestions on how I correct this? Can I increase the size, or are the common files that can be deleted to recover space?

 

 

root@CydStorage:/var/log# df -h /var/log

Filesystem      Size  Used Avail Use% Mounted on

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

root@CydStorage:/var/log#

 

 

That would explain it. :)

 

Any suggestions on how I correct this? Can I increase the size, or are the common files that can be deleted to recover space?

You running any vm's? If so try deleting the libvirt log. I think they left debugging on and the log gets very large.

Try the following:

 

du -sm /var/log/*

 

 

I suspect the largest space will be in /var/log/sa or the libvirtd area.

 

Even if you clean those files up, you likely have to restart logging service to get syslog working again. I'm not exactly certain on how to do that as I haven't toyed around with it yet.

 

  • Author

When I deleted the syslog.1 events started filling into syslog again without me doing anything which was nice.

 

I don't have VMs running, and don't see a log under libvertd. It looks like most of the space is in /sa. Are these files safe to delete? What are they used for?

 

When I deleted the syslog.1 events started filling into syslog again without me doing anything which was nice.

 

I don't have VMs running, and don't see a log under libvertd. It looks like most of the space is in /sa. Are these files safe to delete? What are they used for?

 

They seem to rotate on a daily basis. I think theyre used for system activity display in the dynamix stats screens like old cpu usage or system temps or such. I deleted my old ones cause it was critical on space and have not noticed anything negative yet. I havent tracked back which dynamix plugin uses these yet.

  • Author

When I deleted the syslog.1 events started filling into syslog again without me doing anything which was nice.

 

I don't have VMs running, and don't see a log under libvertd. It looks like most of the space is in /sa. Are these files safe to delete? What are they used for?

 

They seem to rotate on a daily basis. I think theyre used for system activity display in the dynamix stats screens like old cpu usage or system temps or such. I deleted my old ones cause it was critical on space and have not noticed anything negative yet. I havent tracked back which dynamix plugin uses these yet.

 

Hopefully someone can chime in on this to explain the exact use of these. They seem to take a good chunk of the limited space.

 

Also, is there a reason this partition is so small? Could it not be doubled to prevent this (or decrease likelihood). Given the importance of the syslog if things are going wonky you would think it's critical to ensure there is enough space for this to remain writeable.

 

you can resize the /var/log tmpfs on the fly with the following procedure on Beta14B and above.

There's an issue with earlier betas in that the /var/log tmpfs is mounted to early and does not show up in the /etc/mtab.

 

root@unRAIDb:/etc/rc.d# df -vH /var/log

Filesystem      Size  Used Avail Use% Mounted on

tmpfs          135M  2.3M  132M  2% /var/log

 

root@unRAIDb:/etc/rc.d# mount -o remount,size=256m /var/log

 

root@unRAIDb:/etc/rc.d# df -vH /var/log                   

Filesystem      Size  Used Avail Use% Mounted on

tmpfs          269M  2.3M  267M  1% /var/log

 

However I think what we really need are some monitors/notifications on disk space for / and /var/log since they are crucial to operation.

  • Author

you can resize the /var/log tmpfs on the fly with the following procedure on Beta14B and above.

There's an issue with earlier betas in that the /var/log tmpfs is mounted to early and does not show up in the /etc/mtab.

 

root@unRAIDb:/etc/rc.d# df -vH /var/log

Filesystem      Size  Used Avail Use% Mounted on

tmpfs          135M  2.3M  132M  2% /var/log

 

root@unRAIDb:/etc/rc.d# mount -o remount,size=256m /var/log

 

root@unRAIDb:/etc/rc.d# df -vH /var/log                   

Filesystem      Size  Used Avail Use% Mounted on

tmpfs          269M  2.3M  267M  1% /var/log

 

However I think what we really need are some monitors/notifications on disk space for / and /var/log since they are crucial to operation.

 

Thanks Weebo.

 

How would I set this to automatically happen upon reboot?

add

mount -o remount,size=256m /var/log

to the /boot/config/go script.

 

 

 

  • Author

add

mount -o remount,size=256m /var/log

to the /boot/config/go script.

 

Thanks

add

mount -o remount,size=256m /var/log

to the /boot/config/go script.

Thanks. Maybe the size of tmpfs should be reevaluated. Mine has peaked at 144k.

You can change size=50% and it will use 'up to' 50% of ram.

 

If size is not entered, 50% is the default. LT choose to use 128MB.

Perhaps this should be brought up to LT or a configurable setting in the webGui to adjust per installation.

Thanks for this tip, much better than having to reboot when tmpfs fills up.

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.