httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject [STATUS] (apache-apr) Wed Feb 24 23:45:46 EST 1999
Date Thu, 25 Feb 1999 04:45:48 GMT
Apache Portable Runtime STATUS:
Last modified at [$Date: 1999/02/17 08:13:13 $]


    0.1  : In pre-alpha development


    Everyone discuss and wrangle out the issues on new-httpd,
    and commit changes as appropriate.

Committed Code Changes:

    . docs/ directory created and initial function pre-spec added
    . include/ directory created and start of APRStatus macros added
    . pthreads/ directory tree created and populated with latest
      work on Apache 1.3.5-dev port to pthreads inserted

Available Patches:
In progress:
        Ensure thread safety.  Does not include mod_proxy, yet.

	Re-write mod_status to use updated scoreboard for hybrid server.
        This is pretty close to completion. 

    Accept Serialization across Processes
	Currently, we use one mutex total, we need to change this to be
	one mutex per socket.  Possibly, we could attach the mutex to the
	listen_rec, and pass it down to the accept loop.

    Timeouts.  (only soft timeouts)

    Check misc thread safety.  Make sure UNIX code path mirrors NT path where


Needs patch:
  * A patch to make the alloc_mutex's scope per-process. It seems to be
    causing trouble on Linux at least.

Open issues:

  * Whether every APR routine should return a status code
  * What the status codes should look like
  * Various modules aren't pthreads-ready (mod_cgi)
  * Bringing in the libap stuff

  * Mod_proxy
  * Optimize Optimize Optimize


Closed issues:
    Accept Thread Serialization
        Implemented as a blocking queue.  1 accept thread passes connection
        to queue (size of queue is config directive, default # of threads).
        All other threads block on queue.
    Process/Thread hybridization
        put monitor process back into place.  Was removed for initial port, 
	it's time we make sure the server is running, and if not, start 
	it again.
    Bringing this code up-to-date with the changes in the 1.3 branch.
        It's now up-to-date as of the morning of Feb 6th, 1999.
	Design the scoreboard appropriately for a hybrid process web
	server. This includes adding a tid field to the scoreboard.
    Signal Handling
        Investigate signal handling in Apache-pthreads.  SIGUSR1 is not a
	usable signal on Linux 2.0, because pthreads uses it to communicate
	between threads.  SIGWINCH was used for graceful restarts.
    Process/thread management
        Put (back) in the logic to manage the number of processes.
	Managing threads per process other than with a configuration
	constant is in doubt.

View raw message