【发布时间】:2021-09-27 06:13:58
【问题描述】:
我使用 monit V5.25.3,轮询间隔为 30 秒。 Monit 用于 50 种服务,包括 apache 服务器。 apache 服务器可以被激活或不活动。当 apache 服务器处于非活动状态时,在(配置更改)和命令之后:“monit reload”和“monit start all”monit 在 apache 中“忙碌”24-25 秒(参见下面的清单)。在此之后处理的所有服务都处于“开始挂起”状态,并在 30 秒后保持之前的状态。
有没有办法防止这种阻塞,或者这是监视器中的错误?
Sep 24 08:27:33 falcon root: Starting OpenVPN (if configured)
Sep 24 08:27:33 falcon monit[9435]: pidfile '/var/run/apache2/apache2.pid' does not exist
Sep 24 08:27:33 falcon monit[9435]: pidfile '/var/run/apache2/apache2.pid' does not exist
...
...
Sep 24 08:27:57 falcon monit[9435]: pidfile '/var/run/apache2/apache2.pid' does not exist
Sep 24 08:27:57 falcon monit[9435]: 'webdav' test skipped as required service 'webdav_config' is not monitored
Sep 24 08:27:57 falcon monit[9435]: Reinitializing Monit -- control file '/etc/monitrc'
【问题讨论】:
标签: monit