accept() failed (53: Software caused connection abort) while accepting new connection on

vol-kovtun vova-zms at yandex.ru
Tue Sep 25 14:40:13 MSD 2007


добрий день

есть веб-сервер  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/ ;

         }





может еще какую-то и-цию нужно ???

в чем может бить проблема ???








More information about the nginx-ru mailing list