[Date Prev][Date Next]
Re: Number of Connection
Thanks for your reply.
So, are you saying that the conn will keep increasing until the next slapd
Is there a way to 'close' each connection so that the number of concurrent
connection will not reach the limit?
Any idea what will happen if the number of connection reaches the limit?
Thanks in advance.
----- Original Message -----
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
To: "Siao Chiun" <email@example.com>
Sent: Friday, January 05, 2001 3:05 PM
Subject: Re: Number of Connection
> At 02:07 PM 1/5/01 +0800, Siao Chiun wrote:
> >I took a look at my slapd log file and notice that the "conn" kept
increasing and currently it is at 7531.
> as expected...
> >Here is an example entry in the log file:-
> >"Jan 5 13:38:28 SIN_ABC_A01 slapd: [ID 368088 local4.debug]
conn=7531 op=0 RESULT err=0 tag=97 nentries=0"
> >Is there a limit to the number of connection?
> Yes, something like 2^(8*sizeof(long))-1. Of course, the
> number of concurrent connections is limited by the number
> of file descriptors which can be open at one time... and
> by other factors (number of threads, virtual memory, etc.).
> >Do I need to restart the slapd from time to time to keep the conn number
> Yes. But there is no need to keep the conn number small.
> >My loglevel is set to 256. This makes the logfile very huge within a
short period of time and not many useful information for debugging. Any
advice as in what is a more appropriate loglevel setting for a rather
> Depends... I generally run with STATS.