Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: upstream prematurely closed connection
- To: nginx-ru@xxxxxxxxx
- Subject: Re: upstream prematurely closed connection
- From: "Alexander Goncharov" <alexander.gsander@xxxxxxxxx>
- Date: Fri, 25 Jul 2008 04:59:50 +1100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=T0uQLxtGE+jjMBRRhjItfnWpg9FMbq7DRBWke6RJPPk=; b=XiLLLFzKveoKJHT7x+E9/dCMdOyH2m/r+sX+X3sFHHPjMkBsaqYD5hmT5/wi5Lk7Lb g32hfMXXkvE9tNi936PEAL63qrOqYqyryoxUImEcNvDLP8oYdDLxfNluMNkBYi9Qdsqk JLGaDPc287Xg1SItd8siCNGiQOimkxo0hRlbQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iyRxz4jkbMRBViKgRC3zJR1IGJvbfoWm0kmMxF2AaqXdjlEU6Ne2DXUWDsJPr7Rsjn DXFxgiFnk+4NCO4A+hvUmX9qpa0HOVLPmNeqS/YIA+SevJzjcrwLPCbUKqG7ogq12sNt 4zKESXwsQ48sWv9mUf74Z2K5khqDilwMtGoxI=
- In-reply-to: <488769FB.8020201@xxxxxxx>
- References: <5c29cc10807230910q616373f7sc710ee8a60d46615@xxxxxxxxxxxxxx> <48875EA8.1070202@xxxxxxxxxx> <5c29cc10807230954n7f974c06k4f42ca78eef898c9@xxxxxxxxxxxxxx> <488769FB.8020201@xxxxxxx>
Нет, не помогло, да и ошибка
while reading response header from upstream
2008/7/24 Kostya Alexandrov <koticka@xxxxxxx>:
> беклг в апаче увеличить не помогает?
> |ListenBacklog value
>
>
> |Alexander Goncharov wrote:
>>
>> абсолютно точно нет
>>
>> 2008/7/24 Alex Vorona <voron@xxxxxxxxxx>:
>>
>>>
>>> 23.07.2008 19:10, Alexander Goncharov wrote:
>>>
>>>>
>>>> Наблюдаю такую же проблему, до 100 ошибок (54: Connection reset by
>>>> peer) в одно и то же время, в одну секунду, происходит периодически:
>>>>
>>>> OS: Freebsd 7.0-RELEASE, nginx-0.6.32+apache 1.3.41. Могу сказать
>>>> точно, maxclients в апаче в это время не достигается.
>>>>
>>>> upstream warbackend {
>>>> server 192.168.1.3:8080 weight=10;
>>>> server 192.168.1.2:8080 weight=3;
>>>> }
>>>>
>>>> location ~ /tank.php$ {
>>>> proxy_pass http://warbackend;
>>>>
>>>> proxy_next_upstream error timeout http_500 http_503;
>>>> proxy_connect_timeout 1;
>>>> proxy_redirect off;
>>>> access_log off;
>>>> }
>>>>
>>>>
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348757 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 92.124.208.131, server:
>>>> www.xxxx.ru,, request: "GET
>>>>
>>>>
>>>> /tank.php?id=21897768&move=1&pl_id=210922&attack=1&my_monster=11&x=4&y=5&ax=5&ay=4&lastturn=5&lastmess=3&magicp=0&rand=0.409504341892898
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21897768&move=1&pl_id=210922&attack=1&my_monster=11&x=4&y=5&ax=5&ay=4&lastturn=5&lastmess=3&magicp=0&rand=0.409504341892898",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348762 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 77.94.34.166, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21897556&lastturn=23&lastmess=1&rand=0.514963776804507
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21897556&lastturn=23&lastmess=1&rand=0.514963776804507",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348763 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 79.173.80.253, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21898043&lastturn=-2&lastmess=0&rand=0.626321988645941
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21898043&lastturn=-2&lastmess=0&rand=0.626321988645941",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348768 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 81.13.114.14, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21895083&lastturn=72&lastmess=69&rand=0.65912398416549
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21895083&lastturn=72&lastmess=69&rand=0.65912398416549",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348770 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 195.72.250.118, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=10968458&lastturn=292&lastmess=402&rand=0.929750513285398
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=10968458&lastturn=292&lastmess=402&rand=0.929750513285398",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348772 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 81.195.40.2, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21896633&lastturn=47&lastmess=33&rand=0.788190171588212
>>>> HTTP/1.0", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21896633&lastturn=47&lastmess=33&rand=0.788190171588212",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348774 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 88.205.157.171, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21897704&lastturn=20&lastmess=1&rand=0.377463918179274
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21897704&lastturn=20&lastmess=1&rand=0.377463918179274",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348779 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 213.227.227.101, server:
>>>> www.xxxx.ru,, request: "GET
>>>>
>>>>
>>>> /tank.php?id=21896107&move=1&pl_id=259362&magical=magicarrow&my_monster=3&x=0&y=8&ax=1&ay=1&lastturn=75&lastmess=57&magicp=undefined&rand=0.128536344971508
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21896107&move=1&pl_id=259362&magical=magicarrow&my_monster=3&x=0&y=8&ax=1&ay=1&lastturn=75&lastmess=57&magicp=undefined&rand=0.128536344971508",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348783 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 195.24.138.253, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21897559&lastturn=19&lastmess=3&rand=0.409460594411939
>>>> HTTP/1.0", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21897559&lastturn=19&lastmess=3&rand=0.409460594411939",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348784 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 213.171.60.64, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank2.php?id=2365363&lchatid=0&pl_id=125186&rand=0.614568601828068
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank2.php?id=2365363&lchatid=0&pl_id=125186&rand=0.614568601828068",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do2.php?ver=24"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348785 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 80.240.215.124, server:
>>>> www.xxxx.ru,, request: "GET
>>>>
>>>>
>>>> http://www.xxxx.ru/tank.php?id=21897154&move=1&pl_id=42873&attack=1&my_monster=1&x=9&y=6&ax=8&ay=5&lastturn=22&lastmess=0&magicp=0&rand=0.186876151710749
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21897154&move=1&pl_id=42873&attack=1&my_monster=1&x=9&y=6&ax=8&ay=5&lastturn=22&lastmess=0&magicp=0&rand=0.186876151710749",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348787 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 89.223.127.254, server:
>>>> www.xxxx.ru,, request: "GET
>>>> /tank.php?id=21898101&lastturn=1&lastmess=0&rand=0.270849634893239
>>>> HTTP/1.0", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21898101&lastturn=1&lastmess=0&rand=0.270849634893239",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>> 2008/07/23 18:51:36 [error] 43641#0: *18348788 kevent() reported about
>>>> an closed connection (54: Connection reset by peer) while reading
>>>> response header from upstream, client: 79.176.126.171, server:
>>>> www.xxxx.ru,, request: "GET
>>>>
>>>>
>>>> http://www.xxxx.ru/tank.php?id=21897652&lastturn=4&lastmess=13&rand=0.382012006826699
>>>> HTTP/1.1", upstream:
>>>>
>>>>
>>>> "http://192.168.1.3:8080/tank.php?id=21897652&lastturn=4&lastmess=13&rand=0.382012006826699",
>>>> host: "www.xxxx.ru", referrer: "http://www.xxxx.ru/php/do.php?ver=328"
>>>>
>>>> В том же стиле (много и одновременно, а до и после все без ошибок)
>>>> сообщения вида (60: Operation timed out).
>>>>
>>>> Очень бы хотелось разобраться.
>>>>
>>>
>>> апач в это время не рестартится/релоадится чем-нибудь вроде логротейта?
>>>
>>>
>>>
>
>
>
|