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

Re: LDAP Hangs on request



The "too many open files" message may mean you've exceeded the number of
allowed file descriptors for the slapd process.  You may want to look into
increasing that.  I've seen similar circumstances when I have insufficient
limits on Solaris, same probably will happen on Linux.
-Alan

Yossef Korang said:
> Quanah Gibson-Mount wrote:
>
>>
>>
>> --On Wednesday, June 25, 2003 1:10 PM -0400 Yossef Korang
>> <yossef@yossefk.com> wrote:
>>
>>> I'm not sure what the problem is, other than it simply hanging on a
>>> client machine.  I have LDAP running smoothly on the master(for
>>> authentication), but when I enable it on the client side, and make
>>> the adjustment to /etc/nsswitch.conf to be "hosts files ldap", and if
>>> I try to "finger" a  user(or login, etc), it just hangs there on
>>> client and master side.   Any help or point to a previous answered
>>> question dealing with this(that I have not yet found in the archives)
>>> would be
>>> appreciated.
>>
>>
>> I suggest turning up the debug levels on slapd, and see what
>> processing is happening when you make the finger request.  I'd guess
>> the ACL's are giving the permissions you want, and/or the client is
>> doing a query that is other than what you expect.
>>
>> --Quanah
>>
>>
>> --
>> Quanah Gibson-Mount
>> Senior Systems Administrator
>> ITSS/TSS/Computing Systems
>> Stanford University
>> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
>>
> I've set debug to show all, and I get a whole lot of this showing on the
>  screen(this is the end of it):
> daemon: activity on:
> daemon: select: listen=8 active_threads=0 tvp=NULL
> daemon: activity on 1 descriptors
> daemon: new connection on 1022
> conn=2807 fd=1022 ACCEPT from IP=129.252.32.43:3899 (IP=0.0.0.0:389)
> daemon: added 1022r
> daemon: activity on:
> daemon: select: listen=8 active_threads=0 tvp=NULL
> daemon: activity on 1 descriptors
> daemon: new connection on 1023
> conn=2808 fd=1023 ACCEPT from IP=129.252.32.43:3900 (IP=0.0.0.0:389)
> daemon: added 1023r
> daemon: activity on:
> daemon: select: listen=8 active_threads=0 tvp=NULL
> daemon: activity on 1 descriptors
> daemon: accept(8) failed errno=24 (Too many open files)
>
> At this point it stops printing anything(Until I hit cntr+c on the
> finger, and it closes all those).  From this I am still not sure why it
> is hanging.
>
> Thanks for your help, and I'd appreciate any further help I may receive


===========
Alan Sparks, UNIX/Linux Systems Administrator    <asparks@doublesparks.net>