traffic_cop¶
Description¶
traffic_cop is a watchdog program that is responsible for starting traffic_manager and traffic_server and monitoring them for responsiveness. If either of these processes are determined to be unresponsive, traffic_cop will kill and restart them.
On Linux, traffic_cop will also monitor available memory and swap space, restarting the watched processes if the available memory falls below a minimum threshold. The memory thresholds can be configured with the proxy.config.cop.linux_min_swapfree_kb and proxy.config.cop.linux_min_memfree_kb variables.
The following options are available:
- -stop¶
Kill children using SIGSTOP instead of SIGKILL. This option is primarily for debugging.
- -V¶
Print version information and exit.
traffic_cop ordinarily logs to syslog, however for debugging purposes, the --enable-cop-debug build option causes it to log trace messages to /tmp/traffic_cop.trace.
See also¶
syslog(1), traffic_manager(8), traffic_server(8)