* Doug White <[EMAIL PROTECTED]> [010411 16:07] wrote:
> On Tue, 10 Apr 2001, Alfred Perlstein wrote:
> 
> > Basically, when apache is listening on multiple IPs/ports it needs
> > to select() on several filedescriptors.  The problem (under FreeBSD
> > at least) is that whenever you have some process select()'ing on
> > a descriptor and another process wants to do the same you get a
> > "select collision", a collision requires that all processes waiting
> > on the same select channel wake up then reassert thier desire to
> > select.  So... if you have 500 apache processes select()'ing and
> > one wakes up to service a request, finished serving, then goes to
> > select again, all the rest (499) have to wake up and reaffirm thier
> > desire to select().
> 
> We haven't applied wakeup_one() to select() yet? (I think I've argued
> about this before.)
> 
> Someone get cracking! :)

I'm not sure it's possible without redesigning the way select works.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/

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

Reply via email to