Jump to content

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


Go to solution Solved by JorgeB,

Recommended Posts

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

 

Link to comment
  • 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:

 

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...