From:
12C oraagent. BIN consumes high MEMORY (document ID 1954032.1)
Applies To:Oracle database-enterprise edition-version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
information in this document applies to any platform.
Symptoms
12.1.0.2 Oraagent.bin process grows more than-GB of res memory
121067 Oracle 0 55.6g 55g 18m S 2.4 29.2 646:35.09/u01/app/12.1.0.2/grid/bin/oraagent.bin 121067 Oracle 0 55.6g 55g 18m S 5.5 29.2 646:35.37/u01/app/12.1.0.2/grid/bin/oraagent.bin 121067 Oracle 0 55.6g 55g 18m S 4.4 29.2 646:35.59/u 01/app/12.1.0.2/grid/bin/oraagent.bin
Checking the pmap of Oraagent,we could see that there is lot of anon pages and taking high private memory
00007fa074000000 131072 rw---0000000000000000 000:00000 [anon] 00007fa07c000000 131072 rw---0000000000000000 000:00000 [Anon] 00007fa084000000 131072 rw---0000000000000000 000:00000 [anon] 00007fa08c000000 131072 rw---0000000000000000 000:00000 [anon] 00007fa094000000 65536 rw---0000000000000000 000:00000 [anon] 00007fa09c000000 131072 rw---0000000 000000000 000:00000 [anon] 00007fa0a4000000 131072 rw---0000000000000000 000:00000 [anon] 00007fa0ac000000 131072 rw- --0000000000000000 000:00000 [anon] 00007fa0b4000000 131072 rw---0000000000000000 000:00000 [anon] 00007fa0bc000000 131072 RW---0000000000000000 000:00000 [anon] 00007fa0c4000000 131072 rw---0000000000000000 000:00000 [anon]. 00007fff7cf5b000 8 rw---0000000000000000 000:00000 [anon] 00007fff7cfff000 4 r-x--0000000000000000 000:00000 [anon] ffffffffff600000 4 r-x--0000000000000000 000:00000 [anon] mapped:59424832k writeable/private:59264940k shared:4k
Cause
In the CRSD_ORAAGENT_ORCLDB.TRC, there is the following records:
2014-11-24 10:24:11.319051:usrthrd:903801152: {2:51113:12058} setresattrib:attr usr_ora_domain CLSAGFW attribVal Clscrs tmpattrvalue 2014-11-24 10:24:11.319082:usrthrd:903801152: {2:51113:12058} setresattrib cmdid 0x0109 checktype 0 Xffff 2014-11-24 10:24:11.319277:usrthrd:903801152: {2:51113:12058} setresattrib modifyresource attr USR_ORA_DOMAIN Value 2014-11-24 10:24:11.319298:usrthrd:903801152: {2:51113:12058} setresattrib clsagfw_modify_attribute attr USR_ Ora_domain Value RetCode 1
The Clsagfw_modify_attribute attr Usr_ora_domain value failed repeatedly.
The issue has been a fixed in bug 20091753 and unpublished bug 18590085.
Solution
Apply The fix of bug.20091753 and 18590085 if the patch is available for your platform and version
Or
Workaround
Use the following command to change the value of Usr_ora_domain of every database resource running on the cluster from NUL L to A is not NULL doman_name string.
Setting it won't cause any performance impact to the database.
"Translated from MoS article" 12c Oraagent.bin process consumes a lot of memory