Apache2 が 1 分 3 秒ごとに再起動する - Ubuntu 16.04

Apache2 が 1 分 3 秒ごとに再起動する - Ubuntu 16.04

タイトルの通りです。考えられる限りのことはすべて試しましたが、Apache2 は 1 分 3 秒ごとに必ず再起動します。再起動するたびにクライアントが接続できず、Chrome で「このサイトにアクセスできません」というメッセージが表示されるため、正常な再起動は行われません。

これは、Ubuntu 16.04 イメージを使用して Linode でホストされている VPS で発生しています。私の知る限り、すべてはデフォルトとして設定されていました。(サイトを引き継いだのですが、この奇妙な問題の原因を解明しようとしています。)

Apache のバージョンは 2.4.18 です。

PHPのバージョンは7.0.30です

このサイトのトラフィックはそれほど多くありません (おそらく 1 か月あたり 1,000 ヒット)。したがって、トラフィックがこの問題の原因である可能性もありません。

以下はApache2のerror.logから確認したログです。

[Mon Aug 27 23:04:56.015029 2018] [core:notice] [pid 32672] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 27 23:05:56.492903 2018] [mpm_prefork:notice] [pid 32672] AH00169: caught SIGTERM, shutting down
[Mon Aug 27 23:05:58.000463 2018] [:notice] [pid 32730] ModSecurity for Apache/2.9.0 (http://www.modsecurity.org/) configured.
[Mon Aug 27 23:05:58.001156 2018] [:notice] [pid 32730] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.2"
[Mon Aug 27 23:05:58.001857 2018] [:warn] [pid 32730] ModSecurity: Loaded APR do not match with compiled!
[Mon Aug 27 23:05:58.001959 2018] [:notice] [pid 32730] ModSecurity: PCRE compiled version="8.35 "; loaded version="8.38 2015-11-23"
[Mon Aug 27 23:05:58.002041 2018] [:warn] [pid 32730] ModSecurity: Loaded PCRE do not match with compiled!
[Mon Aug 27 23:05:58.002155 2018] [:notice] [pid 32730] ModSecurity: LUA compiled version="Lua 5.1"
[Mon Aug 27 23:05:58.002230 2018] [:notice] [pid 32730] ModSecurity: YAJL compiled version="2.1.0"
[Mon Aug 27 23:05:58.002300 2018] [:notice] [pid 32730] ModSecurity: LIBXML compiled version="2.9.2"
[Mon Aug 27 23:05:58.002460 2018] [:notice] [pid 32730] ModSecurity: StatusEngine call: "2.9.0,Apache/2.4.18 (Ubuntu),1.5.1/1.5.2,8.35/8.38 2015-11-23,Lua 5.1,2.9.2,<removed_for_SO>"
[Mon Aug 27 23:05:58.060493 2018] [:notice] [pid 32730] ModSecurity: StatusEngine call successfully sent. For more information visit: http://status.modsecurity.org/
[Mon Aug 27 23:05:58.105989 2018] [:notice] [pid 32734] FastCGI: process manager initialized (pid 32734)
[Mon Aug 27 23:05:59.016019 2018] [mpm_prefork:notice] [pid 32731] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Aug 27 23:05:59.017563 2018] [core:notice] [pid 32731] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 27 23:06:59.489457 2018] [mpm_prefork:notice] [pid 32731] AH00169: caught SIGTERM, shutting down

APR と PCRE のバージョンが同じでないと問題が発生するようですが、別のスレッドで、これが私が見ている問題の原因ではないと読みました。

これを解決するのに役立つ他の設定方法があれば教えていただけるとありがたいです。また、他の誰かが同様のことを経験している場合は、それも役立つと思います。

すでに HTOP を見て、どのプロセスが実行されているかを確認してみましたが、異常はありません。再起動コマンドを実行した後、CPU スパイクが発生していることがわかります (Apache が再起動していることを考えると当然です)。

logrotate はインストールされています (私が見たもう一つの一般的なことです)。ただし、logrotate は毎週実行するように設定されているため、これも原因ではないと思います。

当サイトではWordPressもホストしています。

他に何か役に立つ情報があればお知らせください。

cronジョブもチェックしました - cronジョブはありません

関連情報