[Samba] Samba 3.0.22 - slow performance - Really urgent help

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Apr 1 05:42:48 MDT 2010


On Thu, Apr 01, 2010 at 01:32:02PM +0200, Christoph Beyer wrote:
> if you do 'truss -f -p <smbd-PID>' do you see a lot of:
>
> 19702:  fcntl(17, F_SETLKW64, 0xFFBFE640)               = 0
>
> ?
>
> If yes this is a problem that is present in most of the recent samba 
> versions (tried 5 or 6 versions off the different branches) it's a 
> solaris related bug but that's all I can say. It might be fixed in 3.5.1 
> ...

Those many fcntl calls are just normal Samba operation. They
should be *very* fast. There might be a problem with the
messages.tdb, notify.tdb and notify_onelevel.tdb in current
Samba version, where there is one fcntl read lock being held
per smbd on each of these databases. This might be a
performance problem if you have thousands of connected
clients. But normally, fcntl calls should be very fast.

Volker


More information about the samba mailing list