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?

posta un anno fa252 visualizzazioni
1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande