The "worker process is shutting down" is running all the time, How should I do?

The nginx is http proxy. when I use upgrade websocket and send heartbeat
per 5s(client_body_timeout 6s;) the directives "worker_shutdown_timeout" is
invalid, the "worker process is shutting down" produced by nginx -s reload
is running all the time.

> Hi,
>
>
> The nginx is http proxy. when I use upgrade websocket and send heartbeat
> per 5s(client_body_timeout 6s;) the directives "worker_shutdown_timeout" is
> invalid, the "worker process is shutting down" produced by nginx -s reload
> is running all the time.
>
> How should I do?

What do you mean by "the directives "worker_shutdown_timeout" is
invalid"? It does not work for you?

It looks like WebSocket proxying currently fails to handle
worker_shutdown_timeout requests to close a connection, please try
the following patch: