$LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log got 8GB in size due to 10.1.3.5.0 Container error entries (bug 10126440 ? ).
$ find . -type f -size +500000 -exec ls -alh {} \;
-rw-r----- 1 ebsuser users 8.1G April 17 13:55
./EBSP/inst/apps/EBSP_note1p/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log
I tried to rename application.log, but oacore process kept writing entries to the re-named file. I also deleted it and found oacore process did not create a new one while the space was still getting filled up and "find" command did not find which file it write the log entries to.
The fix is to re-name/delete application.log file and then bounce OACORE process which will create a new application.log file.
$ ps -ef | grep oacore| wc -l
4
(in my another instance, it gets 6)
$ cd $ADMIN_SCRIPTS_HOME
$ ./adoacorectl.sh stop
$ ./adopmnctl.sh status
You are running adopmnctl.sh version 120.6.12010000.5
Checking status of OPMN managed processes...
Processes in Instance: xxxx.com
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:oafm | 20423 | Alive
OC4JGroup:default_group | OC4J:forms | 20354 | Alive
OC4JGroup:default_group | OC4J:oacore | N/A | Down
HTTP_Server | HTTP_Server | 20151 | Alive
adopmnctl.sh: exiting with status 0
adopmnctl.sh: check the logfile /ifsu02/app/IFSPROD/inst/apps/IFSPROD_xifsapm3p/logs/appl/admin/log/adopmnctl.txt for more information ...
$ ps -ef | grep oacore| wc -l
3
$ cd $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1
$ mv application.log application.log_Delete
$ cd $ADMIN_SCRIPTS_HOME
$ ./adoacorectl.sh start
You are running adoacorectl.sh version 120.13
Starting OPMN managed OACORE OC4J instance ...
adoacorectl.sh: exiting with status 0
adoacorectl.sh: check the logfile $LOG_HOME/appl/admin/log/adoacorectl.txt for more information ...
$ ./adopmnctl.sh status
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:oafm | 20423 | Alive
OC4JGroup:default_group | OC4J:forms | 20354 | Alive
OC4JGroup:default_group | OC4J:oacore | 23513 | Alive
HTTP_Server | HTTP_Server | 20151 | Alive
adopmnctl.sh: exiting with status 0
adopmnctl.sh: $LOG_HOME/appl/admin/log/adopmnctl.txt for more information ...
$ ps -ef | grep oacore| wc -l
4
$ cd $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1
$ more application.log
17/04/19 23:38:50.411 10.1.3.5.0 Started
17/04/19 23:38:51.979 html: 10.1.3.5.0 Started