[Samba] LOGIC ERROR in smbd locks system...

Maier, Thomas Thomas.Maier at IZB-SOFT.de
Tue Jul 20 08:22:02 GMT 2004


Hello,

i have a little problem here:

Using Samba 2.2.2 with IBM ClearCase (2003) on a Sun Solaris 8 machine (2
cpus, 4G ram) (IBM does not support Samba 3.0 with Clearcase, maybe Samba
3.0 will fix the problem, but not able to test it yet). There are more than
100 smbd processes running in average. Load average of the maschine: under
1.0 in normal operation.

But from time to time there are system locks, means: there are many smbd's
running (over 50 and more) that produces an load average of over 50.0 !
These processes consume about 2% cpu time per smbd, resulting in:  cpu
state: 0% idle  10% user  90% kernel.

Simply: the machine does not responded to any request


log.smbd says:

[2004/07/20 10:07:48, 0] locking/locking.c:delete_fn(252)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 16008 and it no longer
exists!
[2004/07/20 10:07:48, 0] locking/locking.c:delete_fn(252)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 23576 and it no longer
exists!
[2004/07/20 10:07:48, 0] locking/locking.c:delete_fn(252)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 4160 and it no longer
exists!
[2004/07/20 10:07:48, 0] locking/locking.c:delete_fn(252)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 22062 and it no longer
exists!
[2004/07/20 10:07:48, 0] locking/locking.c:delete_fn(252)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 9311 and it no longer
exists!
[2004/07/20 10:07:48, 0] locking/locking.c:delete_fn(252)
  locking : delete_fn. LOGIC ERROR ! Entry for pid 9311 and it no longer
exists!



Seems that smbd's are terminated and restarted again?! But what can cause
this behaviour? Are there any timeouts in smbd that can cause this?
Maybe the problem arise, if someone want to access a clearcase element over
a clearcase view that is shared over samba to the windows world. If the
element's size is huge and maybe compressed, clearcase can take a while to
extract the element from the vob and give a response back to samba.

But i can not understand, why nearly *all* smbd's are influenced?

Many thanks for any help

Thomas Maier




More information about the samba mailing list