[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-technical
Subject:    OpenLDAP 2.6 is holding connections open
From:       Bradley T Gill <bgill () aep ! com>
Date:       2022-07-27 13:59:07
Message-ID: 84030354e2e44d13b5463c6c070e36cc () aep ! com
[Download RAW message or body]

All,
          I have been struggling with upgrading OpenLDAP from 2.4 to 2.5/2.6 for some \
time.  We have finally found that we needed to rebuild the schema from scratch and \
re-add our customizations.   The database is now running much better with one \
lingering problem.  Our Established connections just continues to grow until we run \
out of resources.  Below is our cn=config (minus some unrelated info).  This is on \
the same server as where the previous version was running, so changes are openldap \
and openssl versions.  Any insights as to what might be causing the ESTABLISHED \
connections to continually grow would be very appreciated.

# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 422b88f4
dn: cn=config
objectClass: olcGlobal
cn: config
olcAttributeOptions: lang-
olcConcurrency: 0
olcConnMaxPending: 100
olcConnMaxPendingAuth: 1000
olcGentleHUP: FALSE
olcIdleTimeout: 0
olcIndexSubstrIfMaxLen: 4
olcIndexSubstrIfMinLen: 2
olcIndexSubstrAnyLen: 4
olcIndexSubstrAnyStep: 2
olcIndexHash64: FALSE
olcIndexIntLen: 4
olcListenerThreads: 1
olcLocalSSF: 71
olcLogLevel: 256
olcLogFileOnly: FALSE
olcMaxFilterDepth: 1000
olcReadOnly: FALSE
olcSaslAuxpropsDontUseCopyIgnore: FALSE
olcSaslSecProps: noplain,noanonymous
olcSockbufMaxIncoming: 262143
olcSockbufMaxIncomingAuth: 16777215
olcThreads: 16
olcThreadQueues: 1
olcTLSCRLCheck: none
olcTLSVerifyClient: never
olcTLSProtocolMin: 0.0
olcToolThreads: 1
structuralObjectClass: olcGlobal
creatorsName: cn=config
createTimestamp: 20220726200129Z
olcAuthzPolicy: any
olcWriteTimeout: 30
olcSizeLimit: size.soft=unlimited size.hard=unlimited size.unchecked=unlimited
  size.pr=1000 size.prtotal=unlimited


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.EmailStyle18
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:18.0pt">All,<o:p></o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:18.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I \
have been struggling with upgrading OpenLDAP from 2.4 to 2.5/2.6 for some time.&nbsp; \
We have finally found that we needed to rebuild the schema from scratch and re-add \
our customizations.&nbsp;&nbsp; The database  is now running much better with one \
lingering problem.&nbsp; Our Established connections just continues to grow until we \
run out of resources.&nbsp; Below is our cn=config (minus some unrelated info).&nbsp; \
This is on the same server as where the previous version was running,  so changes are \
openldap and openssl versions.&nbsp; Any insights as to what might be causing the \
ESTABLISHED connections to continually grow would be very \
appreciated.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt"># AUTO-GENERATED FILE - DO NOT EDIT!! Use \
ldapmodify.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt"># CRC32 422b88f4<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">dn: cn=config<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-size:18.0pt">objectClass: \
olcGlobal<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">cn: config<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcAttributeOptions: lang-<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcConcurrency: \
0<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcConnMaxPending: 100<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcConnMaxPendingAuth: \
1000<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcGentleHUP: FALSE<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcIdleTimeout: \
0<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcIndexSubstrIfMaxLen: 4<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcIndexSubstrIfMinLen: \
2<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcIndexSubstrAnyLen: 4<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcIndexSubstrAnyStep: \
2<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcIndexHash64: FALSE<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcIndexIntLen: \
4<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcListenerThreads: 1<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcLocalSSF: \
71<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcLogLevel: 256<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcLogFileOnly: \
FALSE<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcMaxFilterDepth: 1000<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcReadOnly: \
FALSE<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcSaslAuxpropsDontUseCopyIgnore: \
FALSE<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcSaslSecProps: noplain,noanonymous<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-size:18.0pt">olcSockbufMaxIncoming: \
262143<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcSockbufMaxIncomingAuth: 16777215<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcThreads: 16<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-size:18.0pt">olcThreadQueues: \
1<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcTLSCRLCheck: none<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcTLSVerifyClient: \
never<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcTLSProtocolMin: 0.0<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcToolThreads: \
1<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">structuralObjectClass: olcGlobal<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">creatorsName: \
cn=config<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">createTimestamp: 20220726200129Z<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcAuthzPolicy: \
any<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt">olcWriteTimeout: 30<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">olcSizeLimit: size.soft=unlimited \
size.hard=unlimited size.unchecked=unlimited<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:18.0pt">&nbsp; size.pr=1000 \
size.prtotal=unlimited<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:18.0pt"><o:p>&nbsp;</o:p></span></p> </div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic