どんどんシェアしちゃってください!

スポンサーリンク

LimitInternalRecursion

どんどんシェアしちゃってください!

記事を投稿するとかなりの確率でサイトが見えなくなるのを本日確認。

エラーログを見るとこんなのが

[Fri May 04 11:27:08.719567 2018] [mpm_prefork:notice] [pid 1445] AH00170: caught SIGWINCH, shutting down gracefully
[Fri May 04 11:29:46.665220 2018] [suexec:notice] [pid 1447] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 04 11:29:46.686983 2018] [so:warn] [pid 1447] AH01574: module rewrite_module is already loaded, skipping
[Fri May 04 11:29:46.688993 2018] [auth_digest:notice] [pid 1447] AH01757: generating secret for digest authentication …
[Fri May 04 11:29:46.689539 2018] [lbmethod_heartbeat:notice] [pid 1447] AH02282: No slotmem from mod_heartmonitor
[Fri May 04 11:29:46.840757 2018] [mpm_prefork:notice] [pid 1447] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.1.15 configured — resuming normal operations
[Fri May 04 11:29:46.840799 2018] [core:notice] [pid 1447] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Fri May 04 11:34:44.720010 2018] [core:error] [pid 1507] [client 199.116.77.28:34360] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru

どうやらループしているらしいと先生からのお告げあり(.ruも気にはなるんだが)。

LimitInternalRecursion と wordpress で検索すると.htaccessの書き方が悪そうな話もあり、あらためて見直してみた。それが上の図。

当方マルチサイト設定にしているが、その際の設定と通常のパーマリンクの設定が重複してそうな雰囲気。なのでばっさり消してみた(.htaccessを晒すのは汚部屋を開放するようで若干抵抗あるが・・・・・)。

なるほど、設定時には「他の WordPress ルールを置き換えてください」って書いてたっけ。

さて、この記事の投稿でまた落ちるかどうか・・・・・。

追伸:落ちなかったみたい。で、ログをあらためてみてみたら・・・・・

[Fri May 04 03:43:54.747861 2018] [core:error] [pid 26833] [client 103.67.235.97:51989] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 03:44:01.543547 2018] [core:error] [pid 26820] [client 103.67.235.97:52588] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 06:19:16.487610 2018] [core:error] [pid 26832] [client 52.44.220.246:49961] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 06:19:26.805741 2018] [core:error] [pid 26831] [client 52.44.220.246:50556] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 06:19:47.270084 2018] [core:error] [pid 26801] [client 52.44.220.246:56732] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 06:20:09.177729 2018] [core:error] [pid 26833] [client 52.44.220.246:59947] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 06:20:16.120511 2018] [core:error] [pid 27045] [client 52.44.220.246:33326] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 07:39:39.610058 2018] [core:error] [pid 26828] [client 148.72.28.201:57559] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 07:39:42.044593 2018] [core:error] [pid 26832] [client 148.72.28.201:58007] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 08:02:56.990200 2018] [core:error] [pid 26833] [client 50.63.164.149:40541] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 08:02:56.992022 2018] [core:error] [pid 27581] [client 50.63.164.149:40367] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 08:29:31.847545 2018] [core:error] [pid 26802] [client 119.59.104.22:52382] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru
[Fri May 04 08:29:35.973199 2018] [core:error] [pid 26801] [client 119.59.104.22:53202] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://site.ru

ねぇ暇なの?何しようとしてるのさ・・・・