|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
connect() 99: Cannot assign requested address)
- To: nginx-ru@xxxxxxxxx
- Subject: connect() 99: Cannot assign requested address)
- From: "Alexander Zheglov" <tolko.bi.vyzhit@xxxxxxxxx>
- Date: Fri, 28 Sep 2007 17:58:09 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=G4bM5FUEHagjCH0Xde4uv45ehXUjI8h5cK1Ijc5V4oo=; b=UEnuIQPjRkijqQ7XJgTUEY7i0azY4rZWKBdTfp/qc/RkXs8W/c5Bk6MSEKuWrCBIKNuQMS8Eiucd3SZInUQsSOTY5DYP/DzvEkApAByLlH1LPnPt9mluwMxWodS7kD2m6SpGe4S4D3h2AfdapY5k/gcUKC/lNnbiXnDFWrWRjKQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=o6Fr6XzigksHjO8ce31krwxeSTVtFo1+XwB01AoGYNczxvH7ygBG/RUdTAz3swCdUWohchOeFRcw8znq9TMgCZ2e16VHOTZsHZ1hFfp9apODEdqDxahzP1Sdbeaq9rxhTmVGGaEjS4HX9K6vALM1tgh7ie097f8mrq0nVFn8zBs=
Добрый день! Использую связку nginx + memcached + fcgi генератор страниц. Какая именно страница генерится определяется параметрами GET запроса. Кусок конфигурации: .. location @back_test { fastcgi_pass unix:/tmp/test;
fastcgi_param SCRIPT_FILENAME /cgi-bin/test.py; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; fastcgi_param SERVER_PROTOCOL $server_protocol; }
location /test { root /htdocs; default_type text/html;
set $memcached_key "$query_string"; memcached_pass
127.0.0.1:11211;
#cached miss error_page 404 = @back_test; #memcached died error_page 502 = @back_test; } .. nginx-0.5.32
linux kernel 2.6.18
Тестирую нагрузку программой http_load: $ ./http_load -parallel 100 -fetches 1000000 url_file
В логах наблюдаю следующую ошибку: 2007/09/27 23:48:21 [crit] 5258#0: *1230293 connect() to
127.0.0.1:11211 failed (99: Cannot assign requested address) while connecting to upstream, client: 127.0.0.1, server: localhost, URL: "/test?path=/static/images/musicgroups/58/97/preview.jpeg", upstream: "memcached://127.0.0.1:11211", host: "localhost"
Не подскажете, в чем может быть проблема и куда примерно копать? С уважением, Александр Жеглов
|
|
|