<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>То ли сначала не заметил, то ли это после configure ...... --add-module=../ngx_http_upstream_keepalive-2ce9d8a1ca93/</div><div><br></div><div>2010/02/09 16:20:47 [error] 28108#0: *30149916 memcached sent invalid trailer while sending to client, client: 75.76.60.101, server: tablew.ru, request: "GET /site/user.php?user=YYYYY HTTP/1.1", upstream: "<a href="memcached://unix:/tmp/memcached.sock:">memcached://unix:/tmp/memcached.sock:</a>", host: "<a href="http://tablew.ru">tablew.ru</a>", referrer:&nbsp;</div><div>"<a href="http://tablew.ru">http://tablew.ru</a>"</div><div><br></div><div>2010/02/09 16:20:48 [alert] 11625#0: worker process 28108 exited on signal 11 (core dumped)</div><div><br></div><div>memcached 1.4.4</div><div>/usr/local/bin/memcached -u nobody -m 256 -c 8192 -d -s /tmp/memcached.sock</div><div><br></div><div>в nginx.conf:</div><div><br></div><div>upstream tablew_mmc {</div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>server &nbsp;unix:/tmp/memcached.sock;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>keepalive 30; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>....</div><div><br></div><div><div>location = /site/user.php {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>set $memcached_key "${query_string}_${cookie_shar}${cookie_show}${cookie_uid}${cookie_admin}";</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>memcached_pass tablew_mmc;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ssi on;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        error_page 404 502 /</span>site<span class="Apple-tab-span" style="white-space:pre">/user_real.php?$query_string;</span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div></div><div>....&nbsp;</div><div>в этом ^^^ еще несколько &nbsp;&lt;!--# ssi include virtual="/mmc/today/....." --&gt;</div><div>конкретно эта корка на запросе с 13&nbsp;</div><div><br></div><div>location ~ /mmc/today/(\d+) {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>internal; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>set $memcached_key "today_$1";</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>memcached_pass tablew_mmc;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>error_page 404 502 /main/ssi/today_counter.php?ad=$1;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div></div></div><div><br></div><div><blockquote type="cite"><div><blockquote type="cite"># ../sbin/nginx -V</blockquote><blockquote type="cite">nginx version: nginx/0.8.33<br></blockquote><blockquote type="cite">built by gcc 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) <br></blockquote><blockquote type="cite">configure arguments: --with-http_stub_status_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --without-http_autoindex_module --without-http_browser_module --without-http_charset_module --without-http_map_module --without-http_userid_module --with-file-aio</blockquote></div></blockquote><div><br></div><div>добавил&nbsp;--add-module=../ngx_http_upstream_keepalive-2ce9d8a1ca93/</div><div>жить стало интереснее, работает быстрее, падает, как и раньше, произвольно. core уже от этой сборки</div><br><blockquote type="cite"><div>Если aio используется - попробовать отключить.<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><div><br></div><div>не помогло</div><br><blockquote type="cite"><div>Также было бы замечательно пересобраться с --with-debug и <br>попробовать получить debug log.<br></div></blockquote><div><br></div>сервер сильно боевой - лог получается космический. debug_connection не помогает - я не могу нарваться на эту ошибку :(<br><br></div><div><div># gdb ../sbin/nginx ./core.1620&nbsp;</div><div>GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs</div><div>Copyright (C) 2008 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;</div><div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law. &nbsp;Type "show copying"</div><div>and "show warranty" for details.</div><div>This GDB was configured as "x86_64-suse-linux".</div><div>For bug reporting instructions, please see:</div><div>&lt;<a href="http://bugs.opensuse.org/">http://bugs.opensuse.org/</a>&gt;...</div><div><br></div><div>warning: Can't read pathname for load map: Input/output error.</div><div>Reading symbols from /lib64/libcrypt.so.1...done.</div><div>Loaded symbols for /lib64/libcrypt.so.1</div><div>Reading symbols from /usr/lib64/libpcre.so.0...done.</div><div>Loaded symbols for /usr/lib64/libpcre.so.0</div><div>Reading symbols from /usr/lib64/libcrypto.so.0.9.8...done.</div><div>Loaded symbols for /usr/lib64/libcrypto.so.0.9.8</div><div>Reading symbols from /lib64/libz.so.1...done.</div><div>Loaded symbols for /lib64/libz.so.1</div><div>Reading symbols from /lib64/libc.so.6...done.</div><div>Loaded symbols for /lib64/libc.so.6</div><div>Reading symbols from /lib64/libdl.so.2...done.</div><div>Loaded symbols for /lib64/libdl.so.2</div><div>Reading symbols from /lib64/ld-linux-x86-64.so.2...done.</div><div>Loaded symbols for /lib64/ld-linux-x86-64.so.2</div><div>Core was generated by `nginx: worker process &nbsp; &nbsp; &nbsp;'.</div><div>Program terminated with signal 11, Segmentation fault.</div><div>#0 &nbsp;0x0000000000427bc2 in ngx_http_close_request (r=0x686750, rc=0) at src/http/ngx_http_request.c:2885</div><div>2885<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp;ngx_log_error(NGX_LOG_ALERT, c-&gt;log, 0, "http request count is zero");</div><div>(gdb) bt</div><div>#0 &nbsp;0x0000000000427bc2 in ngx_http_close_request (r=0x686750, rc=0) at src/http/ngx_http_request.c:2885</div><div>#1 &nbsp;0x00000000004294d4 in ngx_http_finalize_connection (r=0xabd650) at src/http/ngx_http_request.c:2112</div><div>#2 &nbsp;0x0000000000429bff in ngx_http_finalize_request (r=0xabd650, rc=0) at src/http/ngx_http_request.c:1854</div><div>#3 &nbsp;0x0000000000435883 in ngx_http_upstream_finalize_request (r=0xabd650, u=0xd284d0, rc=-4) at src/http/ngx_http_upstream.c:2959</div><div>#4 &nbsp;0x0000000000435da9 in ngx_http_upstream_cleanup (data=&lt;value optimized out&gt;) at src/http/ngx_http_upstream.c:2845</div><div>#5 &nbsp;0x0000000000428196 in ngx_http_terminate_request (r=&lt;value optimized out&gt;, rc=0) at src/http/ngx_http_request.c:2054</div><div>#6 &nbsp;0x0000000000429cce in ngx_http_finalize_request (r=0xf53c38, rc=-1) at src/http/ngx_http_request.c:1887</div><div>#7 &nbsp;0x0000000000435883 in ngx_http_upstream_finalize_request (r=0xf53c38, u=0xc7c390, rc=-1) at src/http/ngx_http_upstream.c:2959</div><div>#8 &nbsp;0x000000000043651f in ngx_http_upstream_check_broken_connection (r=0xf53c38, ev=0x7f66499f6ca8) at src/http/ngx_http_upstream.c:1019</div><div>#9 &nbsp;0x00000000004365a3 in ngx_http_upstream_rd_check_broken_connection (r=0xabd650) at src/http/ngx_http_upstream.c:888</div><div>#10 0x0000000000427963 in ngx_http_request_handler (ev=&lt;value optimized out&gt;) at src/http/ngx_http_request.c:1775</div><div>#11 0x0000000000417816 in ngx_event_process_posted (cycle=&lt;value optimized out&gt;, posted=0x0) at src/event/ngx_event_posted.c:39</div><div>#12 0x00000000004176df in ngx_process_events_and_timers (cycle=0xad11d0) at src/event/ngx_event.c:272</div><div>#13 0x000000000041cfc1 in ngx_worker_process_cycle (cycle=0xad11d0, data=&lt;value optimized out&gt;) at src/os/unix/ngx_process_cycle.c:795</div><div>#14 0x000000000041b863 in ngx_spawn_process (cycle=0xad11d0, proc=0x41cee6 &lt;ngx_worker_process_cycle&gt;, data=0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;name=0x454e79 "worker process", respawn=-4) at src/os/unix/ngx_process.c:196</div><div>#15 0x000000000041c607 in ngx_start_worker_processes (cycle=0xad11d0, n=8, type=-4) at src/os/unix/ngx_process_cycle.c:355</div><div>#16 0x000000000041daf1 in ngx_master_process_cycle (cycle=0xad11d0) at src/os/unix/ngx_process_cycle.c:249</div><div>#17 0x000000000040453a in main (argc=&lt;value optimized out&gt;, argv=0x7fff566633b8) at src/core/nginx.c:396</div><div>(gdb) fr 0</div><div>#0 &nbsp;0x0000000000427bc2 in ngx_http_close_request (r=0x686750, rc=0) at src/http/ngx_http_request.c:2885</div><div>2885<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp;ngx_log_error(NGX_LOG_ALERT, c-&gt;log, 0, "http request count is zero");</div><div>(gdb) p c</div><div>$1 = (ngx_connection_t *) 0x90beb0</div><div>(gdb) p *c</div><div>$2 = {data = 0x67706a2e594e6a, read = 0x141, write = 0x686740, fd = 9459136, recv = 0x9055d0, send = 0, recv_chain = 0xb0,&nbsp;</div><div>&nbsp;&nbsp;send_chain = 0x90bec0, listening = 0x0, sent = 9459264, log = 0x0, pool = 0x90bf20, sockaddr = 0x63059f437ce50002, socklen = 0,&nbsp;</div><div>&nbsp;&nbsp;addr_text = {len = 4, data = 0xad13e0 "\005"}, local_sockaddr = 0x1d463f9, buffer = 0x4281e7, number = 9486176, requests = 4539729,&nbsp;</div><div>&nbsp;&nbsp;buffered = 54, log_error = 7, single_connection = 0, unexpected_eof = 1, timedout = 1, error = 0, destroyed = 0, idle = 0, close = 1,&nbsp;</div><div>&nbsp;&nbsp;sendfile = 1, sndlowat = 1, tcp_nodelay = 2, tcp_nopush = 0}</div><div>(gdb) p *r</div><div>$3 = {signature = 9009072, connection = 0x90beb0, ctx = 0x0, main_conf = 0x0, srv_conf = 0x7f0820, loc_conf = 0x7fb038,&nbsp;</div><div>&nbsp;&nbsp;read_event_handler = 0x42a17c &lt;ngx_http_test_reading&gt;, write_event_handler = 0x42a265 &lt;ngx_http_writer&gt;, cache = 0x0,&nbsp;</div><div>&nbsp;&nbsp;upstream = 0xaeab78, upstream_states = 0xaecb00, pool = 0xaebc60, header_in = 0x9055f0, headers_in = {headers = {last = 0x6867c0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;part = {elts = 0xaec400, nelts = 5, next = 0x0}, size = 48, nalloc = 20, pool = 0xaebc60}, host = 0xaec430, connection = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;if_modified_since = 0x0, user_agent = 0xaec400, referer = 0x0, content_length = 0x0, content_type = 0x0, range = 0x0, if_range = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;transfer_encoding = 0x0, expect = 0x0, accept_encoding = 0x0, via = 0x0, authorization = 0x0, keep_alive = 0x0, x_forwarded_for = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;user = {len = 0, data = 0x458c60 ""}, passwd = {len = 0, data = 0x0}, cookies = {elts = 0xaec7c0, nelts = 0, size = 8, nalloc = 2,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;pool = 0xaebc60}, server = {len = 9, data = 0xaec7de "tablew.ruaccept-languageacceptaccept-charsetФС Фф\230"},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_length_n = -1, keep_alive_n = -1, connection_type = 0, msie = 0, msie4 = 0, msie6 = 0, opera = 0, gecko = 1, chrome = 0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;safari = 0, konqueror = 0}, headers_out = {headers = {last = 0x6868e8, part = {elts = 0xaebcb0, nelts = 1, next = 0x0}, size = 48,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;nalloc = 20, pool = 0xaebc60}, status = 404, status_line = {len = 0, data = 0x4579a7 "200 OK"}, server = 0x0, date = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_length = 0x0, content_encoding = 0x0, location = 0x0, refresh = 0x0, last_modified = 0x0, content_range = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;accept_ranges = 0x0, www_authenticate = 0x0, expires = 0x0, etag = 0x0, override_charset = 0x0, content_type_len = 9, content_type = {</div><div>&nbsp;&nbsp; &nbsp; &nbsp;len = 31, data = 0xaeb654 "text/html; charset=windows-1251"}, charset = {len = 12, data = 0xaeb667 "windows-1251"},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_type_lowcase = 0xaeb680 "text/htmlµ®", content_type_hash = 101824002410317, cache_control = {elts = 0x0, nelts = 0, size = 0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;nalloc = 0, pool = 0x0}, content_length_n = -1, date_time = 0, last_modified_time = -1}, request_body = 0xaecc08,&nbsp;</div><div>&nbsp;&nbsp;lingering_time = 0, start_sec = 1265722505, start_msec = 7, method = 2, http_version = 1001, request_line = {len = 0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;data = 0x8977c0 "РДв"}, uri = {len = 19, data = 0xaecbe8 "/site/user_real.php?user=XXXXXЩ}"}, args = {len = 10,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;data = 0xaecbfc "user=XXXXXЩ}"}, exten = {len = 3, data = 0xaecbf8 "php?user=XXXXXЩ}"}, unparsed_uri = {len = 12, data = 0x8977c4 ""},&nbsp;</div><div>&nbsp;&nbsp;method_name = {len = 3, data = 0x455844 "GET "}, http_protocol = {len = 8, data = 0x8977d1 ""}, out = 0xf53c18, main = 0x686750,&nbsp;</div><div>&nbsp;&nbsp;parent = 0x0, postponed = 0xf54208, post_subrequest = 0x0, posted_requests = 0x0, virtual_names = 0xbb7ff8, phase_handler = 9,&nbsp;</div><div>&nbsp;&nbsp;content_handler = 0x44d8ef &lt;ngx_http_fastcgi_handler&gt;, access_code = 0, variables = 0xaec160, ncaptures = 4, captures = 0xaec810,&nbsp;</div><div>&nbsp;&nbsp;captures_data = 0x8977c4 "", limit_rate = 0, header_size = 264, request_length = 353, err_status = 404, http_connection = 0x90bf78,&nbsp;</div><div>&nbsp;&nbsp;log_handler = 0x4282ab &lt;ngx_http_log_error_handler&gt;, cleanup = 0x0, subrequests = 51, count = 0, blocked = 0, aio = 0, http_state = 6,&nbsp;</div><div>&nbsp;&nbsp;complex_uri = 0, quoted_uri = 0, plus_in_uri = 0, zero_in_uri = 0, invalid_header = 0, valid_location = 1, valid_unparsed_uri = 1,&nbsp;</div><div>&nbsp;&nbsp;uri_changed = 0, uri_changes = 9, request_body_in_single_buf = 0, request_body_in_file_only = 0, request_body_in_persistent_file = 0,&nbsp;</div><div>&nbsp;&nbsp;request_body_in_clean_file = 0, request_body_file_group_access = 0, request_body_file_log_level = 5, subrequest_in_memory = 0,&nbsp;</div><div>&nbsp;&nbsp;waited = 0, cached = 0, gzip_tested = 0, gzip_ok = 0, gzip_vary = 0, proxy = 0, bypass_cache = 0, no_cache = 0, limit_zone_set = 0,&nbsp;</div><div>&nbsp;&nbsp;limit_req_set = 0, pipeline = 0, plain_http = 0, chunked = 1, header_only = 0, zero_body = 0, keepalive = 1, lingering_close = 0,&nbsp;</div><div>&nbsp;&nbsp;discard_body = 0, internal = 1, error_page = 1, ignore_content_encoding = 0, filter_finalize = 0, post_action = 0, request_complete = 0,&nbsp;</div><div>&nbsp;&nbsp;request_output = 1, header_sent = 1, expect_tested = 1, root_tested = 0, done = 0, logged = 0, buffered = 0,&nbsp;</div><div>&nbsp;&nbsp;main_filter_need_in_memory = 0, filter_need_in_memory = 1, filter_need_temporary = 0, allow_ranges = 0, stat_reading = 0,&nbsp;</div><div>&nbsp;&nbsp;stat_writing = 1, state = 0, header_hash = 2609428126162509838, lowcase_index = 12,&nbsp;</div><div>&nbsp;&nbsp;lowcase_header = "content-typeete", '\0' &lt;repeats 16 times&gt;,&nbsp;</div><div>&nbsp;&nbsp;header_name_start = 0xc8739e "HTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSI"...,&nbsp;</div><div>&nbsp;&nbsp;header_name_end = 0xc8737b "HTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSI"...,&nbsp;</div><div>&nbsp;&nbsp;header_start = 0xc8737d "HTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSI"...,&nbsp;</div><div>&nbsp;&nbsp;header_end = 0xc8739e "HTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSIHTML_CODE_FROM_PAGE_W_SSI"..., uri_start = 0x8977c4 "",&nbsp;</div><div>&nbsp;&nbsp;uri_end = 0x8977d0 "", uri_ext = 0x0, args_start = 0x0, request_start = 0x8977c0 "РДв", request_end = 0x8977d9 "",&nbsp;</div><div>&nbsp;&nbsp;method_end = 0x8977c2 "в", schema_start = 0x0, schema_end = 0x0, host_start = 0x0, host_end = 0x0, port_start = 0x0, port_end = 0x0,&nbsp;</div><div>&nbsp;&nbsp;http_minor = 1, http_major = 1}</div><div>(gdb) fr 2</div><div>#2 &nbsp;0x0000000000429bff in ngx_http_finalize_request (r=0xabd650, rc=0) at src/http/ngx_http_request.c:1854</div><div>1854<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; &nbsp;ngx_http_finalize_connection(r);</div><div>(gdb) p *r</div><div>$4 = {signature = 1347703880, connection = 0x7f664a07f468, ctx = 0xabd000, main_conf = 0xad1ae0, srv_conf = 0x7f0820, loc_conf = 0x7fe108,&nbsp;</div><div>&nbsp;&nbsp;read_event_handler = 0x436592 &lt;ngx_http_upstream_rd_check_broken_connection&gt;,&nbsp;</div><div>&nbsp;&nbsp;write_event_handler = 0x437198 &lt;ngx_http_upstream_process_non_buffered_downstream&gt;, cache = 0x0, upstream = 0xd284d0,&nbsp;</div><div>&nbsp;&nbsp;upstream_states = 0xd282c0, pool = 0xaebc60, header_in = 0x0, headers_in = {headers = {last = 0x6867c0, part = {elts = 0xaec400,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;nelts = 5, next = 0x0}, size = 48, nalloc = 20, pool = 0xaebc60}, host = 0xaec430, connection = 0x0, if_modified_since = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;user_agent = 0xaec400, referer = 0x0, content_length = 0x0, content_type = 0x0, range = 0x0, if_range = 0x0, transfer_encoding = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;expect = 0x0, accept_encoding = 0x0, via = 0x0, authorization = 0x0, keep_alive = 0x0, x_forwarded_for = 0x0, user = {len = 0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;data = 0x458c60 ""}, passwd = {len = 0, data = 0x0}, cookies = {elts = 0xaec7c0, nelts = 0, size = 8, nalloc = 2, pool = 0xaebc60},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;server = {len = 9, data = 0xaec7de "tablew.ruaccept-languageacceptaccept-charsetФС Фф\230"}, content_length_n = -1, keep_alive_n = -1,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;connection_type = 0, msie = 0, msie4 = 0, msie6 = 0, opera = 0, gecko = 1, chrome = 0, safari = 0, konqueror = 0}, headers_out = {</div><div>&nbsp;&nbsp; &nbsp;headers = {last = 0xabd7e8, part = {elts = 0xabdb30, nelts = 0, next = 0x0}, size = 48, nalloc = 20, pool = 0xaebc60}, status = 200,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;status_line = {len = 0, data = 0x0}, server = 0x0, date = 0x0, content_length = 0x0, content_encoding = 0x0, location = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;refresh = 0x0, last_modified = 0x0, content_range = 0x0, accept_ranges = 0x0, www_authenticate = 0x0, expires = 0x0, etag = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;override_charset = 0x0, content_type_len = 9, content_type = {len = 9, data = 0x7f1596 "text/html"}, charset = {len = 0, data = 0x0},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_type_lowcase = 0x0, content_type_hash = 0, cache_control = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_length_n = 1, date_time = 0, last_modified_time = -1}, request_body = 0xaecc08, lingering_time = 0, start_sec = 0,&nbsp;</div><div>&nbsp;&nbsp;start_msec = 0, method = 2, http_version = 1001, request_line = {len = 25, data = 0x8977c0 "РДв"}, uri = {len = 17,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;data = 0xabc1a0 "/mmc/today/274432{\220НRЮ\f)Zf\204"}, args = {len = 0, data = 0x0}, exten = {len = 0, data = 0x0}, unparsed_uri = {</div><div>&nbsp;&nbsp; &nbsp;len = 12, data = 0x8977c4 ""}, method_name = {len = 3, data = 0x455844 "GET "}, http_protocol = {len = 8, data = 0x8977d1 ""},&nbsp;</div><div>&nbsp;&nbsp;out = 0x0, main = 0x686750, parent = 0x686750, postponed = 0xe2ff78, post_subrequest = 0x0, posted_requests = 0x0, virtual_names = 0x0,&nbsp;</div><div>&nbsp;&nbsp;phase_handler = 9, content_handler = 0x44fffa &lt;ngx_http_memcached_handler&gt;, access_code = 0, variables = 0xaec160, ncaptures = 4,&nbsp;</div><div>&nbsp;&nbsp;captures = 0xd280e0, captures_data = 0xabc1a0 "/mmc/today/274432{\220НRЮ\f)Zf\204", limit_rate = 0, header_size = 0, request_length = 0,&nbsp;</div><div>&nbsp;&nbsp;err_status = 0, http_connection = 0x0, log_handler = 0x4282ab &lt;ngx_http_log_error_handler&gt;, cleanup = 0x0, subrequests = 0, count = 0,&nbsp;</div><div>&nbsp;&nbsp;blocked = 0, aio = 0, http_state = 0, complex_uri = 0, quoted_uri = 0, plus_in_uri = 0, zero_in_uri = 0, invalid_header = 0,&nbsp;</div><div>&nbsp;&nbsp;valid_location = 1, valid_unparsed_uri = 1, uri_changed = 0, uri_changes = 11, request_body_in_single_buf = 0,&nbsp;</div><div>&nbsp;&nbsp;request_body_in_file_only = 0, request_body_in_persistent_file = 0, request_body_in_clean_file = 0, request_body_file_group_access = 0,&nbsp;</div><div>&nbsp;&nbsp;request_body_file_log_level = 5, subrequest_in_memory = 0, waited = 0, cached = 0, gzip_tested = 0, gzip_ok = 0, gzip_vary = 0,&nbsp;</div><div>&nbsp;&nbsp;proxy = 0, bypass_cache = 0, no_cache = 0, limit_zone_set = 0, limit_req_set = 0, pipeline = 0, plain_http = 0, chunked = 0,&nbsp;</div><div>&nbsp;&nbsp;header_only = 0, zero_body = 0, keepalive = 0, lingering_close = 0, discard_body = 0, internal = 1, error_page = 0,&nbsp;</div><div>&nbsp;&nbsp;ignore_content_encoding = 0, filter_finalize = 0, post_action = 0, request_complete = 0, request_output = 1, header_sent = 1,&nbsp;</div><div>&nbsp;&nbsp;expect_tested = 1, root_tested = 0, done = 0, logged = 0, buffered = 0, main_filter_need_in_memory = 0, filter_need_in_memory = 0,&nbsp;</div><div>&nbsp;&nbsp;filter_need_temporary = 0, allow_ranges = 0, stat_reading = 0, stat_writing = 0, state = 0, header_hash = 0, lowcase_index = 0,&nbsp;</div><div>&nbsp;&nbsp;lowcase_header = '\0' &lt;repeats 31 times&gt;, header_name_start = 0x0, header_name_end = 0x0, header_start = 0x0, header_end = 0x0,&nbsp;</div><div>&nbsp;&nbsp;uri_start = 0x0, uri_end = 0x0, uri_ext = 0x0, args_start = 0x0, request_start = 0x0, request_end = 0x0, method_end = 0x0,&nbsp;</div><div>&nbsp;&nbsp;schema_start = 0x0, schema_end = 0x0, host_start = 0x0, host_end = 0x0, port_start = 0x0, port_end = 0x0, http_minor = 0, http_major = 0}</div><div>(gdb) fr 9</div><div>#9 &nbsp;0x00000000004365a3 in ngx_http_upstream_rd_check_broken_connection (r=0xabd650) at src/http/ngx_http_upstream.c:888</div><div>888<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp;ngx_http_upstream_check_broken_connection(r, r-&gt;connection-&gt;read);</div><div>(gdb) p *r</div><div>$5 = {signature = 1347703880, connection = 0x7f664a07f468, ctx = 0xabd000, main_conf = 0xad1ae0, srv_conf = 0x7f0820, loc_conf = 0x7fe108,&nbsp;</div><div>&nbsp;&nbsp;read_event_handler = 0x436592 &lt;ngx_http_upstream_rd_check_broken_connection&gt;,&nbsp;</div><div>&nbsp;&nbsp;write_event_handler = 0x437198 &lt;ngx_http_upstream_process_non_buffered_downstream&gt;, cache = 0x0, upstream = 0xd284d0,&nbsp;</div><div>&nbsp;&nbsp;upstream_states = 0xd282c0, pool = 0xaebc60, header_in = 0x0, headers_in = {headers = {last = 0x6867c0, part = {elts = 0xaec400,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;nelts = 5, next = 0x0}, size = 48, nalloc = 20, pool = 0xaebc60}, host = 0xaec430, connection = 0x0, if_modified_since = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;user_agent = 0xaec400, referer = 0x0, content_length = 0x0, content_type = 0x0, range = 0x0, if_range = 0x0, transfer_encoding = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;expect = 0x0, accept_encoding = 0x0, via = 0x0, authorization = 0x0, keep_alive = 0x0, x_forwarded_for = 0x0, user = {len = 0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;data = 0x458c60 ""}, passwd = {len = 0, data = 0x0}, cookies = {elts = 0xaec7c0, nelts = 0, size = 8, nalloc = 2, pool = 0xaebc60},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;server = {len = 9, data = 0xaec7de "tablew.ruaccept-languageacceptaccept-charsetФС Фф\230"}, content_length_n = -1, keep_alive_n = -1,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;connection_type = 0, msie = 0, msie4 = 0, msie6 = 0, opera = 0, gecko = 1, chrome = 0, safari = 0, konqueror = 0}, headers_out = {</div><div>&nbsp;&nbsp; &nbsp;headers = {last = 0xabd7e8, part = {elts = 0xabdb30, nelts = 0, next = 0x0}, size = 48, nalloc = 20, pool = 0xaebc60}, status = 200,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;status_line = {len = 0, data = 0x0}, server = 0x0, date = 0x0, content_length = 0x0, content_encoding = 0x0, location = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;refresh = 0x0, last_modified = 0x0, content_range = 0x0, accept_ranges = 0x0, www_authenticate = 0x0, expires = 0x0, etag = 0x0,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;override_charset = 0x0, content_type_len = 9, content_type = {len = 9, data = 0x7f1596 "text/html"}, charset = {len = 0, data = 0x0},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_type_lowcase = 0x0, content_type_hash = 0, cache_control = {elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0},&nbsp;</div><div>&nbsp;&nbsp; &nbsp;content_length_n = 1, date_time = 0, last_modified_time = -1}, request_body = 0xaecc08, lingering_time = 0, start_sec = 0,&nbsp;</div><div>&nbsp;&nbsp;start_msec = 0, method = 2, http_version = 1001, request_line = {len = 25, data = 0x8977c0 "РДв"}, uri = {len = 17,&nbsp;</div><div>&nbsp;&nbsp; &nbsp;data = 0xabc1a0 "/mmc/today/274432{\220НRЮ\f)Zf\204"}, args = {len = 0, data = 0x0}, exten = {len = 0, data = 0x0}, unparsed_uri = {</div><div>&nbsp;&nbsp; &nbsp;len = 12, data = 0x8977c4 ""}, method_name = {len = 3, data = 0x455844 "GET "}, http_protocol = {len = 8, data = 0x8977d1 ""},&nbsp;</div><div>&nbsp;&nbsp;out = 0x0, main = 0x686750, parent = 0x686750, postponed = 0xe2ff78, post_subrequest = 0x0, posted_requests = 0x0, virtual_names = 0x0,&nbsp;</div><div>&nbsp;&nbsp;phase_handler = 9, content_handler = 0x44fffa &lt;ngx_http_memcached_handler&gt;, access_code = 0, variables = 0xaec160, ncaptures = 4,&nbsp;</div><div>&nbsp;&nbsp;captures = 0xd280e0, captures_data = 0xabc1a0 "/mmc/today/274432{\220НRЮ\f)Zf\204", limit_rate = 0, header_size = 0, request_length = 0,&nbsp;</div><div>&nbsp;&nbsp;err_status = 0, http_connection = 0x0, log_handler = 0x4282ab &lt;ngx_http_log_error_handler&gt;, cleanup = 0x0, subrequests = 0, count = 0,&nbsp;</div><div>&nbsp;&nbsp;blocked = 0, aio = 0, http_state = 0, complex_uri = 0, quoted_uri = 0, plus_in_uri = 0, zero_in_uri = 0, invalid_header = 0,&nbsp;</div><div>&nbsp;&nbsp;valid_location = 1, valid_unparsed_uri = 1, uri_changed = 0, uri_changes = 11, request_body_in_single_buf = 0,&nbsp;</div><div>&nbsp;&nbsp;request_body_in_file_only = 0, request_body_in_persistent_file = 0, request_body_in_clean_file = 0, request_body_file_group_access = 0,&nbsp;</div><div>&nbsp;&nbsp;request_body_file_log_level = 5, subrequest_in_memory = 0, waited = 0, cached = 0, gzip_tested = 0, gzip_ok = 0, gzip_vary = 0,&nbsp;</div><div>&nbsp;&nbsp;proxy = 0, bypass_cache = 0, no_cache = 0, limit_zone_set = 0, limit_req_set = 0, pipeline = 0, plain_http = 0, chunked = 0,&nbsp;</div><div>&nbsp;&nbsp;header_only = 0, zero_body = 0, keepalive = 0, lingering_close = 0, discard_body = 0, internal = 1, error_page = 0,&nbsp;</div><div>&nbsp;&nbsp;ignore_content_encoding = 0, filter_finalize = 0, post_action = 0, request_complete = 0, request_output = 1, header_sent = 1,&nbsp;</div><div>&nbsp;&nbsp;expect_tested = 1, root_tested = 0, done = 0, logged = 0, buffered = 0, main_filter_need_in_memory = 0, filter_need_in_memory = 0,&nbsp;</div><div>&nbsp;&nbsp;filter_need_temporary = 0, allow_ranges = 0, stat_reading = 0, stat_writing = 0, state = 0, header_hash = 0, lowcase_index = 0,&nbsp;</div><div>&nbsp;&nbsp;lowcase_header = '\0' &lt;repeats 31 times&gt;, header_name_start = 0x0, header_name_end = 0x0, header_start = 0x0, header_end = 0x0,&nbsp;</div><div>&nbsp;&nbsp;uri_start = 0x0, uri_end = 0x0, uri_ext = 0x0, args_start = 0x0, request_start = 0x0, request_end = 0x0, method_end = 0x0,&nbsp;</div><div>&nbsp;&nbsp;schema_start = 0x0, schema_end = 0x0, host_start = 0x0, host_end = 0x0, port_start = 0x0, port_end = 0x0, http_minor = 0, http_major = 0}</div><div>(gdb)</div></div><div><br><blockquote type="cite"><div>И было бы замечательно увидеть конфиг, по крайней мере части&nbsp;</div></blockquote><blockquote type="cite"><div>относящиеся к рассматриваемым запросам (я так понимаю там ssi?).</div></blockquote><blockquote type="cite"><div>Maxim Dounin<br></div></blockquote><br></div><div>Спасибо!</div><br></body></html>