httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: mod_cgid - too many open files
Date Wed, 28 Mar 2001 23:55:53 GMT
Jeff Trawick <trawickj@bellsouth.net> writes:

> procattr->parent_{in,out,err} are the three file descriptors not
> getting closed...

These are created by apr_procattr_child_{in,out,err}_set().

apr_procattr_child_*_set() is creating a pipe between parent and
child, which isn't appropriate for mod_cgid since we want the new
child to talk to another process (the apache child which sent the
request to cgid).

It is easy enough to close the cgid parent side of the pipe but what
is needed is a way to set the child's stdin/stdout/stderr to the
AF_UNIX socket without creating a pipe as a side effect.

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message