Welcome! Log In Create A New Profile

Advanced

Nginx workers зависают при: Connection timed out while connecting to upstream

December 07, 2012 07:56AM
Привет всем.
Несколько раз наблюдаю ситуацию.

Если какой-либо backend будь то JBoss (proxy_pass), memcached
(memcached_pass) и пр., долго не отвечают на запросы nginx,
то nginx worker начинает потреблять 100 % одного ядра процессора.


Все бы ничего но, после рестарта back-end они [workers] так и остаются
висеть и потреблять процессор на100%.

Как эту ситуацию исправить или обойти?

в логах:

2012/12/07 09:14:58 [error] 11861#0: *80050203 upstream timed out (110:
Connection timed out) while connecting to upstream, client: 10.239.145.248,
server: 10.197.195.34, request: "POST /stat HTTP/1.1", upstream: "
http://10.197.162.103:8080/stat", host: "10.197.195.40:80", referrer: "
http://10.197.195.40:80/portal/portal.ftl"
2012/12/07 09:14:59 [error] 11861#0: *80057099 upstream timed out (110:
Connection timed out) while connecting to upstream, client: 10.234.228.70,
server: 10.197.195.34, request: "POST /stat HTTP/1.1", upstream: "
http://10.197.162.103:8080/stat", host: "10.197.195.40:80", referrer: "
http://10.197.195.40:80/portal/portal.ftl"
2012/12/07 09:14:59 [error] 11866#0: *80057189 upstream timed out (110:
Connection timed out) while connecting to upstream, client: 10.238.1.138,
server: 10.197.195.34, request: "POST /stat HTTP/1.1", upstream: "
http://10.197.162.103:8080/stat", host: "10.197.195.40:80", referrer: "
http://10.197.195.40:80/portal/portal.ftl"


--
Best Regards, Eugene Batogov
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Nginx workers зависают при: Connection timed out while connecting to upstream

JohnBat26 December 07, 2012 07:56AM

Re: Nginx workers зависают при: Connection timed out while connecting to upstream

Валентин Бартенев December 07, 2012 08:00AM

Re: Nginx workers зависают при: Connection timed out while connecting to upstream

JohnBat26 December 07, 2012 08:02AM

Re: Nginx workers зависают при: Connection timed out while connecting to upstream

Валентин Бартенев December 07, 2012 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready