Oracle Database Appliance – /opt filling up

Last time we had the /opt filesystem on a couple of ODA nodes filling up. It turned out that the OS Watcher archive directory structure (/opt/oracle/oak/osw/archive) contained lots of old files that should have been cleaned by OSWatcher.

When OSWatcher is started, it will also start a script called that is responsible for cleaning up old files. It turned out this script was not running and so the archive directory structure was not cleaned up.


The solution is simply to restart the OSWatcher which in turn will start the script. Execute the following commands as user root:


/opt/oracle/oak/osw/ 10 504 gzip

Check if both and are running using:

ps -ef|grep OSW

oracle   10046 24783  0 10:23 pts/0    00:00:00 grep OSW
root     12704     1  0  2012 ?        01:11:42 /usr/bin/ksh ./ 10 504 gzip
root     12922 12704  0  2012 ?        00:16:48 /usr/bin/ksh ./ 504

Note: it can take a couple of seconds before the script is started, so if it doesn’t show try again a couple of seconds later.

The script will cleanup the old files after a couple of minutes, so after some minutes the /opt/oracle/oak/osw/archive directory structure will be cleaned up.

This entry was posted in Database Appliance and tagged , , , , , , . Bookmark the permalink.

One Response to Oracle Database Appliance – /opt filling up

  1. Oladapo Adetunji says:

    Hello Marcel. I’m having the issue above. I ran
    /opt/oracle/oak/oswbb/ 10 504 gzip

    ps -ef | grep OSW
    root 10792 1 0 11:13 pts/1 00:00:00 /bin/sh ./ 10 504 gzip
    root 11089 10792 0 11:13 pts/1 00:00:00 /bin/sh ./ 504 /opt/oracle/oak/oswbb/archive

    After 10 mins I ran
    df -kh /opt
    Filesystem Size Used Avail Use% Mounted on
    59G 54G 1.6G 98% /opt

    Should I manually run the

    Server: ODA X4-2

Leave a Reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image