<div><div>nginx -V</div><div>nginx version: nginx/0.8.53</div><div>TLS SNI support enabled</div><div>configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt=&#39;-I /usr/local/include&#39; --with-ld-opt=&#39;-L /usr/local/lib&#39; --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --user=www --group=www --with-debug --with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx/access.log --with-http_addition_module --with-http_geoip_module --with-http_realip_module --add-module=/usr/ports/www/nginx/work/ngx_http_response-0.3 --with-http_secure_link_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-pcre</div>
</div><div><br></div><div>Попробую предоставить debug log </div><div>-----------------------------------------------------</div><div>(gdb) fr 0</div><div>#0  0x0000000000477ba3 in ngx_http_file_cache_free (c=0x81085f368, tf=0x81085fe80) at src/http/ngx_http_file_cache.c:940</div>
<div>940     in src/http/ngx_http_file_cache.c</div><div>(gdb) p *fcn</div><div>$3 = {node = {key = 0, left = 0x0, right = 0x0, parent = 0x0, color = 1 &#39;\001&#39;, data = 208 &#39;п&#39;}, queue = {prev = 0x0, next = 0x0}, key = &quot;y╧ґй+\237\236]&quot;,</div>
<div>  count = 0, uses = 1, valid_msec = 0, error = 0, exists = 0, updating = 0, deleting = 0, uniq = 0, expire = 1288851999, valid_sec = 0, body_start = 0,</div><div>  length = 0}</div><div>(gdb) fr 1</div><div>#1  0x00000000004697f6 in ngx_http_upstream_process_request (r=0x801264d00) at src/http/ngx_http_upstream.c:2664</div>
<div>2664    src/http/ngx_http_upstream.c: No such file or directory.</div><div>        in src/http/ngx_http_upstream.c</div><div>(gdb) p *r</div><div>$4 = {signature = 1347703880, connection = 0x81100b690, ctx = 0x81085c410, main_conf = 0x80126ce78, srv_conf = 0x81025d530, loc_conf = 0x810261780,</div>
<div>  read_event_handler = 0x465a00 &lt;ngx_http_upstream_rd_check_broken_connection&gt;, write_event_handler = 0x4692d0 &lt;ngx_http_upstream_process_downstream&gt;,</div><div>  cache = 0x81085f368, upstream = 0x81085f020, upstream_states = 0x81085f8d0, pool = 0x81085c000, header_in = 0x802005820, headers_in = {headers = {</div>
<div>      last = 0x801264d70, part = {elts = 0x81085c888, nelts = 9, next = 0x0}, size = 48, nalloc = 20, pool = 0x81085c000}, host = 0x81085c9a8,</div><div>    connection = 0x0, if_modified_since = 0x0, user_agent = 0x81085c978, referer = 0x81085c8e8, content_length = 0x0, content_type = 0x0, range = 0x0,</div>
<div>    if_range = 0x0, transfer_encoding = 0x0, expect = 0x0, accept_encoding = 0x81085c948, via = 0x0, authorization = 0x0, keep_alive = 0x0,</div><div>    x_forwarded_for = 0x0, x_real_ip = 0x0, user = {len = 0, data = 0x0}, passwd = {len = 0, data = 0x0}, cookies = {elts = 0x81085cc48, nelts = 1,</div>
<div>      size = 8, nalloc = 2, pool = 0x81085c000}, server = {len = 8, data = 0x81085cca0 &quot;rarib.ruconnectioncookie иs\020\b&quot;}, content_length_n = -1,</div><div>    keep_alive_n = -1, connection_type = 2, msie = 1, msie4 = 0, msie6 = 0, opera = 0, gecko = 0, chrome = 0, safari = 0, konqueror = 0}, headers_out = {</div>
<div>    headers = {last = 0x801264ea0, part = {elts = 0x81085c050, nelts = 4, next = 0x0}, size = 48, nalloc = 20, pool = 0x81085c000}, status = 200,</div><div>    status_line = {len = 6, data = 0x81085fbc0 &quot;200 OKDate&quot;}, server = 0x0, date = 0x0, content_length = 0x81085c0e0, content_encoding = 0x0,</div>
<div>    location = 0x0, refresh = 0x0, last_modified = 0x81085c050, content_range = 0x0, accept_ranges = 0x81085c0b0, www_authenticate = 0x0, expires = 0x0,</div><div>    etag = 0x81085c080, override_charset = 0x0, content_type_len = 11, content_type = {len = 11, data = 0x81085fcd3 &quot;video/x-flv&quot;}, charset = {len = 0,</div>
<div>      data = 0x0}, content_type_lowcase = 0x0, content_type_hash = 0, cache_control = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0},</div><div>    content_length_n = 234083456, date_time = 0, last_modified_time = 1286239310}, request_body = 0x81085cfa8, lingering_time = 0, start_sec = 1288851399,</div>
<div>  start_msec = 29, method = 2, http_version = 1001, request_line = {len = 42, data = 0x80123a800 &quot;GET /pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;},</div><div>  uri = {len = 29, data = 0x80123a804 &quot;/pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;}, args = {len = 0, data = 0x0}, exten = {len = 3,</div>
<div>    data = 0x80123a81e &quot;flv HTTP/1.1\r\nAccept&quot;}, unparsed_uri = {len = 29, data = 0x80123a804 &quot;/pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;},</div><div>  method_name = {len = 3, data = 0x80123a800 &quot;GET /pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;}, http_protocol = {len = 8,</div>
<div>    data = 0x80123a822 &quot;HTTP/1.1\r\nAccept&quot;}, out = 0x81081b9a0, main = 0x801264d00, parent = 0x0, postponed = 0x0, post_subrequest = 0x0,</div><div>  posted_requests = 0x0, virtual_names = 0x810dce3a8, phase_handler = 12, content_handler = 0x49d160 &lt;ngx_http_proxy_handler&gt;, access_code = 0,</div>
<div>  variables = 0x81085c588, ncaptures = 4, captures = 0x81085cdb0, captures_data = 0x80123a804 &quot;/pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;,</div><div>  limit_rate = 0, header_size = 256, request_length = 727, err_status = 0, http_connection = 0x8020057b8,</div>
<div>  log_handler = 0x453400 &lt;ngx_http_log_error_handler&gt;, cleanup = 0x81085f930, subrequests = 51, count = 1, blocked = 0, aio = 0, http_state = 2,</div><div>  complex_uri = 0, quoted_uri = 0, plus_in_uri = 0, space_in_uri = 0, invalid_header = 0, add_uri_to_alias = 0, valid_location = 1, valid_unparsed_uri = 1,</div>
<div>  uri_changed = 0, uri_changes = 11, request_body_in_single_buf = 0, request_body_in_file_only = 0, request_body_in_persistent_file = 0,</div><div>  request_body_in_clean_file = 0, request_body_file_group_access = 0, request_body_file_log_level = 5, subrequest_in_memory = 0, waited = 0, cached = 0,</div>
<div>  gzip_tested = 0, gzip_ok = 0, gzip_vary = 0, proxy = 0, bypass_cache = 0, no_cache = 0, limit_zone_set = 0, limit_req_set = 0, flood_mitigation_set = 0,</div><div>  pipeline = 0, plain_http = 0, chunked = 0, header_only = 0, keepalive = 1, lingering_close = 0, discard_body = 0, internal = 0, error_page = 0,</div>
<div>  ignore_content_encoding = 0, filter_finalize = 0, post_action = 0, request_complete = 0, request_output = 1, header_sent = 1, expect_tested = 0,</div><div>  root_tested = 0, done = 0, logged = 0, buffered = 0, main_filter_need_in_memory = 0, filter_need_in_memory = 0, filter_need_temporary = 0,</div>
<div>  allow_ranges = 0, stat_reading = 0, stat_writing = 1, state = 0, header_hash = 2609428126162509838, lowcase_index = 12,</div><div>  lowcase_header = &quot;content-typethg&quot;, &#39;\0&#39; &lt;repeats 16 times&gt;,</div>
<div>  header_name_start = 0x80184214e &quot;%4\220p\230Ц\031ЭЁyrЭ\204\004В?uуY=З\021\n\002\032уЧUUu╙╙╗:s╗F+%z\177\204cc&quot;,</div><div>  header_name_end = 0x80184213f &quot;©D\177яillБЩcqwъj(%4\220p\230Ц\031ЭЁyrЭ\204\004В?uуY=З\021\n\002\032уЧUUu╙╙╗:s╗F+%z\177\204cc&quot;,</div>
<div>  header_start = 0x801842141 &quot;\177яillБЩcqwъj(%4\220p\230Ц\031ЭЁyrЭ\204\004В?uуY=З\021\n\002\032уЧUUu╙╙╗:s╗F+%z\177\204cc&quot;,</div><div>  header_end = 0x80184214e &quot;%4\220p\230Ц\031ЭЁyrЭ\204\004В?uуY=З\021\n\002\032уЧUUu╙╙╗:s╗F+%z\177\204cc&quot;,</div>
<div>  uri_start = 0x80123a804 &quot;/pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;, uri_end = 0x80123a821 &quot; HTTP/1.1\r\nAccept&quot;,</div><div>  uri_ext = 0x80123a81e &quot;flv HTTP/1.1\r\nAccept&quot;, args_start = 0x0, request_start = 0x80123a800 &quot;GET /pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;,</div>
<div>  request_end = 0x80123a82a &quot;\r\nAccept&quot;, method_end = 0x80123a802 &quot;T /pdir/video/nExFZ_Rp.part.flv HTTP/1.1\r\nAccept&quot;, schema_start = 0x0,</div><div>  schema_end = 0x0, host_start = 0x0, host_end = 0x0, port_start = 0x0, port_end = 0x0, http_minor = 1, http_major = 1}</div>
<div>(gdb) p *u</div><div>$5 = {read_event_handler = 0x469510 &lt;ngx_http_upstream_process_upstream&gt;, write_event_handler = 0x469bf0 &lt;ngx_http_upstream_dummy_handler&gt;, peer = {</div><div>    connection = 0x81100f740, sockaddr = 0x81085fa10, socklen = 16, name = 0x81085f9a8, tries = 1, get = 0x46e990 &lt;ngx_http_upstream_get_round_robin_peer&gt;,</div>
<div>    free = 0x46f320 &lt;ngx_http_upstream_free_round_robin_peer&gt;, data = 0x81085f948, set_session = 0x46f540 &lt;ngx_http_upstream_set_round_robin_peer_session&gt;,</div><div>    save_session = 0x46f610 &lt;ngx_http_upstream_save_round_robin_peer_session&gt;, local = 0x0, rcvbuf = 0, log = 0x802005760, cached = 0, log_error = 1},</div>
<div>  pipe = 0x81085cea8, request_bufs = 0x81085f8c0, output = {buf = 0x0, in = 0x0, free = 0x0, busy = 0x0, sendfile = 1, directio = 0, need_in_memory = 0,</div><div>    need_in_temp = 0, aio = 0, aio_handler = 0, alignment = 512, pool = 0x81085c000, allocated = 0, bufs = {num = 1, size = 131072}, tag = 0x5d19c0,</div>
<div>    output_filter = 0x40cbd0 &lt;ngx_chain_writer&gt;, filter_ctx = 0x81085f120}, writer = {out = 0x0, last = 0x81085f120, connection = 0x81100f740,</div><div>    pool = 0x81085c000, limit = 0}, conf = 0x810261dc8, headers_in = {headers = {last = 0x81085f158, part = {elts = 0x81085fa40, nelts = 8, next = 0x0},</div>
<div>      size = 48, nalloc = 8, pool = 0x81085c000}, status_n = 200, status_line = {len = 6, data = 0x81085fbc0 &quot;200 OKDate&quot;}, status = 0x0,</div><div>    date = 0x81085fa40, server = 0x81085fa70, connection = 0x0, expires = 0x0, etag = 0x81085fad0, x_accel_expires = 0x0, x_accel_redirect = 0x0,</div>
<div>    x_accel_limit_rate = 0x0, content_type = 0x81085fb90, content_length = 0x81085fb30, last_modified = 0x81085faa0, location = 0x0,</div><div>    accept_ranges = 0x81085fb00, www_authenticate = 0x0, content_encoding = 0x0, content_length_n = 234083456, cache_control = {elts = 0x0, nelts = 0,</div>
<div>      size = 0, nalloc = 0, pool = 0x0}}, resolved = 0x81085ce60, buffer = {pos = 0x801842000 &quot;\217*╩гZT^т\v\002\203\210tЕ╡\206QzЄьT╘й═х)\216\023м4ЫM\230&quot;,</div><div>    last = 0x801842000 &quot;\217*╩гZT^т\v\002\203\210tЕ╡\206QzЄьT╘й═х)\216\023м4ЫM\230&quot;, file_pos = 0, file_last = 0,</div>
<div>    start = 0x801842000 &quot;\217*╩гZT^т\v\002\203\210tЕ╡\206QzЄьT╘й═х)\216\023м4ЫM\230&quot;, end = 0x801844000 &quot;(П^&quot;, tag = 0x5d19c0, file = 0x0, shadow = 0x0,</div><div>    temporary = 1, memory = 0, mmap = 0, recycled = 1, in_file = 0, flush = 0, sync = 0, last_buf = 0, last_in_chain = 0, last_shadow = 0, temp_file = 0,</div>
<div>    num = 26872}, length = 234083456, out_bufs = 0x0, busy_bufs = 0x0, free_bufs = 0x0, input_filter_init = 0, input_filter = 0, input_filter_ctx = 0x0,</div><div>  create_key = 0x49d900 &lt;ngx_http_proxy_create_key&gt;, create_request = 0x49dd70 &lt;ngx_http_proxy_create_request&gt;,</div>
<div>  reinit_request = 0x49ec90 &lt;ngx_http_proxy_reinit_request&gt;, process_header = 0x49ef90 &lt;ngx_http_proxy_process_header&gt;,</div><div>  abort_request = 0x49f440 &lt;ngx_http_proxy_abort_request&gt;, finalize_request = 0x49f490 &lt;ngx_http_proxy_finalize_request&gt;, rewrite_redirect = 0,</div>
<div>  timeout = 0, state = 0x81085f8f8, method = {len = 0, data = 0x0}, schema = {len = 7, data = 0x81085ce40 &quot;http://188.127.242.234:80╔╔╔╔╔╔╔\017&quot;}, uri = {</div><div>    len = 29,</div><div>    data = 0x81085f5b4 &quot;/pdir/video/nExFZ_Rp.part.flv HTTP/1.0\r\nHost: <a href="http://rarib.ru">rarib.ru</a>\r\nX-Real-IP: 95.154.116.140\r\nX-Forwarded-For: 95.154.116.140\r\nConnection: close\r\nAccept: */*\r\nAccept-Language: ru-RU\r\nReferer: <a href="http://flv-mp3.com/">http://flv-mp3.com/</a>&quot;...}, cleanup = 0x81085f930, store = 0, cacheable = 1, accel = 1,</div>
<div>  ssl = 0, cache_status = 1, buffering = 1, request_sent = 1, header_sent = 1}</div><div>(gdb) p *p</div><div>$6 = {upstream = 0x81100f740, downstream = 0x81100b690, free_raw_bufs = 0x8108e5ff0, in = 0x0, last_in = 0x81085cec0, out = 0x0, last_out = 0x810818d78,</div>
<div>  free = 0x810818d70, busy = 0x0, input_filter = 0x42e1a0 &lt;ngx_event_pipe_copy_input_filter&gt;, input_ctx = 0x0,</div><div>  output_filter = 0x444d70 &lt;ngx_http_output_filter&gt;, output_ctx = 0x801264d00, read = 0, cacheable = 1, single_buf = 0, free_bufs = 1, upstream_done = 0,</div>
<div>  upstream_error = 1, upstream_eof = 0, upstream_blocked = 0, downstream_done = 0, downstream_error = 1, cyclic_temp_file = 0, allocated = 11, bufs = {</div><div>    num = 64, size = 8192}, tag = 0x5d19c0, busy_size = 32768, read_length = 220177144, max_temp_file_size = 1073741824, temp_file_write_size = 131072,</div>
<div>  read_timeout = 120000, send_timeout = 60000, send_lowat = 0, pool = 0x81085c000, log = 0x802005760, preread_bufs = 0x0, preread_size = 0,</div><div>  buf_to_file = 0x0, temp_file = 0x81085fe80, num = 26877}</div><div>
<br></div><br><div class="gmail_quote">4 ноября 2010 г. 12:24 пользователь Maxim Dounin <span dir="ltr">&lt;<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>&gt;</span> написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<div class="im"><br>
On Thu, Nov 04, 2010 at 09:55:23AM +0300, Никита Козлов wrote:<br>
<br>
&gt; Приветствую, nginx/0.8.53 валиться в корку.<br>
<br>
</div>nginx -V, config, debug log<br>
<br>
<a href="http://wiki.nginx.org/Debugging" target="_blank">http://wiki.nginx.org/Debugging</a><br>
<div class="im"><br>
&gt; #0  0x0000000000477ba3 in ngx_http_file_cache_free (c=0x81085f368,<br>
&gt; tf=0x81085fe80) at src/http/ngx_http_file_cache.c:940<br>
&gt; 940     src/http/ngx_http_file_cache.c: No such file or directory.<br>
&gt;         in src/http/ngx_http_file_cache.c<br>
&gt; (gdb) bt<br>
&gt; #0  0x0000000000477ba3 in ngx_http_file_cache_free (c=0x81085f368,<br>
&gt; tf=0x81085fe80) at src/http/ngx_http_file_cache.c:940<br>
<br>
</div>fr 0<br>
p *fcn<br>
<div class="im"><br>
&gt; #1  0x00000000004697f6 in ngx_http_upstream_process_request (r=0x801264d00)<br>
&gt; at src/http/ngx_http_upstream.c:2664<br>
<br>
</div>fr 1<br>
p *r<br>
p *u<br>
p *p<br>
<br>
Maxim Dounin<br>
<br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://nginx.org/mailman/listinfo/nginx-ru</a><br>
</blockquote></div><br>