/var/log is getting full warning from Fix Common Problems


Go to solution Solved by JorgeB,

Recommended Posts

Hi,

 

Did a little bit of digging myself but nothing stood out to me as out of the norm that would be filling up my log. Everything is working as it should and I have not had this issue in the past several years running pretty much this same setup. Nothing has changed since the last restart other than updating to 6.12.6 23 days ago, which is my current uptime, have had uptimes of 4 months or more before and never had this come up.

 

Can anyone spread some insight in to what I should be looking for? Diagnostics attached.

jarvis-diagnostics-20240113-2035.zip

Link to comment

I'm getting the same error on both of my Unraid servers.  Looks like the unraid api is causing the issue.  It's the same for both servers.  Showing /var/log/unraid-api as taking up all the space.

root@Cairon:/var/log/unraid-api# du -h /var/log
0       /var/log/pwfail
113M    /var/log/unraid-api
0       /var/log/preclear
0       /var/log/swtpm/libvirt/qemu
0       /var/log/swtpm/libvirt
0       /var/log/swtpm
0       /var/log/samba/cores/rpcd_winreg
0       /var/log/samba/cores/rpcd_classic
0       /var/log/samba/cores/rpcd_lsad
0       /var/log/samba/cores/samba-dcerpcd
0       /var/log/samba/cores/winbindd
0       /var/log/samba/cores/nmbd
0       /var/log/samba/cores/smbd
0       /var/log/samba/cores
628K    /var/log/samba
0       /var/log/plugins
0       /var/log/pkgtools/removed_uninstall_scripts
4.0K    /var/log/pkgtools/removed_scripts
8.0K    /var/log/pkgtools/removed_packages
12K     /var/log/pkgtools
4.0K    /var/log/nginx
0       /var/log/nfsd
16K     /var/log/libvirt/qemu
0       /var/log/libvirt/ch
16K     /var/log/libvirt
114M    /var/log

In looking in the unraid-api directory, here's what I'm seeing:

root@Cairon:/var/log/unraid-api# ls -l --block-size=M
total 113M
-rw------- 1 root root   0M Jan 10 05:12 stderr.log
-rw------- 1 root root   1M Jan 13 13:34 stdout.log
-rw------- 1 root root 113M Jan 13 13:34 stdout.log.1

The "Array was updated, publishing event" section is constantly repeating:

^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>
^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>
^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mLoading state file for shares^[[39m ^[[90m{"logger":"emhttp"}^[[39m
^[[34mDEBUG^[[39m: ^[[36mArray was updated, publishing event^[[39m ^[[90m{"event":{"state":"STARTED","capacity":{"kilobytes":{"free":"19367601580","used":"13524285320","total":"32891886899"},"disks":{"free":"21","used":"9","total":"30"}},"boot":{"id":"Flash_Drive","device":"sda","comment":"Unraid OS boot device","exportable":true,"fsFree":30971576,>^[[34mDEBUG^[[39m: ^[[36mLoading state file for disks^[[39m ^[[90m{"logger":"emhttp"}^[[39m

Not sure what the issue is, will update the plugins and reboot.

Link to comment
6 hours ago, JorgeB said:

Post the output of

 

du -h /var/log

 

 

Here is what I had, looks like mine was likely the same issue as above seeing as it is the API filled up as well.

 

0       /var/log/pwfail
72M     /var/log/unraid-api
0       /var/log/preclear
0       /var/log/swtpm/libvirt/qemu
0       /var/log/swtpm/libvirt
0       /var/log/swtpm
0       /var/log/samba/cores/rpcd_winreg
0       /var/log/samba/cores/rpcd_classic
0       /var/log/samba/cores/rpcd_lsad
0       /var/log/samba/cores/samba-dcerpcd
0       /var/log/samba/cores/winbindd
0       /var/log/samba/cores/smbd
0       /var/log/samba/cores
3.6M    /var/log/samba
0       /var/log/plugins
0       /var/log/pkgtools/removed_uninstall_scripts
4.0K    /var/log/pkgtools/removed_scripts
24K     /var/log/pkgtools/removed_packages
28K     /var/log/pkgtools
0       /var/log/nginx
0       /var/log/nfsd
0       /var/log/libvirt/qemu
0       /var/log/libvirt/ch
0       /var/log/libvirt
77M     /var/log

 

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.