httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Janelle <>
Subject Re: newbie thread/process model question in hybrid server
Date Fri, 09 Jul 1999 19:01:46 GMT
Also, some systems limit the max number of FDS per process to a tiny
amount, and this doesn't get changed with a threaded process.  The
entire webserver would only be able to handle up to `uname -n` open
files across the system.  This means read(), etc..  The forked off
processes would handle that AFAIK.

I still like the idea of a logger process though.  Oh well.  It would
handle the opening of all the logs, etc..  It could also make it
possible to do remote logging?

I think I've been talking to the fhttpd author too much =)

Manoj Kasichainula wrote:
> On Sat, Jul 10, 1999 at 03:37:33AM +1000, Brian Havard wrote:
> > Why is hybrid more scalable than purely threaded (with proper kernel
> > threads)? What advantage is there in dividing the threads between multiple
> > processes?
> Many (most?) systems limit the number of threads per process. In a
> thread-per-request model (which the hybrid server uses), if you want
> to handle 2000 concurrent requests but your threads/process = 512, you
> have to have multiple processes to handle the load.
> --
> Manoj Kasichainula - manojk at io dot com -
> "Life is like an analogy." - Aaron Allston

If life is merely a joke, the question still remains: for whose
-- --UIN 23939474

View raw message