wido commented on a change in pull request #3127: Improve System VM startup and memory usage [4.11] URL: https://github.com/apache/cloudstack/pull/3127#discussion_r250552526
########## File path: systemvm/debian/etc/cron.daily/clear_cache ########## @@ -0,0 +1,5 @@ +#!/bin/bash + +# clear memory cache to ultimately reduce swapping + +sync && echo 1 > /proc/sys/vm/drop_caches Review comment: I understand what you are doing there, but it is the Linux kernel which will remove files from it's case if it needs this memory for something else. I wouldn't mess with this. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
