Have you ever wondered how to control/configure the metricdump log files that accumulate in your WebLogic Server domains configured with Fusion Middleware? This blog will help to answer that question.
When running WebLogic Server instances configured with Fusion Middleware (e.g., SOA Suite), there are Dynamic Monitoring Service (DMS) metrics that are gathered every 3 hours by default. These metrics are located in the $DOMAIN_HOME/servers/<server_name>/logs/metrics directory as archive files using the following file name convention: metricdump-<date.time>.log.gz. For more details on understanding what DMS offers, see the Oracle documentation: http://docs.oracle.com/cd/E28280_01/core.1111/e10108/dms.htm
There is a way to control the frequency and the amount of metrics that are gathered. This is accomplished by modifying the dms_config.xml file which is located in the $DOMAIN_HOME/config/fmwconfig/servers/<server_name>/ directory. The section of the configuration file for controlling the metrics looks like the following:
<dumpConfiguration> <dump intervalSeconds="10800" maxSizeMBytes="75" enabled="true"/> </dumpConfiguration>
The settings for frequency, size, and on/off are fairly intuitive. If you have running servers when you change the configuration, a bounce of them is required to pickup the modifications.
All site content is the property of Oracle Corp. Redistribution not allowed without written permission