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.

/var/log is getting full (currently 79 % used)

Featured Replies

Not sure when this started happening but my /var/log is filling up quite quickly and the only way to fix is to restart the server. I did extend the log size from the default 128 MB to 512 MB but it still keeps filling up. 

unraid-server-diagnostics-20230411-1308.zip

Solved by JorgeB

  • Community Expert

Post the output of:

ls -lh /var/log

 

  • Author
1 minute ago, JorgeB said:

Post the output of:

ls -lh /var/log

 

total 99M
-rw-r--r-- 1 root   root   85 Apr  9 04:40 apcupsd.events
-rw-r--r-- 1 root   root  193 Apr  9 04:40 apcupsd.events.1
-rw-r--r-- 1 root   root 1.1K Apr  2 04:40 apcupsd.events.2
-rw------- 1 root   root    0 Nov 20 16:25 btmp
-rw-r--r-- 1 root   root    0 Apr 28  2021 cron
-rw-r--r-- 1 root   root    0 Apr 28  2021 debug
-rw-r--r-- 1 root   root  81K Mar 26 13:42 dmesg
-rw-r--r-- 1 root   root  79K Apr 11 05:01 docker.log
-rw-r--r-- 1 root   root    0 Feb 13  2021 faillog
-rw-r--r-- 1 root   root 3.1M Apr  3 06:00 file.activity.log
-rw-r--r-- 1 root   root    0 Apr  7  2000 lastlog
drwxr-xr-x 4 root   root  180 Apr  9 04:40 libvirt/
-rw-r--r-- 1 root   root    0 Apr 28  2021 maillog
-rw-r--r-- 1 root   root    0 Mar 26 13:42 mcelog
-rw-r--r-- 1 root   root    0 Apr 28  2021 messages
drwxr-xr-x 2 root   root   40 Aug 10  2022 nfsd/
drwxr-x--- 2 nobody root   60 Mar 26 13:43 nginx/
lrwxrwxrwx 1 root   root   24 Nov 20 16:24 packages -> ../lib/pkgtools/packages/
drwxr-xr-x 5 root   root  100 Mar 26 13:42 pkgtools/
drwxr-xr-x 2 root   root  760 Apr 11 13:05 plugins/
drwxr-xr-x 2 root   root   60 Mar 26 13:42 preclear/
drwxr-xr-x 2 root   root   40 Apr 10 12:21 pwfail/
lrwxrwxrwx 1 root   root   25 Nov 20 16:26 removed_packages -> pkgtools/removed_packages/
lrwxrwxrwx 1 root   root   24 Nov 20 16:26 removed_scripts -> pkgtools/removed_scripts/
lrwxrwxrwx 1 root   root   34 Mar 26 13:42 removed_uninstall_scripts -> pkgtools/removed_uninstall_scripts/
drwxr-xr-x 3 root   root  340 Mar 26 13:42 samba/
lrwxrwxrwx 1 root   root   23 Nov 20 16:24 scripts -> ../lib/pkgtools/scripts/
-rw-r--r-- 1 root   root    0 Apr 28  2021 secure
lrwxrwxrwx 1 root   root   21 Nov 20 16:24 setup -> ../lib/pkgtools/setup/
-rw-r--r-- 1 root   root  95M Apr 11 13:30 snmpd.log
-rw-r--r-- 1 root   root    0 Apr 28  2021 spooler
drwxr-xr-x 3 root   root   60 Sep 27  2022 swtpm/
-rw-r--r-- 1 root   root 538K Apr 11 13:07 syslog
drwxr-xr-x 2 root   root   60 Mar 26 13:43 unraid-api/
-rw-r--r-- 1 root   root    0 Mar 26 13:42 vfio-pci
-rw-rw-r-- 1 root   utmp 6.8K Mar 26 13:42 wtmp

 

  • Community Expert
8 minutes ago, XCrownedClownsX said:
-rw-r--r-- 1 root   root  95M Apr 11 13:30 snmpd.log

This is the problem.

  • Community Expert
  • Solution

btw, I assume that log file is created by this plugin:

 

Mar 26 13:42:42 unraid-server root: | Installing new package /boot/config/plugins/snmp/net-snmp-5.9.3-x86_64-1.txz
Mar 26 13:42:42 unraid-server root: +==============================================================================
Mar 26 13:42:42 unraid-server root:
Mar 26 13:42:42 unraid-server root: Verifying package net-snmp-5.9.3-x86_64-1.txz.
Mar 26 13:42:42 unraid-server root: Installing package net-snmp-5.9.3-x86_64-1.txz:
Mar 26 13:42:42 unraid-server root: PACKAGE DESCRIPTION:
Mar 26 13:42:42 unraid-server root: # net-snmp (Simple Network Management Protocol tools)
Mar 26 13:42:42 unraid-server root: #
Mar 26 13:42:42 unraid-server root: # Various tools relating to the Simple Network Management Protocol:

 

  • Author

How do I go about fixing this?

  • Community Expert

Uninstall the plugin or ask in the plugin support thread.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.