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 S. - 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

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: [email protected] [[email protected]] im Auftrag von
Andrea S. [[email protected]]
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 S. - 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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

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” [email protected]
A: [email protected]
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: [email protected] [[email protected]] im Auftrag von
Andrea S. [[email protected]]
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 S. - 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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx


nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs