Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid整晚报日志导致webui 504报错无法连接,但是docker可以正常连接。

Featured Replies

截取一段日志如下。

Quote

Jun 22 12:14:26 Unraid nginx: 2023/06/22 12:14:26 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:26 Unraid nginx: 2023/06/22 12:14:26 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 10763. Increase nchan_max_reserved_memory.
Jun 22 12:14:26 Unraid nginx: 2023/06/22 12:14:26 [error] 23846#23846: *2740276 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:26 Unraid nginx: 2023/06/22 12:14:26 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /devices
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 5793. Increase nchan_max_reserved_memory.
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: *2740286 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/update2?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /update2
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 10763. Increase nchan_max_reserved_memory.
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: *2740289 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /devices
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 9911. Increase nchan_max_reserved_memory.
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: *2740293 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/disks?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:27 Unraid nginx: 2023/06/22 12:14:27 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /disks
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 9183. Increase nchan_max_reserved_memory.
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: *2740302 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/notify?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /notify
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 10805. Increase nchan_max_reserved_memory.
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: *2740305 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /devices
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 9911. Increase nchan_max_reserved_memory.
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: *2740310 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/disks?buffer_length=1 HTTP/1.1", host: "localhost"
Jun 22 12:14:28 Unraid nginx: 2023/06/22 12:14:28 [error] 23846#23846: MEMSTORE:02: can't create shared message for channel /disks
Jun 22 12:14:29 Unraid nginx: 2023/06/22 12:14:29 [crit] 23846#23846: ngx_slab_alloc() failed: no memory
Jun 22 12:14:29 Unraid nginx: 2023/06/22 12:14:29 [error] 23846#23846: shpool alloc failed
Jun 22 12:14:29 Unraid nginx: 2023/06/22 12:14:29 [error] 23846#23846: nchan: Out of shared memory while allocating message of size 10805. Increase nchan_max_reserved_memory.
Jun 22 12:14:29 Unraid nginx: 2023/06/22 12:14:29 [error] 23846#23846: *2740320 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"

 

 

我这边硬件是i3-8100T / 16G 非ECC内存。连接不上WEBUI时,通过SSH发现已经吃了12G内存,错误从凌晨1点报到中午12点估计日志也已经爆满了。重启后,日志正常,内存吃了5G

根据日志中的报错怀疑和我Nginx-Proxy-Manager设置有关。因为我反向代理unraid用于远程连接后,在Nginx设置里加过如下设置。

Quote

location / {
      proxy_pass http://192.168.31.50:4000/;
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "upgrade";
      proxy_set_header Host $http_host;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Forwarded-Host $http_host;
      proxy_set_header X-Forwarded-Port $server_port;
      proxy_set_header X-Forwarded-Proto $scheme;
}

 

如果有大佬遇到过相关问题,请不吝赐教。

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.