No locks available error

Jeremy Allison jra at samba.org
Wed Jan 16 09:23:04 GMT 2002


On Wed, Jan 16, 2002 at 11:59:56AM -0500, Gram, Danielle A. wrote:
> Hi, 
>     
>     I'm running Samba 2.2.2 on an HP-UX 11.0 - with both Win NT and 2000
> clients mapping drives to the server.  Occasionally, our users lose
> connection for no apparent reason.  And when it happens, it doesn't seem to
> affect everyone.  But, once one person loses connection, it happens to more
> and more people until the only way we can fix it is to restart Samba.  
>     It appears like a max connection problem or max locks??  We get the
> following error in log.nmbd and it's the only error I can relate to the
> problem...
>  
> [2002/01/16 09:41:39, 0] tdb/tdbutil.c:(342)
>   tdb(/usr/local/samba/var/locks/unexpected.tdb): tdb_lock failed on list -1
> ltype=2 (No locks available)
>  
>     At the same time, when a user starts having connection problems, they
> get this error in their log.username...
>  
> [2002/01/16 10:13:44, 0] smbd/posix_acls.c:(761)
>   create_canon_ace_lists: unable to map SID
> S-1-5-21-895581073-1942488407-646806464-5796 to uid or gid.
>  
>     Is this a Samba problem or HP-UX?  Does anyone know what causes this?
> Is there a setting that can be changed in Samba or a kernel parameter?

I'm pretty sure this is HPUX running out of kernel fcntl locks.
Look into setting the HPUX parameter to up the number of available
fcntl locks on HPUX (I'm sure Don will help here :-).

Jeremy.




More information about the samba mailing list