Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 2844 invoked from network); 17 Aug 2010 14:35:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 14:35:07 -0000 Received: (qmail 1706 invoked by uid 500); 17 Aug 2010 14:35:06 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 1577 invoked by uid 500); 17 Aug 2010 14:35:03 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 1452 invoked by uid 99); 17 Aug 2010 14:35:00 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 14:35:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [81.20.85.28] (HELO mail1.iquer.net) (81.20.85.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 14:34:38 +0000 Received: by mail1.iquer.net (Postfix, from userid 102) id 580A6128025; Tue, 17 Aug 2010 16:34:18 +0200 (CEST) Received: from virt2.int.iquer.net (virt2.int.iquer.net [10.0.27.30]) by mail1.iquer.net (Postfix) with ESMTP id 35962128019 for ; Tue, 17 Aug 2010 16:34:18 +0200 (CEST) Received: from mail0.iquer.net (mail0.iquer0.ffm0.iquer.net [10.0.11.100]) by virt2.int.iquer.net (SPONTS v6.6.3) with ESMTP id 112A8078DA8D-0 for ; Tue, 17 Aug 2010 07:34:18 -0700 Received: from kerio0.iquer.net (kerio0.int.iquer.net [10.20.10.111]) by mail0.iquer.net (Postfix) with ESMTP id 020AA1A000E for ; Tue, 17 Aug 2010 16:34:17 +0200 (CEST) Received: from ws0.lan.pb0.iquer.net ([10.20.10.100]) (authenticated user ewasser@kerio0.iquer.net) by kerio0.iquer.net (Kerio Connect 7.0.2) (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for dev@httpd.apache.org; Tue, 17 Aug 2010 16:34:16 +0200 From: Erik Wasser To: dev@httpd.apache.org Subject: Patches for mod_fcgid welcome? remove-FCGID_DIE_COMM_ERROR-processes, increase-INITENV_VAL_LEN, disable_suexec_check Date: Tue, 17 Aug 2010 16:34:16 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.33.6-147.2.4.fc13.x86_64; KDE/4.4.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201008171634.16296.erik.wasser@iquer.net> X-SPONTS-Version: 6.6.3 X-Virus-Checked: Checked by ClamAV on apache.org Hello list, I've prepared some (mini-)patches for mod_fcgid 2.3.5 that I want to get rid off (read: they can be included in the next release). Here we go: remove-FCGID_DIE_COMM_ERROR-processes ===================================== In an old posting[1] in the users@httpd list I wrote about this (short excerpt): > To: httpd-users@httpd.apache.org > Subject: [users@httpd] No killing/replacing of mod_fcgid processes with the > status 'Exiting(communication error)' > Date: Mon, 05 Jul 2010 21:25:27 GMT > > [...] > > The problem is that the communication works at first (after a restart) and > suddenly all 3 mod_fcgid process switches to the state > 'Exiting(communication error)'. Not at once but in a short time range > (minutes). > > [...] But I've got no responses at all. So call this a repost. B-) increase-INITENV_VAL_LEN ======================== I've increased the value of INITENV_VAL_LEN from 128 to 256. (This patch is trivial B-) I'm using the PERL5LIB for including some non-standard path and 128 was just to short. disable_suexec_check ==================== I've added an extra option to turn off the suexec stuff of mod_fcgid. It's useful if you want to run the apache as normal user (+mod_fcgid). The default value is - of course - 0. FcgidDisableSuexecCheck 1 Summary ======= Is somebody interested? How should I proceed? Should I just post the patches here? (There are all very small: <20 lines). They work with version 2.3.5. Opinions? Suggestions? Ideas? [1]http://osdir.com/ml/httpd-apache/2010-07/msg00056.html -- So long... Erik