https://issues.apache.org/bugzilla/show_bug.cgi?id=29744
--- Comment #87 from Stefan Fritsch <[email protected]> 2009-09-12 15:26:32 PDT --- The version in trunk has two issues: 1) If the client disconnects and the backend continues to send data fast, the backend connection will be closed only after a long time, if at all. 2) If the backend closes the connection, but the client doesn't, the apache thread hangs and will not close the connection to the client. Here is a stack trace: #0 0xf7fca430 in __kernel_vsyscall () No symbol table info available. #1 0xf7e22e2b in poll () from /lib/i686/cmov/libc.so.6 No symbol table info available. #2 0xf7f25f84 in apr_wait_for_io_or_timeout (f=0x0, s=0x8511f40, for_read=1) at support/unix/waitio.c:51 pfd = {fd = 12, events = 1, revents = 0} rc = <value optimized out> timeout = 300000 #3 0xf7f1f370 in apr_socket_recv (sock=0x8511f40, buf=0x8525f60 "\r\nNNECT localhost:5555 HTTP/1.0\r\n", len=0xff8263b4) at network_io/unix/sendrecv.c:87 rv = <value optimized out> arv = <value optimized out> #4 0xf7f5b997 in socket_bucket_read (a=0x8521fb8, str=0xff8263b8, len=0xff8263b4, block=APR_BLOCK_READ) at buckets/apr_buckets_socket.c:36 p = (apr_socket_t *) 0x8511f40 buf = 0x8525f60 "\r\nNNECT localhost:5555 HTTP/1.0\r\n" rv = <value optimized out> timeout = <value optimized out> #5 0x08083882 in ap_core_input_filter (f=0x85126d0, b=0x855a650, mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=8192) at core_filters.c:242 e = (apr_bucket *) 0x8521fb8 e = <value optimized out> rv = <value optimized out> net = <value optimized out> ctx = (core_ctx_t *) 0x8512700 str = <value optimized out> len = <value optimized out> #6 0x080bceae in logio_in_filter (f=0x85126a8, bb=0x855a650, mode=AP_MODE_READBYTES, block=APR_BLOCK_READ, readbytes=4294966780) at mod_logio.c:125 length = -580820504886116352 status = <value optimized out> #7 0x080e7ce9 in ap_discard_request_body (r=0x8523f88) at http_filters.c:1345 bucket = (apr_bucket *) 0x8523f88 bb = (apr_bucket_brigade *) 0x855a650 rv = 139607944 #8 0x08077472 in ap_finalize_request_protocol (r=0x8523f88) at protocol.c:1141 No locals. #9 0x080e75a8 in ap_process_async_request (r=0x8523f88) at http_request.c:329 c = (conn_rec *) 0x85120d8 access_status = 0 #10 0x080e762d in ap_process_request (r=0x8523f88) at http_request.c:346 bb = <value optimized out> b = <value optimized out> c = (conn_rec *) 0x85120d8 rv = <value optimized out> #11 0x080e44aa in ap_process_http_connection (c=0x85120d8) at http_core.c:194 No locals. #12 0x0808b8f9 in ap_run_process_connection (c=0x85120d8) at connection.c:41 n = 0 rv = 300000 #13 0x0811e363 in child_main (child_num_arg=<value optimized out>) at prefork.c:660 current_conn = <value optimized out> csd = (void *) 0x8511f40 thd = (apr_thread_t *) 0x850ff38 osthd = 4157912816 ptrans = (apr_pool_t *) 0x8511f00 allocator = (apr_allocator_t *) 0x8465440 status = <value optimized out> i = <value optimized out> lr = <value optimized out> pollset = (apr_pollset_t *) 0x8510190 sbh = (ap_sb_handle_t *) 0x8510188 bucket_alloc = (apr_bucket_alloc_t *) 0x8521f40 last_poll_idx = 0 #14 0x0811e6a3 in make_child (s=0x83ea9b0, slot=0) at prefork.c:754 No locals. #15 0x0811ee1a in prefork_run (_pconf=0x83df0a8, plog=0x845b408, s=0x83ea9b0) at prefork.c:772 index = <value optimized out> remaining_children_to_start = 5 rv = <value optimized out> #16 0x080726d7 in ap_run_mpm (pconf=0x83df0a8, plog=0x845b408, s=0x83ea9b0) at mpm_common.c:88 n = 0 rv = 300000 #17 0x0806dcb4 in main (argc=138326344, argv=0x845b408) at main.c:782 c = 0 '\0' configtestonly = 0 showcompile = 0 confname = 0x8120df9 "conf/httpd.conf" def_server_root = 0x8120e09 "/usr/local/apache2" temp_error_log = 0x0 error = <value optimized out> process = (process_rec *) 0x83dd130 pconf = (apr_pool_t *) 0x83df0a8 plog = (apr_pool_t *) 0x845b408 ptemp = (apr_pool_t *) 0x83eb148 pcommands = (apr_pool_t *) 0x83e1120 opt = (apr_getopt_t *) 0x83e11c0 rv = 135581348 mod = (module **) 0x814cea4 optarg = 0xf7e68a09 "\201???\003" -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
