Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 22770 invoked from network); 18 Apr 2006 21:30:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2006 21:30:49 -0000 Received: (qmail 10333 invoked by uid 500); 18 Apr 2006 21:30:48 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 10042 invoked by uid 500); 18 Apr 2006 21:30:48 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 10027 invoked by uid 99); 18 Apr 2006 21:30:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 14:30:48 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 14:30:47 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 0E8A97142C1; Tue, 18 Apr 2006 21:29:47 +0000 (GMT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 39342] New: - script with large POST input that doesn't read STDIN hangs for 5 minutes Message-ID: X-Bugzilla-Reason: AssignedTo Date: Tue, 18 Apr 2006 21:29:47 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39342 Summary: script with large POST input that doesn't read STDIN hangs for 5 minutes Product: Apache httpd-2 Version: 2.0.55 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: prefork AssignedTo: bugs@httpd.apache.org ReportedBy: dougapache@claar.org If a form does a POST, and the script that it calls outputs a large amount of data without reading STDIN, apache will hang for 5 minutes. An strace shows: poll accept -> 13 read 13 -> "POST /twiki/bin/save/..." pipe(14,15) pipe(16,17) pipe(18,19) clone -------------------------------------->Child close 14,17,19 dup(14,0) dup(17,1) dup(19,2) exec(...twiki/bin/view) write 15, "text=%23...",5540) write(1, "Set-Cookie...", 171) write 15, "are%3A+%5C%0",1444 -> EAGAIN write(1, "