/var/log filling up after 6.11.5 -> 6.12.3 upgrade


Recommended Posts

Ever since I upgraded to the latest version of Unraid, I keep getting alerts from the "Fix Common Problems" plugin regarding my /var/log being almost full. Indeed it is, with the biggest files being syslog*. Looking at the syslog files more closely, 99% of their contents look something like this:

 

Aug  6 03:14:19 ul18s009 nginx: 2023/08/06 03:14:19 [error] 3265#3265: *6574127 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/notify?buffer_length=1 HTTP/1.1", host: "localhost"
Aug  6 03:14:19 ul18s009 nginx: 2023/08/06 03:14:19 [error] 3265#3265: MEMSTORE:00: can't create shared message for channel /notify
Aug  6 03:14:20 ul18s009 nginx: 2023/08/06 03:14:20 [crit] 3265#3265: ngx_slab_alloc() failed: no memory
Aug  6 03:14:20 ul18s009 nginx: 2023/08/06 03:14:20 [error] 3265#3265: shpool alloc failed
Aug  6 03:14:20 ul18s009 nginx: 2023/08/06 03:14:20 [error] 3265#3265: nchan: Out of shared memory while allocating message of size 9033. Increase nchan_max_reserved_memory.
Aug  6 03:14:20 ul18s009 nginx: 2023/08/06 03:14:20 [error] 3265#3265: *6574133 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"
Aug  6 03:14:20 ul18s009 nginx: 2023/08/06 03:14:20 [error] 3265#3265: MEMSTORE:00: can't create shared message for channel /devices
Aug  6 03:14:21 ul18s009 nginx: 2023/08/06 03:14:21 [crit] 3265#3265: ngx_slab_alloc() failed: no memory
Aug  6 03:14:21 ul18s009 nginx: 2023/08/06 03:14:21 [error] 3265#3265: shpool alloc failed
Aug  6 03:14:21 ul18s009 nginx: 2023/08/06 03:14:21 [error] 3265#3265: nchan: Out of shared memory while allocating message of size 9033. Increase nchan_max_reserved_memory.

 

/var/log seems to be mounted like this according to /etc/mtab:

tmpfs /var/log tmpfs rw,relatime,size=131072k,mode=755,inode64 0 0

 

Any ideas how to further track down the issue? 

Link to comment
  • 2 weeks later...
  • 4 weeks later...

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.