Welcome! Log In Create A New Profile

Advanced

Re: nginx doesn't accept new connection

October 14, 2011 03:26AM
On Fri, Oct 14, 2011 at 03:16:39AM -0400, mrkissinger wrote:
> Hi there,
> I am using nginx as a reverse proxy on a Debian Linux.
>
> The nginx is running on server A, and apache is running on server B.
> Server A is a pure proxy, server B is the real web server.
>
> In most of time, nginx works well.
> But the HTTP port (80) will stop accepting new connection sometimes.
> When it happened, I tried to telnet port 80 from the server by "telnet
> localhost 80", the telnet was just keeping trying but cannot make socket
> connection.
>
> I checked the total HTTP connections by "netstat -an | grep 80 | wc
> -l", the number was always less than 2000.
>
> I am using nginx package from Debian Linux, the package was installed
> by apt-get.
> I added "ulimit -n 65535" into /etc/init.d/nginx to turned the "open
> files" limitation.
>
> The problem is not resolved yet. Can anyone help?

What does "nginx -V" show ?
Are any alerts in error_log ?


--
Igor Sysoev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx doesn't accept new connection

mrkissinger October 14, 2011 03:16AM

Re: nginx doesn't accept new connection

Igor Sysoev October 14, 2011 03:26AM

Re: nginx doesn't accept new connection

mrkissinger October 14, 2011 03:45AM

Re: nginx doesn't accept new connection

mrkissinger October 14, 2011 05:11AM

Re: nginx doesn't accept new connection

mrkissinger October 14, 2011 05:30AM

Re: nginx doesn't accept new connection

mrkissinger October 17, 2011 12:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready