WordPress site went offline after clearing server cache

0

After running the following code "sync; echo 1 > /proc/sys/vm/drop_caches" and ". My wordpress site hosted on EC2 AWS went down and error 521 appears. Does anyone know how to solve it?

質問済み 1年前252ビュー
1回答
0

Without knowing more let me take a stab at this . . .

Have you tried reloading the instance? Yes I'm seriously asking.

A 521 error indicated a server side error. When you dropped the cache the CPU load probably went way up. In the future, I would be hesitant to clear the cache if I am trying to save memory. Linux tries to use all of the memory and the cache will use as much as it can, but this is low priority usage of memory. The cache gets swapped out if another more important process needs the RAM.

If this is a busy site you may want to snapshot the image and resize to a larger instance type.

profile pictureAWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ