You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jie Gao <J....@isu.usyd.edu.au> on 2003/06/06 08:29:53 UTC

httpd-2.0.46 cgid crashes

Hi All,

This is happening too often to me and I need to do somthing about it.

In the manual about mod_cgi, it says:

    When using a multi-threaded MPM under unix, the module mod_cgid
    should be used in place of this module. At the user level, the two
    modules are essentially identical.

My questions is: Can I disable mod_cgid and turn on mod_cgi in a
multi-threaded MPM setup at all?

Thanks,



Jie


Re: httpd-2.0.46 cgid crashes

Posted by Jeff Trawick <tr...@attglobal.net>.
Jie Gao wrote:
> On Thu, 5 Jun 2003, Justin Erenkrantz wrote:
> 
> 
>>--On Friday, June 6, 2003 4:29 PM +1000 Jie Gao <J....@isu.usyd.edu.au> wrote:
>>
>>
>>>Hi All,
>>>
>>>This is happening too often to me and I need to do somthing about it.
>>
>>It'd be helpful if you told us what was going on with mod_cgid so we could fix
>>it.  -- justin
> 
> 
> Under heavy load, the cgid just dies. This is what's in the log:
> 
> (3)No such process: cgid daemon is gone; is Apache terminating?: "uri".

A common cause was fixed in 
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/generators/mod_cgid.c.diff?r1=1.145.2.5&r2=1.145.2.6

please try that...  and Glenn's patch to restart the cgid daemon when 
necessary should get committed soon too...


Re: httpd-2.0.46 cgid crashes

Posted by Glenn Nielsen <gl...@mail.more.net>.
I submitted a bug report on this 6 weeks ago, and then submitted a patch which will restart
the cgid daemon 3 weeks ago.  See bug report:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19849


This doesn't prevent the cgid daemon from failing but at least makes sure
it gets restarted if it does. With this patch only a few cgi requests fail instead
of having to stop/start apache 2 to get cgi working again.

Regards,

Glenn

Jie Gao wrote:
> On Thu, 5 Jun 2003, Justin Erenkrantz wrote:
> 
> 
>>--On Friday, June 6, 2003 4:29 PM +1000 Jie Gao <J....@isu.usyd.edu.au> wrote:
>>
>>
>>>Hi All,
>>>
>>>This is happening too often to me and I need to do somthing about it.
>>
>>It'd be helpful if you told us what was going on with mod_cgid so we could fix
>>it.  -- justin
> 
> 
> Under heavy load, the cgid just dies. This is what's in the log:
> 
> (3)No such process: cgid daemon is gone; is Apache terminating?: "uri".
> 
> This was reported before.
> 
> Thanks,
> 
> 
> 
> Jie
> 



Re: httpd-2.0.46 cgid crashes

Posted by Jie Gao <J....@isu.usyd.edu.au>.
On Thu, 5 Jun 2003, Justin Erenkrantz wrote:

> --On Friday, June 6, 2003 4:29 PM +1000 Jie Gao <J....@isu.usyd.edu.au> wrote:
>
> > Hi All,
> >
> > This is happening too often to me and I need to do somthing about it.
>
> It'd be helpful if you told us what was going on with mod_cgid so we could fix
> it.  -- justin

Under heavy load, the cgid just dies. This is what's in the log:

(3)No such process: cgid daemon is gone; is Apache terminating?: "uri".

This was reported before.

Thanks,



Jie


Re: httpd-2.0.46 cgid crashes

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Friday, June 6, 2003 4:29 PM +1000 Jie Gao <J....@isu.usyd.edu.au> wrote:

> Hi All,
>
> This is happening too often to me and I need to do somthing about it.

It'd be helpful if you told us what was going on with mod_cgid so we could fix 
it.  -- justin