2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
0
Best way is to schedule cronjob to clean up the cache. Below cronjob commands are to clear the server cache every hour. Please change it according to your needs.
1 * * * * sync; echo 3 > /proc/sys/vm/drop_caches 1 * * * * sync; echo 2 > /proc/sys/vm/drop_caches 1 * * * * sync; echo 1 > /proc/sys/vm/drop_caches
respondido hace un año
0
You've mentioned a server cache in EC2 but added "Amazon File Cache" as a tag - are you actually using this? https://aws.amazon.com/filecache/faqs/.
If it's a server cache on EC2, wht are you caching and what are you using to perform the caching?
Contenido relevante
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 10 meses
- OFICIAL DE AWSActualizada hace 3 años
Doesn't this just drop disk cache out of memory? @Post is having trouble with free disk not free memory. Seems to me that "server cache" in the question isn't talking about the Linux disk cache. Cheers.