[Samba] CIFS Server 2.2j Pb with locking : No locks available
eric roseme
eroseme at emonster.rose.hp.com
Tue Aug 24 13:36:47 GMT 2004
You probably did not tune nflocks for Samba. The default kernel
variable will be exhausted quickly with Samba due to the extensive tdb
locking.
As long as you are doing nflocks, you might as well do the other stuff too:
nflocks
(10*maximum smbd)+(other apps + system)
example 1000 connected clients and baseline NFS system
(10*1000)+(2048) = 12048
nfile
((23+opens_per_smbd)*maximum smbd)+(other apps+system))
example 1000 connected clients and baseline NFS system
((23+7)*1000)+(8192)=38192
nproc
(maximum smbd)+(other apps+system)
example 1000 connected clients and baseline NFS system
(1000)+(1024)=2024
Eric Roseme
Hewlett-Packard
Bernard Sagnol wrote:
> I 've installed Samba on my Hp-Ux station and can access the files with
> my Windows clients (a hundred client)...but one hour or more later i
> face a problem :
> Actual user : oK.
> New access : Ko.
> -------------------------------------------------------------------------------
>
> Error message in the client logfile
>
> 2004/08/23 14:15:39, 0] tdb/tdbutil.c:(531)
> tdb(/var/opt/samba/locks/connections.tdb): tdb_lock failed on list 91
> ltype=2
> (No locks available)
> -------------------------------------------------------------------------------
>
> Environnment
> HP Product : HP CIFS Server 2.2j downloaded from Hp web site.
>
> B8725AA A.01.11.02 HP CIFS Server
> on HP-UX 11.00
> --
> -----------------------------------------------------------------------------
>
> Smb conf :
> [global]
> security = share
> [public]
> browseable = yes
> path = /public
> public = yes
> only guest = yes
> writable = yes
> printable = no
> create mask = 777
> -------------------------------------------------------------------------------
>
More information about the samba
mailing list