use*_*ser 7 systemd apache-2.4 debian-jessie
将 Web 服务器从 Debian Wheezy 升级到 Debian Jessie 后,每天早上系统日志中都会出现以下日志条目。时间有所不同,但似乎总是在大致相同的时间发生(最多加/减 10-15 分钟)。升级之前没有发生类似的事情(我记得)。
Oct 23 06:25:02 hostname systemd[1]: Reloading LSB: Apache2 web server.
Oct 23 06:25:04 hostname apache2[1545]: Reloading web server: apache2.
Oct 23 06:25:04 hostname systemd[1]: Reloaded LSB: Apache2 web server.
Oct 23 06:29:10 hostname rsyslogd0: action 'action 17' resumed (module 'builtin:ompipe') [try http://www.rsyslog.com/e/0 ]
Oct 23 06:29:10 hostname rsyslogd-2359: action 'action 17' resumed (module 'builtin:ompipe') [try http://www.rsyslog.com/e/2359 ]
Run Code Online (Sandbox Code Playgroud)
查看输出service apache2 status
:
? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: active (running) since Fri 2015-10-09 21:33:36 UTC; 1 weeks 6 days ago
Process: 21467 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 1545 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)
Process: 21489 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/apache2.service
?? 1625 /usr/sbin/apache2 -k start
?? 1626 /usr/sbin/apache2 -k start
?? 4686 /usr/sbin/apache2 -k start
?? 7745 /usr/sbin/apache2 -k start
?? 7746 /usr/sbin/apache2 -k start
?? 7747 /usr/sbin/apache2 -k start
?? 7748 /usr/sbin/apache2 -k start
?? 7753 /usr/sbin/apache2 -k start
?? 7760 /usr/sbin/apache2 -k start
?? 7771 /usr/sbin/apache2 -k start
??21505 /usr/sbin/apache2 -k start
Oct 21 06:25:02 hostname.fqdn systemd[1]: Reloading LSB: Apache2 web server.
Oct 21 06:25:08 hostname.fqdn apache2[32200]: Reloading web server: apache2.
Oct 21 06:25:08 hostname.fqdn systemd[1]: Reloaded LSB: Apache2 web server.
Oct 22 06:25:03 hostname.fqdn systemd[1]: Reloading LSB: Apache2 web server.
Oct 22 06:25:05 hostname.fqdn apache2[16779]: Reloading web server: apache2.
Oct 22 06:25:05 hostname.fqdn systemd[1]: Reloaded LSB: Apache2 web server.
Oct 23 06:25:02 hostname.fqdn systemd[1]: Reloading LSB: Apache2 web server.
Oct 23 06:25:04 hostname.fqdn apache2[1545]: Reloading web server: apache2.
Oct 23 06:25:04 hostname.fqdn systemd[1]: Reloaded LSB: Apache2 web server.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Run Code Online (Sandbox Code Playgroud)
我不确定我是否找对了地方,/run/systemd/generator.late/apache2.service 中唯一与远程相关的部分是提到了 ExecReload 命令,该命令在service apache2 status
输出中回显。
尽管没有人在服务器上做任何事情,但为什么 systemd 会如此规律地重新加载 Web 服务器,我该如何让它停止?
归档时间: |
|
查看次数: |
4031 次 |
最近记录: |