httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bannister <is...@jellybaby.net>
Subject Re: [PATCH] mod_systemd
Date Wed, 26 Sep 2012 17:53:03 GMT
On 26 Sep 2012, at 16:10, Jan Kaluza wrote:

> Hi,
> 
> attached patch adds new module called mod_systemd. Systemd [1] is service manager for
Linux. Although httpd works with systemd normally, systemd provides sd_notify(...) function
[2] to inform service manager about current status of the service. Status message passed to
service manager using this function is later visible in "systemctl status httpd.service" output
and can provide useful information about current httpd status.
> 
> The goal of this module is to update httpd's status message regularly to provide information
like number of idle/busy workers, total requests or for example number of requests per second.
It uses data from the ap_get_sload(...) function and depends on my httpd-sload.patch from
previous mail.
> 
> I've tried to choose some interesting data for the status message, but if you think admins
would like to see something different there, I'm open to suggestions. Note that it has to
be single line of text, so there's no space for lot of data.

I'd like to be able to show the date/time of the last configuration load (eg from a HUP).
However, I don't use systemd yet so please treat this as only a suggestion.


-- 
Tim Bannister – isoma@jellybaby.net


Mime
View raw message