Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accept() failed (53: Software caused connection abort) while accepting new connection on
- To: vol-kovtun <nginx-ru@xxxxxxxxx>
- Subject: Re: accept() failed (53: Software caused connection abort) while accepting new connection on
- From: Igor Savchenko <dicsydel@xxxxxxxxx>
- Date: Tue, 25 Sep 2007 13:53:51 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=8ItcB8ExPXxipoHHvhgkw1DXC0Zl8bWmEdciOBA8qOY=; b=Csj8hDZPHsHZlejYZF4ecd8qede24VjYRpIQuv4fgXo+WtIjhmkBJU2haGDdCBx8nE3mzCyRa1aW3AAWn3PXD10EmWNRlQtew1uQbeRKrHqn2xOxNkSD2J2DGpp9GjQwlQIpmfxfheKT6cXDvysV2iMDsDpMJKdXjPG+WYol/gc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; b=SupbP0DlXy/L8EPBAc4mmMiVffSSCTVLjAikUuZ6ybDkElotrmdXsYxyJRZOMI/yDKeITgGFM4Pi2+vvJY0Z6FfIRi6gufKoX4My3UEiMkT4mJdiMIkfrrhFJybmDlQM0Lw8gvGFpoIXON4RHDu68yAl0vCJld4IzP0J9ochjeI=
- In-reply-to: <27981190716813@xxxxxxxxxxxxxxxxxxx>
- Organization: Webta
- References: <27981190716813@xxxxxxxxxxxxxxxxxxx>
Hello vol-kovtun,
Tuesday, September 25, 2007, 1:40:13 PM, you wrote:
> добрий день
> есть веб-сервер 6.2-RELEASE-p5 i386
> фронтенд - nginx-0.5.31_1, бекенд - apache+mod_php (все из портов)
> в логах nginx-e виртаульного хоста
> очень-очень часто такие ошибки:
> 2007/09/25 12:50:13 [error] 84355#0: accept() failed (53: Software
> caused connection abort) while accepting new connection on 217.20.175.87:80
> 2007/09/25 12:50:14 [error] 84358#0: accept() failed (53: Software
> caused connection abort) while accepting new connection on 217.20.175.87:80
> 2007/09/25 12:54:39 [error] 84357#0: accept() failed (53: Software
> caused connection abort) while accepting new connection on 217.20.175.87:80
> 2007/09/25 12:54:39 [error] 84357#0: accept() failed (53: Software
> caused connection abort) while accepting new connection on 217.20.175.87:80
> 2007/09/25 12:58:19 [error] 84355#0: accept() failed (53: Software
> caused connection abort) while accepting new connection on 217.20.175.87:80
> и в бруазере "502 Bad gateway"
> перечетал в россилке теми на такой же вопрос но ответа так е не
> нагел в чем проблема у куда копать .
> # netstat -m
> 4770/1560/6330 mbufs in use (current/cache/total)
> 4072/928/5000/25600 mbuf clusters in use (current/cache/total/max)
> 4072/853 mbuf+clusters out of packet secondary zone in use (current/cache)
> 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
> 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
> 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
> 9336K/2246K/11582K bytes allocated to network (current/cache/total)
> 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
> 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
> 0/101/6656 sfbufs in use (current/peak/max)
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 737415 requests for I/O initiated by sendfile
> 2840 calls to protocol drain routines
> vmstat -z|g -i buf
> mbuf_packet: 256, 0, 4202, 723, 2339090775,
> 0
> mbuf: 256, 0, 694, 711, 4416024608,
> 0
> mbuf_cluster: 2048, 25600, 4925, 75, 37830949, > 0
> mbuf_jumbo_pagesize: 4096, 0, 0, 0, 0, > 0
> mbuf_jumbo_9k: 9216, 0, 0, 0, 0, > 0
> mbuf_jumbo_16k: 16384, 0, 0, 0, 0, > 0
> # netstat -an | g 217.20.175.87.80 | wc -l
> 1138
> (но ето не в те моменти когда ошибки, но на сколько я смотрел очень не
> различаютса )
> часть nginx.conf
> user www;
> worker_processes 4;
> events {
> worker_connections 4096;
> use kqueue;
> }
> http {
> tcp_nopush on;
> tcp_nodelay on;
> keepalive_timeout 60;
> proxy_send_timeout 120;
> gzip on;
> gzip_min_length 1100;
> gzip_buffers 4 8k;
> gzip_types text/plain text/html text/css text/xml
> application/x-javascript ;
> gzip_proxied any ;
> gzip_http_version 1.0 ;
> server {
> listen 217.20.175.87:80 default accept_filter=httpready;
> server_name www.name . ;
> location / {
> root /home/www/domains/auction.ua/htdocs/;
> index index.php ;
> proxy_pass http://172.16.1.8:80 ;
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
> }
> location ~*
> ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$
> root /home/www/domains/auction.ua/htdocs/ ;
> }
> может еще какую-то и-цию нужно ???
> в чем может бить проблема ???
http://sysoev.ru/nginx/docs/faq.html
---------------------------------
Igor V. Savchenko
http://webta.net
mailto: igor@xxxxxxxxx
ICQ: 86915046
|