httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject yet another threaded MPM for Unix
Date Mon, 23 Jul 2001 18:00:11 GMT
I've had this for a while but never got around to posting it.

This is [currently] single process only.
This [currently] has a single accept thread per process.

The accept thread queues work elements to worker threads, which then
call a function pointer in the work element.

Currently it is hard-coded to use
pthread_cond_wait()/pthread_cond_signal().  The desire is to have that
mechanism be chosen based upon the platform.

Graceful restart is not as nice as current MPMs where the worker
thread calls accept()...  when a non-worker thread calls accept() you
can be left with extra connections needing to be processed at the time
of a graceful restart request... thus, it takes longer to stop serving
requests with the old configuration.

Jeff Trawick | | PGP public key at web site:
             Born in Roswell... married an alien...

View raw message