/var/log is getting full


Recommended Posts

Hi, on "2020-04-29", Fix Common Problems alert me about "/var/log is getting full". I downloaded all logs and did a restart of the server. Today "2020-05-10", Fix Common Problems alert me again about "/var/log is getting full"

 

Can anyone help me? I attached the logs of the both alerts.

 

The biggest file it's: /var/log/atop/atop_20200501

 

root@PCNAS:/var/log# du -hs * | sort -h
0       btmp
0       cron
0       debug
0       docker.log
0       faillog
0       messages
0       nfsd
0       packages
0       plugins
0       removed_packages
0       removed_scripts
0       sa
0       scripts
0       secure
0       setup
0       spooler
0       swtpm
4.0K    diskinfo.log
4.0K    lastlog
8.0K    libvirt
8.0K    maillog
8.0K    preclear.disk.log
12K     nginx
12K     samba
12K     wtmp
20K     pkgtools
56K     dmesg
232K    syslog
68M     atop
root@PCNAS:/var/log# ls -lh atop/
total 68M
-rw-rw-rw- 1 root utmp 68M May 10 23:30 atop_20200501
-rw-r--r-- 1 root root   0 May  1 04:40 daily.log
-rw------- 1 root root   0 May 10 04:40 dummy_after
-rw------- 1 root root   0 May  9 04:40 dummy_after.1
-rw------- 1 root root   0 May 10 04:40 dummy_before
-rw------- 1 root root   0 May  9 04:40 dummy_before.1
root@PCNAS:/var/log#

 

I just uninstalled "atop" from "Nerd Package", maybe this can solve the problem. After that I restarted the server.

 

Thanks

 

pcnas-diagnostics-20200429-2114.zip pcnas-diagnostics-20200510-2317.zip

Edited by DjBill
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.