April 28, 20197 yr Hi, Im running Unraid on a home NAS/media server, and I keep having to deal with FixProblems pointing out that my /var/log is "getting full". At about 29 days uptime its 85% full. Restarting will obviously purge the logs, but a month later and it will be filling up again. I would like to leave it longer than a month before having to restart the system, if possible. I have attached my diagnostic zip. Hopefully there is something in there because i dont know what im looking at. Thanks nas-diagnostics-20190428-1845.zip
April 29, 20197 yr You might want to run the following command from a console session so we can see what is filling up /var/log as the syslog did not appear to be that large: du -sh /var/log/*
May 12, 20197 yr Author On 4/29/2019 at 9:48 PM, itimpi said: You might want to run the following command from a console session so we can see what is filling up /var/log as the syslog did not appear to be that large: du -sh /var/log/* Linux 4.18.15-unRAID. root@NAS:~# du -sh /var/log/* 128M /var/log/atop 0 /var/log/btmp 0 /var/log/cron 0 /var/log/debug 48K /var/log/dmesg 16K /var/log/docker.log 0 /var/log/faillog 0 /var/log/lastlog 0 /var/log/libvirt 0 /var/log/maillog 0 /var/log/messages 0 /var/log/nfsd 0 /var/log/nginx 0 /var/log/packages 36K /var/log/pkgtools 0 /var/log/plugins 0 /var/log/removed_packages 0 /var/log/removed_scripts 0 /var/log/samba 0 /var/log/scripts 0 /var/log/secure 0 /var/log/setup 0 /var/log/spooler 0 /var/log/swtpm 188K /var/log/syslog 8.0K /var/log/wtmp root@NAS:~#
May 12, 20197 yr Author Im at 42 days now and the log is 100% full Running the trim script above seems to have changed nothing, and I still have the 100% full error and the above command gives the same list with the same file size.
May 12, 20197 yr Well looking at the list provided 2 posts back I would say your problem is whatever is writing to the /var/log/atop directory.
May 12, 20197 yr 9 hours ago, Kelvinator said: 128M /var/log/atop Go to Nerd Tools and make sure atop isn't installed. Let us know what you find there. Rebooting would clear that out, or you could delete that from the command line.
May 26, 20197 yr Author On 5/13/2019 at 3:25 AM, trurl said: Go to Nerd Tools and make sure atop isn't installed. Let us know what you find there. Rebooting would clear that out, or you could delete that from the command line. Thank you. Turning off atop sorted the issue of the logs filling up.
May 26, 20197 yr It might be worth reading the man page for atop since you installed it without really knowing what it does. On 4/29/2019 at 8:02 AM, Kelvinator said: Yes, I have it installed but dont know what to do with it The same goes for a number of the Nerd Tools - don't install everything. You need to be selective and only enable packages that you really need.
Archived
This topic is now archived and is closed to further replies.