Memory leak, safe command?
I want to test it some more and found a script to test writing to the disk. This script contains a command saying “echo 3 > /proc/sys/vm/drop_caches”. Is this a safe command to run in production? Meaning the cluster and oracle database is running. Or should I run the “sync” command pre to this command? Or should I never run this command in a production environment? I’m afraid that this command will free up memory not written to disk yet. And therefore I would get into trouble in my production environment. The script I want to test looks like this and is captured from the ocfs2 mailing list: