When Oracle Trace File Analyzer manages OSWatcher, after an installation or a reboot, OSWatcher is started as a non-privileged user such as:
gridon Oracle RAC systems
oracleon non-Oracle RAC systems
Oracle does not recommend stopping and restarting OSWatcher as
tfactl oswbb stop tfactl start oswbb 20 72 (interval of 20 seconds and retention of 72 hours)
OSWatcher is then run as
root until it is stopped and re-started as
grid, or there is a reboot. In either case, the parameters are persisted in a property file. OSWatcher defaults (30,48) are used unless other parameters are specified for interval and retention period. Beginning with Oracle Trace File Analyzer version 18.104.22.168.2, an OSWatcher property file is maintained for each user. Each time OSWatcher is started, the parameters for interval or retention hours are made persistent for that user. In earlier versions, if the OSWatcher startup parameters are different than expected, then it is because OSWatcher was stopped and started as
root with different parameters. These settings would have persisted across reboots because there was only one properties file.
In 22.214.171.124.2 and above, if there is a reboot, then OSWatcher must always be brought up using the parameters from the properties of
grid. The OSWatcher startup parameters are different if OSWatcher is stopped and re-started as
root with different parameters before a reboot. The parameters fetched from the
root properties must not take effect after a reboot. The parameters must revert to the parameters of
The parameters are different and the persistent settings are changed because Oracle Support would have recommended different settings to investigate an issue. In that case, stop, and re-start OSWatcher with the normal parameters as a non-privileged user.
tfactl oswbb stop tfactl start oswbb (in this case the default interval of 30 seconds and retention of 48 hours would be persisted)
Note:If OSWatcher is installed and running, and not managed by Oracle Trace File Analyzer, then Oracle Trace File Analyzer defers to that installation and parameters. When listing the
oswbbtool status, the status must be NOT RUNNING, that is, not managed by Oracle Trace File Analyzer.