EM 11g: Enterprise Manager 11.1.0.1 Grid Control Performance: WebTier log - mod_wl_ohs.log in the OMS Oracle Home is very Large in Size and not Rotated (Doc ID 1271676.1)

Last updated on JULY 16, 2015

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.
Checked for relevance on 15-Feb-2014

Symptoms

Using 11.1.0.1 OMS on any platform.

The Webtier log: mod_wl_ohs.log in the <EM_INSTANCE_HOME>/WebTierIH1/diagnostics/logs/OHS/ohs1 is not rotated out-of-box.
Due to this, the logfile can grow to a very large size and affect the OMS performance and the Disk usage in the machine.

cd <EM_INSTANCE_HOME>/WebTierIH1/diagnostics/logs/OHS/ohs1
ls -l
..
-rw-r----- 1 oracle dba 26K Nov 17 06:40 console~OHS~1.log
-rw-r----- 1 oracle dba 1.7G Nov 29 10:29 mod_wl_ohs.log
-rw-r----- 1 oracle dba 11M Oct 28 09:11 ohs1-20101028091145.log
-rw-r----- 1 oracle dba 6.2M Nov 29 09:03 ohs1.log

All the other logs in the <EM_INSTANCE_HOME>/WebTierIH1/diagnostics/logs/OHS/ohs1 are rotated at regular intervals.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms