[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6334) hang during ldapmodify



Hello, Mark.

> Up until recently, this had been working great.  We are now  
> experiencing
> hangs whenever we try to update the records with one particular group.
> I think the hangs are occur when we try to feed too much data to
> ldapmodify at a time.  For instance, if I have the above group and try
> to apply the following ldif file:

Large collections of values can be slow for some uses; have you looked  
at the sortvals option?  (needs a db reload with slapcat+slapadd)

> memberUid: t2479

That doesn't seem terribly large, no.  sortvals is more pertinent if  
you have 100k+ values on the attribute...

> The update simply hangs.  Tossing a "-d 65535" shows that the  
> process is
> sitting in loop spitting out messages similar to:

> ldap_int_select

This looks like you added -d to your ldapmodify.  More useful here  
would be server logs; try running slapd with -d 263 so we can see more  
of what the server is trying. (1+2+4+256)

> I'm happy to provide any additional details or debugging  
> information, just let
> me know what you need.

Can you attach a gdb backtrace taken during the hang?  (thread apply  
all backtrace full)

Matthew Backes
Symas Corporation
mbackes@symas.com