Enterprise Manager Agent Collections are Generating High Load on LDAP server

(Doc ID 2343409.1)

Last updated on DECEMBER 27, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

The "getent" function used in the Oracle Home collection metrics is adding increased load to the LDAP server because of wildcard search.

Excerpt from the strace output:

66943-829 1466997010.777106 rt_sigaction(SIGHUP, {SIG_DFL, [], SA_RESTORER, 0x2ba9ea055b70},
 66944-497 1466997010.777120 stat("/u01/oracle/product/agent12c/core/12.1.0.4.0/perl/lib/5.10.0/Tie/Hash.pm",
 66945-829 1466997010.777146 NULL, 8) = 0
 66946-829 1466997010.777169 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x2ba9ea055b70}, NULL, 8) = 0
 66947-829 1466997010.777220 rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x2ba9ea055b70}, NULL, 8) = 0
 66948:829 1466997010.777360 stat("/usr/bin/getent", {st_mode=S_IFREG|0755, st_size=23568, ...}) = 0
 >>>>>>>>>66949-829 1466997010.777426 getgroups(0, NULL) = 7
 66950-970 1466997010.777462 brk(0x421d000
 66951-497 1466997010.777479 {st_mode=S_IFREG|0755, st_size=7310, ...}) = 0
 66952-970 1466997010.777550 ) = 0x421d000
 66953-497 1466997010.777586 open("/u01/oracle/product/agent12c/core/12.1.0.4.0/perl/lib/5.10.0/Tie/Hash.pm", O_RDONLY
 66954-829 1466997010.777636 getgroups(7, [280, 9998, 34001, 64948, 70188, 70198, 74048]) = 7

Changes

 

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