Welcome! Log In Create A New Profile

Advanced

Re: Re: nginx-0.7.52

Weibin Yao
April 22, 2009 12:01AM
> Could you add

> open_file_cache max=1000 inactive=20s;
> open_file_cache_valid 30s;
> open_file_cache_min_uses 2;
> open_file_cache_errors on;

> and run just

> ab.exe -k -n 10000 -c 1

> to see if CreateFile() adds noticeable overhead ?

Then I increased the concurrency:

ab.exe -k -n 10000 -c 500
nothing error

ab.exe -k -n 10000 -c 1000
Error.log: many lines of "2009/04/22 11:14:15 [alert] 2744#448: *951 WSARecv() failed (10053: Your software in this host abandons this connection.) while keepalive, client: 127.0.0.1, server: 0.0.0.0:80"

(note: The error.log contains some Chinese characters after error number 10053 because of my OS's location. I translated these into English, maybe not accurate.)

My testing index.html is 151 bytes. Maybe it's too small. Then I used a test.html with size of 1K bytes. The result changed:

ab.exe -k -n 10000 -c 50
nothing error

ab.exe -k -n 10000 -c 100
nothing error

ab.exe -k -n 10000 -c 200
Error.log: many lines of "2009/04/22 11:34:22 [alert] 2744#448: *4806 WSARecv() failed (10053:Your software in this host abandons this connection.) while keepalive, client: 127.0.0.1, server: 0.0.0.0:80"

Then I tested a 100k file:

ab.exe -k -n 10000 -c 5
nothing error

ab.exe -k -n 10000 -c 10
nothing error

ab.exe -k -n 10000 -c 20
nothing error

ab.exe -k -n 10000 -c 30
Error.log:
there are two kinds of errors:
1. 2009/04/22 11:45:50 [alert] 2744#448: *4996 WSASend() failed (10053:Your software in this host abandons this connection.) while sending response to client, client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.0", host: "127.0.0.1"
2. 2009/04/22 11:45:50 [alert] 2744#448: *4992 WSARecv() failed (10053:Your software in this host abandons this connection.) while keepalive, client: 127.0.0.1, server: 0.0.0.0:80
Subject Author Posted

nginx-0.7.52

Igor Sysoev April 20, 2009 02:33AM

Re: nginx-0.7.52

Kevin Worthington April 20, 2009 03:12AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 03:24AM

Re: nginx-0.7.52

Kevin Worthington April 20, 2009 01:28PM

Re: nginx-0.7.52

Weibin Yao April 20, 2009 06:38AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 07:13AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 07:30AM

basic auth not prompting for id and pass

AMP Admin April 20, 2009 07:27PM

RE: nginx-0.7.52

郭振立 April 20, 2009 09:41AM

Re: nginx-0.7.52

Joaquin Cuenca Abela April 20, 2009 10:42AM

Re: nginx-0.7.52

Igor Sysoev April 20, 2009 01:02PM

Re: Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 04:57AM

Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:18AM

Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:06AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 06:19AM

Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 03:51AM

Re: Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 05:43AM

Re: Re: Re: nginx-0.7.52

Istv April 21, 2009 05:52AM

Re: nginx-0.7.52

Anton Yuzhaninov April 21, 2009 06:12AM

Re: Re: nginx-0.7.52

Weibin Yao April 21, 2009 11:12PM

Re: Re: nginx-0.7.52

Weibin Yao April 22, 2009 12:01AM

Re: Re: nginx-0.7.52

Igor Sysoev April 22, 2009 02:20AM

Re: Re: nginx-0.7.52

Igor Sysoev April 22, 2009 03:38AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 06:23AM

Re: Re: Re: nginx-0.7.52

Roger Pack April 21, 2009 10:52AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 11:17AM

Re: Re: Re: nginx-0.7.52

Istv April 21, 2009 11:27AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:00PM

Re: Re: Re: nginx-0.7.52

Roger Pack April 21, 2009 11:36AM

Re: Re: Re: nginx-0.7.52

Igor Sysoev April 21, 2009 03:54PM

Re: nginx-0.7.52

Chris Cortese April 20, 2009 06:20PM

Re: nginx-0.7.52

Igor Sysoev April 21, 2009 04:20PM

Re: nginx-0.7.52

Roger Pack April 21, 2009 05:35PM

Re: nginx-0.7.52

Chris Cortese April 21, 2009 07:34PM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:01AM

Re: nginx-0.7.52 all Windows native working

Chris Cortese April 22, 2009 03:21PM

Re: nginx-0.7.52 all Windows native working

Roger Pack April 23, 2009 09:38AM

Re: nginx-0.7.52

Chris Wan April 21, 2009 11:37PM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:45AM

Re: nginx-0.7.52

Chris Wan April 22, 2009 11:14PM

Re: nginx-0.7.52

diogin April 22, 2009 02:47AM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 03:02AM

Re: nginx-0.7.52

diogin April 22, 2009 08:09AM

Re: nginx-0.7.52

Igor Sysoev April 22, 2009 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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