> 
>     The solution that I took with BestWWWD was to have just one process 
>     accept all the connections and then have it dole the descriptor out to the
>     appropriate sub-processes over a unix-domain socket.
> 
>                                               -Matt
> 

        yes.  clearly, thats the way to go, to use the ability to pass
a file descriptor over a unix-domain socket.  one socket per handler
(web server), and the process doing the accept doles out the work as
each handler (web server) finishes a task and is ready to accept
another task.  in my memory, i can almost see the description of this
problem and its resolution in a book on threads (i think).  could it
have been the addison-wesley swoosh book on threads by behlendorf?
sigh...gotta get better memory installed.

jmb


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to