slact / nchan

Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE), powered by Nginx.
https://nchan.io/
Other
2.99k stars 292 forks source link

CPU pegs at 100% after reload #651

Closed plinss closed 1 year ago

plinss commented 1 year ago

Using the current master with Nginx 1.23.2 everything appears to function normally until reloading nginx's configuration via: /usr/sbin/nginx -g 'daemon on; master_process on;' -s reload (via systemctl reload nginx)

After that, the CPU pegs at 100% usage, primarily in kernel space.

After disabling the nchan plugin, reloads don't have any issue.

This was working with Nginx 1.23.1 and my previous build of nchan from commit 88498e0fdd07704fb412e46682a9a839a15c20fa

Nothing appears in the logs.

If there's anything I can help with testing, please let me know.

slact commented 1 year ago

Please include your config -- edit out whatever you need for privacy.

slact commented 1 year ago

closing due to inactivity -- please reopen if this issue persists