[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd threads and processes...
On Thursday 23 May 2002 3:46 pm, Andrew McCall wrote:
> Hi,
>
> I have just migrated from iPlanet Directory Server to OpenLDAP 2 and
> everything seemed to be going very well.... however... I seem to be using
> loads of processes, and not dropping connections.
>
> I am aware that there is a master slapd process that creates more threads
> as they are needed, but when I reached the maximum number of threads I
> allowed (100), slapd just grinds to a halt.
>
> Could it be that I am not dropping connections? I have about 86 connections
> with TIME_WAIT when I do a netstat -a.
>
> I have the info in my slapd.conf :
>
> threads 100
> idletimeout 300
>
> Here is a section of what is output when I do a ps -auwxf | grep slapd
>
> root 13044 0.0 1.9 72012 20244 ? S 15:21 0:00
> /usr/lib/openldap/slapd
> root 13045 0.0 1.9 72012 20244 ? S 15:21 0:00 \_
> /usr/lib/openldap/slapd
> root 13046 0.1 1.9 72012 20244 ? S 15:21 0:01 \_
> /usr/lib/openldap/slapd
> root 13051 4.5 1.9 72012 20244 ? S 15:21 0:33 \_
> /usr/lib/openldap/slapd
> root 13052 1.9 1.9 72012 20244 ? S 15:21 0:14 \_
> /usr/lib/openldap/slapd
> root 13096 2.1 1.9 72012 20244 ? S 15:21 0:15 \_
> /usr/lib/openldap/slapd
>
> Most of my clients are Netscape address books, and searching for users
> seems to be much slower too.
Hi,
Just an update to this. I have solved my slow address books by indexing the ldap correctly.
I am still having issues with processes and threads though!
I have upped the Threads to 200 and the concurrency to 175.
Threads/Processes just don't seem to die or be re-used!
I have had the server on for about an hour, and I now have 104 threads and only 89 connections.
> Please can anyone suggest anything to help me!
--
Thanks
Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street
Oldham
OL1 1UU
Tel : 0161 911 3990
Fax : 0161 911 3998
Email : it.andrew.mccall@oldham.gov.uk
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.oldham.gov.uk
**********************************************************************