Jump to content

webUI down - nginx restarted and running 504 timeout


srfnmnk

Recommended Posts

Hi,

 

I woke up this morning to my web ui being down. I restarted nginx and still I had the issue.

 

I've attached the diagnostics for review. I also looked in the nginx logs to see what I could find and found the following. My server had 32G+ of mem available as per free -h command.

 

I rebooted the server and the UI is working again, but I'd like to understand what happened and how to avoid this in the future.

 

Thank you.

 

image.png

pumbaa-diagnostics-20231108-1007.zip

Link to comment

Ok so today -- I logged in and received this little present. The ui was blank-ish. Looking at the nginx logs I see the following. I attached the full log. Why is nchan_max_reserved_memory running out? How to fix it?

 

gth=1 HTTP/1.1", host: "localhost"
2023/11/09 09:26:26 [error] 19497#19497: MEMSTORE:00: can't create shared message for channel /disks
2023/11/09 09:26:27 [crit] 19497#19497: ngx_slab_alloc() failed: no memory
2023/11/09 09:26:27 [error] 19497#19497: shpool alloc failed
2023/11/09 09:26:27 [error] 19497#19497: nchan: Out of shared memory while allocating message of size 21383. Increase nchan_max_reserved_memory.
2023/11/09 09:26:27 [error] 19497#19497: *550567 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/disks?buffer_len
gth=1 HTTP/1.1", host: "localhost"
2023/11/09 09:26:27 [error] 19497#19497: MEMSTORE:00: can't create shared message for channel /disks
2023/11/09 09:26:28 [crit] 19497#19497: ngx_slab_alloc() failed: no memory
2023/11/09 09:26:28 [error] 19497#19497: shpool alloc failed
2023/11/09 09:26:28 [error] 19497#19497: nchan: Out of shared memory while allocating message of size 22385. Increase nchan_max_reserved_memory.
2023/11/09 09:26:28 [error] 19497#19497: *550573 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/update2?buffer_l
ength=1 HTTP/1.1", host: "localhost"
 

 

image.thumb.png.08e3d0456a32d858f1c0aceee6bb7709.png

error.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.

×
×
  • Create New...