After a while, my webui becomes unresponsive and I have to ssh in and restart nginx to get things back to normal. I am seeing tons of messages like this:
2021/11/05 04:40:10 [error] 9838#9838: shpool alloc failed
2021/11/05 04:40:10 [error] 9838#9838: nchan: Out of shared memory while allocating channel /shares. Increase nchan_max_reserved_memory.
2021/11/05 04:40:10 [error] 9838#9838: *986013 nchan: error publishing message (HTTP status code 507), client: unix:, server: , request: "POST /pub/shares?buffer_length=1 HTTP/1.1", host: "localhost"
2021/11/05 04:40:10 [crit] 9838#9838: ngx_slab_alloc() failed: no memory
Server memory usage is 57%. Do I need to allocate more memory for nginx or something else? Where do I find nchan_max_reserved_memory?