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

Re: OpenLdap stalls periodically.



>>>>> "Ajit" == Ajit Nair <ajit_nair@adc.com> writes:

    Ajit> Occasionally, the server will simply stop responding to LDAP
    Ajit> requests. A listing of the slapd processes shows that slapd
    Ajit> is indeed running but not taking any cpu cycles. Even tools
    Ajit> like ldapsearch will just hang. The server will accept an
    Ajit> LDAP connection from a client but not respond to the
    Ajit> client's request.

I got this earlier when starting out with OpenLDAP 1.2.x. The solution
was inodes (and more inodes!!).

This should do it...
echo 16384 > /proc/sys/fs/file-max
echo 32768 > /proc/sys/fs/inode-max

-- 
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /   Debian Certified Linux Developer  
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson   turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden