Welcome! Log In Create A New Profile

Advanced

Re: how much Active connections on nginx for window?

June 23, 2009 07:34AM
Igor Sysoev Wrote:
-------------------------------------------------------
> On Mon, Jun 22, 2009 at 06:30:18PM +0300, zepolen
> wrote:
>
> > On Mon, Jun 22, 2009 at 6:56 AM, afen wrote:
> > > i stress test nginx on window2003,but the
> action connections never in excess of 512?$B!#
> > > why?my config:
> > >
> > > worker_processes 1;
> > >
> > > events {
> > > worker_connections 1024;
> > > }
> > >
> > > Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,3233,3233#msg-32
> 33
> > >
> > > host has failed to respond) while connecting
> to upstream, client: 192.168.1.100, server:
> localhost, request: "GET /index.php HTTP/1.1",
> upstream: "fastcgi://127.0.0.1:9000", host:
> "localhost"
> >
> > Probably because you use two connections when
> proxying - one for
> > client connection - one for backend.
>
> Yes, you are right.
>
how can i do?this is my config
[code]
worker_processes 1;


events {
worker_connections 10240;
}


http {
include mime.types;
default_type application/octet-stream;


sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen 80;
server_name localhost;

location / {
root /NPMserv/www;
index index.html index.htm index.php;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

location ~ .*\.php?$ {
root /NPMserv/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /NPMserv/www$fastcgi_script_name;
include fastcgi_params;
}
}

}
[/code]
Subject Author Posted

how much Active connections on nginx for windows?

afen June 21, 2009 11:56PM

Re: how much Active connections on nginx for windows?

afen June 22, 2009 01:25AM

Re: how much Active connections on nginx for window?

Igor Sysoev June 22, 2009 05:33AM

Re: how much Active connections on nginx for window?

afen June 22, 2009 11:22AM

Re: how much Active connections on nginx for window?

deltay June 22, 2009 05:54AM

Re: how much Active connections on nginx for window?

afen June 22, 2009 11:25AM

Re: how much Active connections on nginx for window?

afen June 22, 2009 11:29AM

Re: how much Active connections on nginx for window?

zepolen June 22, 2009 11:30AM

Re: how much Active connections on nginx for window?

Igor Sysoev June 22, 2009 02:21PM

Re: how much Active connections on nginx for window?

afen June 23, 2009 07:34AM

Re: how much Active connections on nginx for windows?

afen July 03, 2009 03:03AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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