AW: Code 499 and ab tools

Andrea Soracchi soracchi at netbuilder.it
Fri Sep 28 08:41:32 UTC 2012


Hi,

I get the same error...

In my sysctl.conf I set other parameters:

net.ipv4.tcp_fin_timeout      = 1
net.ipv4.tcp_tw_recycle       = 1
net.core.rmem_max             = 16777216
net.core.rmem_default         = 16777216
net.core.netdev_max_backlog   = 262144
net.core.somaxconn            = 262144
net.ipv4.tcp_syncookies       = 1
net.ipv4.tcp_max_orphans      = 262144
net.ipv4.tcp_max_syn_backlog  = 262144
net.ipv4.tcp_synack_retries   = 2
net.ipv4.tcp_syn_retries      = 2


Do you think the problem is on the server where I run tne apache benchmark?

Thanks,
Andrea




----- Messaggio originale -----
Da: "Frank Ruske" <F.Ruske at flyeralarm.de>
A: nginx at nginx.org
Inviato: Giovedì, 27 settembre 2012 23:14:14
Oggetto: AW: Code 499 and ab tools

Hi,

try to increase the maximum number of open files on the server where you run the apache benchmark test.

For example temporary "ulimit -u unlimited"

Regards Frank


________________________________________
Von: nginx-bounces at nginx.org [nginx-bounces at nginx.org] im Auftrag von Andrea Soracchi [soracchi at netbuilder.it]
Gesendet: Donnerstag, 27. September 2012 12:10
An: nginx
Betreff: Code 499 and ab tools

HI,

I am testing one of our production server with ab (ab -n 1000 -c 150  "http://www.myserver.com") and what I get is:

...
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
apr_socket_recv: Connection timed out (110)
Total of 743 requests completed

In the nginx's error log no output, while in the nginx's access log report 499 code (the client has closed the connection).

Where is the problem, nginx server or client ab?

Any idea?

Thanks a lot

--
Andrea Soracchi - Netbuilder S.r.l.
Multidialogo : La storia e' fatta da chi sa comunicare
System Engineer // t. +39 0521 247791 // f. +39 0521 7431140 // www.netbuilder.it


_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list