[Samba] Major troubles but solved by removing the ./var/locks/*.tbl

John H Terpstra jht at samba.org
Tue May 27 16:04:47 GMT 2003


On Tue, 27 May 2003, Leroy van Logchem wrote:

> Hello,
>
> Well today it happend.... our first major troubles using samba. This is
> no complaints but just some questions :-)
> Our samba PDC server has been hosting 3 TB of data to our 500+ users
> [Windows NT/XP]  for the last 3 years using samba, no problem.
> But today all shares went SLOW; very slow. Also the main smbd kept
> spawning new processes so we had 1600+ running smbd's.... ( while
> normally we avg. 250 ).
> It crashed the SUN E3500 cluster twice. After alot of searching I
> decided to rm ./var/locks/*.tbl and YES I was happy again.
>
> q1) Is there any method of keeping the *.tbl files in top condition or
> how to early detect corruption?

Please refer to the documentation for the Samba tdbbackup utility. That is
your best potential at this time.

tdbbackup will backup tdb's that are OK. When run before starting smbd and
nmbd it will restore a backup if it finds the master damaged.

> q2) What I also would like to mention is that the service latency seems
> alot lower then before the locks cleanup, any ideas on keeping it top notch?

Same answer.

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list