Welcome! Log In Create A New Profile

Advanced

Re: nginx slow for no reason

Antoine Bonavita
August 08, 2011 10:10AM
Hello,

A synflood was my first thought (guess I should take my pills... ;)).
But it's unlikely given the IP patterns.

Are the logs saying anything ?

Did you trying playing with those:
- http://wiki.nginx.org/EventsModule#worker_connections
- http://wiki.nginx.org/CoreModule#worker_rlimit_nofile

Good luck with it,

Antoine.

On Mon, Aug 8, 2011 at 3:41 PM, Marki555 <nginx-forum@nginx.us> wrote:
> Do you think it can be a synflood attack? I can see it only during peak
> hours, if it would be attack, I would expect it to be nonstop. If it
> would be synflood, how would nginx handle it? SYN_RECV means that kernel
> has received the initial SYN packet, but the userspace (nginx) didn't
> reply with SYN+ACK yet. But from strace it seems that nginx is not
> receiving those connections...
>
> Every request is from different IP (as it's ad-tracking I have more than
> 3 milions diff. IPs per day). Here is output:
>
> bill3:~:# netstat -tnp | grep SYN_RECV |sort -k5,5
> tcp        0      0 92.x.x.x:80       108.84.25.217:49988     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       171.0.128.220:59857     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       188.22.33.219:63756     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       194.168.179.130:54327   SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       2.218.18.53:49980       SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       212.106.232.41:3887     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       213.105.53.187:56882    SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       213.105.53.187:56948    SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       213.107.67.17:56947     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       217.137.153.229:4384    SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       46.25.124.158:59649     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       62.254.142.85:59674     SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       62.255.147.169:58835    SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       62.31.128.35:51695      SYN_RECV
>  -
> tcp        0      0 92.x.x.x:80       77.100.4.202:56501      SYN_RECV
>  -
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213502,213507#msg-213507
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

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

nginx slow for no reason

Marki555 August 08, 2011 08:57AM

Re: nginx slow for no reason

Antoine Bonavita August 08, 2011 09:28AM

Re: nginx slow for no reason

Marki555 August 08, 2011 09:41AM

Re: nginx slow for no reason

Marki555 August 08, 2011 02:01PM

Re: nginx slow for no reason

Marki555 August 10, 2011 11:02AM

Re: nginx slow for no reason

Antoine Bonavita August 08, 2011 10:10AM

Re: nginx slow for no reason

Maxim Dounin August 08, 2011 10:34AM

Re: nginx slow for no reason

Maxim Dounin August 08, 2011 04:02PM

Re: nginx slow for no reason

Mark Alan August 08, 2011 04:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 194
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