hiddify / Hiddify-Manager

Multi-user anti-filtering panel, with an effortless installation and supporting more than 20 protocols to circumvent filtering plus the telegram proxy.
https://hiddify.com
GNU General Public License v3.0
6.4k stars 743 forks source link

Safe to Clear cache? #4494

Open alexlii1971 opened 1 month ago

alexlii1971 commented 1 month ago

Hello

Please check at https://hiddify.com/manager/basic-concepts-and-troubleshooting/How-to-monitor-server-resources-on-Hiddify/#free-up-ram-memory

sync && systemctl -w vm.drop_caches=3

Mostly, I suppose it should be on Unbutu:

sudo sync && sudo sysctl -w vm.drop_caches=3

I mean it should be sysctl but not systemctl on Ubuntu, am I right?

Secondly, I understand Hiddify manager might cache DNS records, but, what about if I a script by cron every 30 minutes on a affordable VPS server?

sudo crontab -e
*/30 * * * * sync && sysctl -w vm.drop_caches=3

Any negative effect on Hiddify manager service? Or, do you recommend running that cron?

Thanks

litoosh13 commented 1 month ago

we will look into it