Hacker News new | ask | show | jobs
by onestone 3349 days ago
This doesn't work well for modern websites using push-style updates, e.g. via websockets. Old nginx processes might never close after the reload, as connections are very long-lived. If reloads happen often this leads to memory exhaustion. So this is a bad solution to rely on.
1 comments

Websockets are indeed a complication, I'm guessing for haproxy also. But it seems nginx has a recently added feature which can fix this:

https://nginx.org/en/docs/ngx_core_module.html#worker_shutdo...