XCrownedClownsX Posted April 11, 2023 Share Posted April 11, 2023 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 Quote Link to comment
JorgeB Posted April 11, 2023 Share Posted April 11, 2023 Post the output of: ls -lh /var/log Quote Link to comment
XCrownedClownsX Posted April 11, 2023 Author Share Posted April 11, 2023 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 Quote Link to comment
JorgeB Posted April 11, 2023 Share Posted April 11, 2023 8 minutes ago, XCrownedClownsX said: -rw-r--r-- 1 root root 95M Apr 11 13:30 snmpd.log This is the problem. Quote Link to comment
Solution JorgeB Posted April 11, 2023 Solution Share Posted April 11, 2023 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: Quote Link to comment
XCrownedClownsX Posted April 11, 2023 Author Share Posted April 11, 2023 How do I go about fixing this? Quote Link to comment
JorgeB Posted April 11, 2023 Share Posted April 11, 2023 Uninstall the plugin or ask in the plugin support thread. Quote Link to comment
Recommended Posts
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.