diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:01:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:01:30 +0000 |
commit | 6beeb1b708550be0d4a53b272283e17e5e35fe17 (patch) | |
tree | 1ce8673d4aaa948e5554000101f46536a1e4cc29 /modules/cluster/README.heartbeat | |
parent | Initial commit. (diff) | |
download | apache2-6beeb1b708550be0d4a53b272283e17e5e35fe17.tar.xz apache2-6beeb1b708550be0d4a53b272283e17e5e35fe17.zip |
Adding upstream version 2.4.57.upstream/2.4.57upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/cluster/README.heartbeat')
-rw-r--r-- | modules/cluster/README.heartbeat | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/cluster/README.heartbeat b/modules/cluster/README.heartbeat new file mode 100644 index 0000000..5eec549 --- /dev/null +++ b/modules/cluster/README.heartbeat @@ -0,0 +1,33 @@ +mod_heartbeat + +Broadcasts the current Apache Connection status over multicast. + +Example Configuration: + HeartbeatAddress 239.0.0.1:27999 + +Dependencies: + mod_status must be either a static module, or if a dynamic module, it must be + loaded before mod_heartbeat. + + +Consuming: + Every 1 second, this module generates a single multicast UDP packet, + containing the number of busy and idle workers. + + The packet is a simple ASCII format, similar to GET query parameters in UDP. + + An Example packet: + v=1&ready=75&busy=0 + + Consumers should handle new variables besides busy and ready, separated by '&' + being added in the future. + +Misc: + The interval of 1 seconds is controlled by the HEARTBEAT_INTERVAL + compile time define. This is not currently tunable at run time. To make this + module send the status packet more often, you must add to the CFLAGS used to + compile the module to include: + -DHEARTBEAT_INTERVAL=3 + Would cause the broadcasts to be sent every 3 seconds. + + |