Opened 11 years ago

Closed 11 years ago

#249 closed defect (invalid)

непонятное зависание

Reported by: openid.yandex.ru/naym3333 Owned by: somebody
Priority: critical Milestone:
Component: nginx-core Version: 1.2.x
Keywords: Зависание Cc:
uname -a:
nginx -V: nginx version: nginx/1.2.5
TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs.msvc8 --with-debug --prefix= -
-conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access
.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-te
mp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fast
cgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsg
i-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs.msv
c8/lib/pcre-8.31 --with-zlib=objs.msvc8/lib/zlib-1.2.7 --with-select_module --wi
th-http_realip_module --with-http_addition_module --with-http_sub_module --with-
http_dav_module --with-http_stub_status_module --with-http_flv_module --with-htt
p_mp4_module --with-http_gzip_static_module --with-http_random_index_module --wi
th-http_secure_link_module --with-mail --with-openssl=objs.msvc8/lib/openssl-1.0
.1c --with-openssl-opt=enable-tlsext --with-http_ssl_module --with-mail_ssl_modu
le --with-ipv6

Description

Примерно через 5 минут после запуска, nginx перестает отдавать что бы то нибыло. не отдает ни результат работы php, ни статику. Сейчас работаю на 1.2.5, а так же баг был замечен мной ранее, около гада назад, версию затрудняюсь назвать.

Change History (5)

comment:1 by Sergey Budnevitch, 11 years ago

А что в error.log'е и какой конфиг?

in reply to:  1 ; comment:2 by openid.yandex.ru/naym3333, 11 years ago

Replying to Sergey Budnevitch:

А что в error.log'е и какой конфиг?

в логе ничего не пишет,
конфиг:

worker_processes 2;

error_log logs/error.log;

events {
  worker_connections 1024;
}

http {
  include mime.types;
  default_type application/octet-stream;
  sendfile on;
  keepalive_timeout 65;
  gzip on;
  upstream backend {
    server 127.0.0.1:9000;
    server 127.0.0.1:9001;
    server 127.0.0.1:9002;
    server 127.0.0.1:9003;
    server 127.0.0.1:9004;
  }
  server {
    listen 80 default;
    server_name localhost;
    access_log logs/access.log;
    server_tokens off;
    location / {
      root public_html;
      index index.html index.htm index.php;
location ~ \.php$ {
        include fastcgi_params;
      }
    }
    include def_locks;
  }}


in reply to:  2 ; comment:3 by Sergey Budnevitch, 11 years ago

Поставьте worker_processes 1; (см. http://nginx.org/en/docs/windows.html), если проблема будет повторяться - включите error_log на уровне debug.

in reply to:  3 comment:4 by openid.yandex.ru/naym3333, 11 years ago

Replying to Sergey Budnevitch:

Поставьте worker_processes 1; (см. http://nginx.org/en/docs/windows.html), если проблема будет повторяться - включите error_log на уровне debug.

Спасибо, проблема исчерпана. worker_processes 1; помог.

comment:5 by Sergey Budnevitch, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.