stream module on 100% cpu load
A. Schulze
sca at andreasschulze.de
Mon Jan 16 07:26:55 UTC 2017
Vladimir Homutov:
> You may try the following patch:
>
> diff --git a/src/stream/ngx_stream_proxy_module.c
> b/src/stream/ngx_stream_proxy_module.c
> --- a/src/stream/ngx_stream_proxy_module.c
> +++ b/src/stream/ngx_stream_proxy_module.c
> @@ -1564,6 +1564,7 @@ ngx_stream_proxy_process(ngx_stream_sess
> return;
> }
>
> + src->read->ready = 0;
> src->read->eof = 1;
> n = 0;
> }
Hello Vladimir,
I can confirm the patch fix the issue.
Thanks!
Andreas
More information about the nginx
mailing list