Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13E1F1014B for ; Sun, 22 Sep 2013 01:05:43 +0000 (UTC) Received: (qmail 65232 invoked by uid 500); 22 Sep 2013 01:05:43 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 65149 invoked by uid 500); 22 Sep 2013 01:05:42 -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 65141 invoked by uid 99); 22 Sep 2013 01:05:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Sep 2013 01:05:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Sep 2013 01:05:41 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 38FD01B408; Sun, 22 Sep 2013 01:05:21 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 55581] New: Support concurrent connections to same FastCGI process Date: Sun, 22 Sep 2013 01:05:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_fcgid X-Bugzilla-Version: 2.5-HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ezyang@mit.edu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=55581 Bug ID: 55581 Summary: Support concurrent connections to same FastCGI process Product: Apache httpd-2 Version: 2.5-HEAD Hardware: All OS: All Status: NEW Severity: enhancement Priority: P2 Component: mod_fcgid Assignee: bugs@httpd.apache.org Reporter: ezyang@mit.edu Currently, it appears that mod_fcgid's behavior when receiving a request is to take a FastCGI process out of the pool, send it the request, and then put the process back in the pool. While the request is being serviced, the application is not available for other requests. If mod_fcgid notices that there are no more processes left, it will spin up new processes. This is not good behavior when the process is multithreaded, and can handle concurrent requests. In such cases, mod_fcgid should *not* spawn new processes, and just concurrently deliver them to the existing process. This allows the server in the backend to take advantage of shared resources. Obviously this should be configurable. Here is an example of another user who wants this functionality: http://stackoverflow.com/questions/15623422/mod-fcgid-multithreaded-fastcgi-now-or-in-a-planned-future I would just like to get confirmation that this is indeed a enhancement the core developers would take; our team is considering implementing this for our own needs. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org