mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
7 lines
348 B
Text
Executable file
7 lines
348 B
Text
Executable file
check process squid with pidfile /var/run/squid.pid
|
|
start program = "/sbin/service squid start"
|
|
stop program = "/sbin/service squid stop"
|
|
if cpu > 60% for 3 cycles then restart
|
|
if totalmem > 200.0 MB for 3 cycles then restart
|
|
if failed host localhost port 3130 type tcp then restart
|
|
if 3 restarts within 5 cycles then timeout
|