httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: cvs commit: apache-2.0/src/modules/mpm/perchild perchild.c
Date Fri, 04 Aug 2000 07:17:19 GMT

For anybody who misses this on the CVS commit list.  The new Perchild MPM,
that has a user and group ID per child, allowing virtual hosts to have
their own user and group, is done.  It is buggy, but at least it is
serving pages, after they have been passed back and forth between child
processes.  There are most definately better ways to do this, like setting
up the machine with multiple IP addrs, but this does work.

Docs are coming later.


On 4 Aug 2000 wrote:

> rbb         00/08/04 00:07:33
>   Modified:    src      CHANGES
>                src/modules/mpm/perchild perchild.c
>   Log:
>   Fix the Perchild MPM.  This does work now.  This change has us using
>   socketpair instead of sockets created with AF_UNIX.  There is very little
>   chance this will work anywhere other than Linux, but it is a start.  I
>   have a machine with two virtual hosts, which are started as two different
>   users.  When I make requests for each virtual host, they pass the request
>   to the correct child process.  It is possible for a virtual host to have
>   multiple child processes all with the same user ID, and they all share
>   the responsability for answering requests.
>   There are a lot of bugs in this code, and it is not for the faint
>   hearted, but it works, and that's saying quite a bit in my mind.
>   Docs coming tomorrow.  Right now, it's time to sleep.

View raw message