А РХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Nginx workers зависают при: Connection timed out while connecting to upstream
To : nginx-ru@xxxxxxxxx
Subject : Nginx workers зависают при: Connection timed out while connecting to upstream
From : Eugene Batogov <johnbat26@xxxxxxxxx >
Date: Fri, 7 Dec 2012 15:55:30 +0300
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ASWMO0IHt4bhIR81Q+WprliRWQ/G0eWsoGh8dQzE8uI=; b=RHh2pf64GSvyl8azzbhHOcMwBlDQ+fbHLwLwP4V5c1aRXh6rPfWnkSVIJVrWuZj3Wo sKiXWGuS/vd+S7S3Ic7DHIB5Ho5q5lfjTJnzcNCQpeE4DnezY9IyHbg8IhbzaiDlwer1 yd3/KCP9bCcWs6rwkJeMSfd0jdR+k3cQTm5y18IdHL//wU4kwEmICLCVcTXemlqP+jPW Hkl7iaTnrK7dw3P+oCLDMiNBjT9NFZint0TsiH780dfdM7wvMuqUqp6n4/O3mOffinOy GSUfj9YLpvEPfr1RgIUvJP5Ohn/u7xRwBcB6762HtgrM6gD4Q3vaxww92R72nUUVrdt6 /uhA==
Привет всем. Несколько раз наблюдаю ситуацию. Если какой-либо 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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru