Linux Operating System (MOSC)

MOSC Banner

Memory leak, safe command?

edited Apr 20, 2010 10:22PM in Linux Operating System (MOSC) 4 commentsAnswered ✓
  I discovered our four node cluster running on RedHat EL5, Ocfs2 1.2.6 and Oracle 10.2.0.3 have memory leak. I suspect ocfs2, but I could be wrong. I suspect ocfs2 because when we run RMAN backup the free memory goes from 8 GB down to 200 MB. When I umount the ocfs2 backupdisk after the backup is finished, the memory is released again.

 

 

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:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center