Nginx 14.1 very slow as a reverse proxy

Ricky Gutierrez xserverlinux at gmail.com
Tue Nov 20 14:43:52 UTC 2018


Hi Dounin , What do you mean with smaller cache size?, proxy buffer size
for example?

I'm going to make the change you suggest.

El El mar, nov. 20, 2018 a las 7:49 a. m., Maxim Dounin <mdounin at mdounin.ru>
escribió:

> Hello!


>
>
> > the proxy and the IIS server is 1gb network, very fast ,
>
> As per the error message, your backend fails to accept new
> connections in a reasonable time.  You may want to look at the
> backend to find out why it cannot accept new connections.
>
> One of the possible reasons might be that keepalive connections
> cache you've configured is too large for your backend:
>
> > upstream backend {
> >     server 192.168.X.11:80; ## servidor web en windows
> >     keepalive 15;
>
> With "keepalive 15" nginx will keep open up to 15 connections in
> each worker proccess - that is, up to (15 * worker_processes) in
> total, and this may be too many for your backend.
>
> Try switching off keepalive and/or using smaller cache size to see
> if it helps.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-- 
rickygm

http://gnuforever.homelinux.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20181120/e4499bfd/attachment.html>


More information about the nginx mailing list