Upstream timeout

Hi,

I’m using nginx 1.4.0 as loadbalancer for 2 jetty servers. At my windows
development/test system I have simple added the following to the default
config:
upstream backend {
server 127.0.0.1:10000;
server 127.0.0.1:10001;
}
server {
server_name backend.myserver1.de;
location / {
proxy_pass http://backend;
}
}

backend.myserver1.de is just an entry in my local host config.
When I start everything it seems to work properly but after some
requests,
max 10, the nginx does not work anymore. no more requests are being
processed. When I restart the nginx server, it works for the next few
requests.
When I call the backendservers directy in the browser the requests are
processed correctly.

I haven’t tested in on a linux machine, maybe it will work there. But
for
testeing it would be nice, if it would work on my windows system too.

Any hints?

Kind regards
Thorsten

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,238864,238864#msg-238864

just forgot one point,

the nginx error log is full of lines like this:
2013/05/05 12:34:25 [error] 5388#4772: *35 upstream timed out (10060:
FormatMessage() error:(15105)) while connecting to upstream, client:
127.0.0.1, server: backend.myserver1.de, request: “GET /index.html
HTTP/1.1”, upstream: “http://127.0.0.1:10001/index.html”, host:
backend.myserver1.de

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,238864,238865#msg-238865