Welcome! Log In Create A New Profile

Advanced

Re: Nginx TCP Delays

Payam Chychi
September 22, 2009 02:24AM
On Mon, Sep 21, 2009 at 9:25 PM, Khalid Shaikh
<khalid.j.shaikh@gmail.com> wrote:
> Team,
> I've applied almost every suggestion given to me and still cannot resolve
> the delays.
> Is there anyone whom is willing to log into the server and take a look?  I
> can compensate if needed!
> Please email me!
> Active connections: 7506
> server accepts handled requests
>  173367 173367 443669
> Reading: 82 Writing: 1721 Waiting: 5703
> http://67.159.60.59/status      21.03 seconds
> Best,
> Khalid
> khalid.j.shaikh@gmail.com

does not seem to be an nginx issue, server side issue due to high
amount of connections being tracked by nf_conntrack aka iptables
modifying that value to something of power of 2 will solve the
issue... you can set the number safely around 1048576 as well as your
hash bucket size

Active connections: 12558
server accepts handled requests
192560 192560 747535
Reading: 152 Writing: 2661 Waiting: 9745

also enabling linux syncookie helps a lot so you dont have to deal
with stupid bogus traffic :)
[201926.711051] possible SYN flooding on port 80. Sending cookies.

cheers

--
Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer
Subject Author Posted

Nginx TCP Delays

Khalid Shaikh September 21, 2009 01:52AM

RE: Nginx TCP Delays

Brian Henson September 21, 2009 03:38AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 03:46AM

Re: Nginx TCP Delays

François Battail September 21, 2009 04:06AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:22AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:24AM

Re: Nginx TCP Delays

François Battail September 21, 2009 04:58AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 12:08PM

Re: Nginx TCP Delays

Avleen Vig September 23, 2009 04:52AM

Re: Nginx TCP Delays

François Battail September 23, 2009 11:22AM

Re: Nginx TCP Delays

Christopher Smith September 24, 2009 03:50AM

Re: Nginx TCP Delays

Khalid Shaikh September 24, 2009 11:22AM

Re: Nginx TCP Delays

icqheretic October 05, 2009 03:09PM

Re: Nginx TCP Delays

anomalizer October 03, 2009 03:34AM

Re: Nginx TCP Delays

Maxim Dounin September 21, 2009 04:50AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:58AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 12:32PM

Re: Nginx TCP Delays

Maxim Dounin September 21, 2009 12:52PM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 02:08PM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 03:44PM

Re: Nginx TCP Delays

Khalid Shaikh September 22, 2009 12:30AM

Re: Nginx TCP Delays

Payam Chychi September 22, 2009 02:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 260
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready