httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark J Cox <>
Subject Re: [PATCH] mod_status cleanups
Date Sat, 20 Dec 1997 10:59:57 GMT
> - remove an unused buffer
> - mark a constant structure as const, and make it static, it's a waste to
> initialize it on every call
> - initialize the status flags once rather than on every call

The status module needs a bit of an overhaul for 2.0.  Firstly, the idea
of the optional "STATUS" define was originally to keep the scoreboard
small as it was always in memory.  Now most systems used shared memory the
size of the scoreboard isn't as important as performance hit doing some of
the system calls needed to keep track of times and so on.  Secondly it
will have to change to support the single/multi process/thread/fibre

I've been playing with letting the status page be customised; the
administrator can choose exactly what columns they see and add additional
ones like mod_log_config (say the incoming User-Agent header).  It also
means people concerned about performance can remove the items without
recompiling - such as request time which take several expensive
gettimeofday() calls. 

This is less of a pain when the status stuff is stuck into its own shared
memory - a shared memory API would be nice. 


View raw message