Hi
I have FreePBX 14.0.1rc1.8.
I want to clear cache, but I don’t know how to do it.
Can you help me?
Which cache are you trying to clear. There are a ton of them and every one of them has a different procedure.
Be specific, use examples.
I want to clear this cache.
You’ll have to reboot. That’s Linux’s cache.
I am wondering if it’s a must, or linux system will optimize it automatically?
https://virtualarchitects.com/wiki/doku.php?id=computing:linux:memory
sync && echo 3 > /proc/sys/vm/drop_caches
If you use sudo:
su -c “sync && echo 3 > /proc/sys/vm/drop_caches”
This one-liner also shows before and after stats:
echo Before: && free -m && echo After: && sync && echo 3 > /proc/sys/vm/drop_caches && free -m
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.