Yossef,
You need to increase the number of file descriptors available to your
system.
Do a ulimit -a and see how many files you are allowed to open and then do a
ulimit -n <(2* files)+1)> (Replace everything including the <>'s with a
number. ex: ulimit -n 2048)
Thanks,
Steven Fines
Software Architect, Cotelligent, Inc.
www.cotelligent.com
-----Original Message-----
From: Yossef Korang
To: Quanah Gibson-Mount; openldap-software@OpenLDAP.org
Sent: 6/25/03 2:53 PM
Subject: Re: LDAP Hangs on request
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