[Samba] No locks available)

Gordon Steven-QSG001 Steven.Gordon at motorola.com
Mon Aug 25 14:38:55 GMT 2003

I had the same problem.  You need to increase the "nflocks" kernel parameter
from the default 200.  I raised mine to 3000.  I saw that another user had
based his value for nflocks on a formula based on the "maxusers" parameter,
but I don't recall what it was.




Steve Gordon
Motorola - Engineering Computing
Global Telecom Solutions Sector
(817) 245-6811
steven.gordon at motorola.com

-----Original Message-----
From: babu.kish at philips.com [mailto:babu.kish at philips.com] 
Sent: Monday, August 25, 2003 4:47 AM
To: samba at lists.samba.org
Subject: [Samba] No locks available)

Hi ,Version 2.2.8
I have samba  2.2.8 installed on HPUX 11.11 machine, recently I found the
share are getting disconnect frequently, I get following error. Is it
problem with nflocks can you please  help me on this issue.

/usr/local/samba/var/locks/connections.tdb): tdb_lock failed on list 60
ltype=2 (No locks available)

locks file are avialable and the permission of the file

drwxr-xr-x   2 root       sys           1024 Aug 25 15:08 locks


To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list