SAMBA access limits on HPUX??

DOELKER,RAINER (HP-Germany,ex2) rainer_doelker at
Fri Mar 22 01:45:23 GMT 2002

"Orwig, Paul" <PORWIG at> wrote on Mon, 18 Mar 2002 12:48:21
>We are using SAMBA 2.2.3a on HPUX 11.0 and are running into a problem where
>after 30 sessions, noone else can access the shares.

I did not see if anyone answered you jet.

All I can imagine might be perhaps the more extensive use of unix-locks for
samba2.2.x. I know from a customer who looked as samba2.2.3a with GLANCE and
saw that each smbd took approx 10 locks, whereas samba2.0.7 only took one.
Samba2.2.3 as well uses more file-handles.

So I'd suggest to increase nflock by "10 * #(of estimated smbd's)".  

Also remember that each smbd consumes 1 proc in the proctable, you may rule
this by the maxusers marcro. maxusers affect nproc, nfile, and others. Our
prev. recommendation is to increase maxusers by the number of estimated
samba users.

for samba2.2.3a adapt nfile to triple the filehandles:
nfile = 16(nproc + 16 + 3* maxusers)/10 + 32 + 2*(npty + nstrpty + nstrtel)
(new is the "3 * " before maxusers)

Regards, Rainer

More information about the samba-technical mailing list