[samba-jp:19403] tdb_chainlock_with_timeout_internalエラーについて

fukase naoko fukase.naoko @ nsas.co.jp
2007年 4月 19日 (木) 12:21:04 JST


お世話になります。
深瀬と申します。

過去ログ等を検索させていただきましたが
有効な回答を見つけることが出来ませんでしたので
始めて投稿させていただきます。

現象としては一斉に100〜150人のユーザがsambaファイルサーバの
ホームディレクトリ領域をネットワークドライブに割り当てる際に
約1割のユーザがマウンドできない状態です。

その際に起動しているsmbdの数を確認しますと
100〜150人のユーザに対し、300〜400のsmbdが起動していることを
確認しています。

ログを確認したところ、
Apr 18 12:44:14 file01 smbd[16105]: [2007/04/18 12:44:14, 0]
tdb/tdbutil.c:tdb_log(725)
Apr 18 12:44:14 file01 smbd[16105]:   tdb(/etc/samba/secrets.tdb):
tdb_lock failed on list 105 ltype=1 (Interrupted system call)
Apr 18 12:44:14 file01 smbd[16105]: [2007/04/18 12:44:14, 0]
tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77)
Apr 18 12:44:14 file01 smbd[16105]: tdb_chainlock_with_timeout_internal:
alarm (10) timed out for key SMB01 in tdb /etc/samba/secrets.tdb
Apr 18 12:44:14 file01 smbd[16105]: [2007/04/18 12:44:14, 0]
auth/auth_domain.c:domain_client_validate(170)
Apr 18 12:44:14 file01 smbd[16105]:   domain_client_validate: Domain
passwordserver not available.

と出力されており、secrets.tdbのロックがかかっている為に
ldapへのユーザ認証の問合せを行うことがタイムアウトにより
ユーザ自身のファイルサーバ上ホームディレクトリのネットワークドライブ
のマッピングに失敗しているものと考えています。

このような状態を回避できる手段はありますでしょうか?
また、私の考えているものと違う原因であればご指摘いただけますでしょうか?

お手数をおかけしますが、よろしくお願い致します。

【環境】
Turbolinux 10 server(kernet 2.6.8-5smp)
samba-3.0.6-13(rpm)

【設定】
[global]
dos charset = CP932
unix charset = EUCJP-MS
display charset = EUCJP-MS
workgroup = test
netbios name = file01
server string = Samba Server
passdb backend = "ldapsam:ldap://192.168.0.1 ldap://192.168.0.2"
ldap suffix = dc=test,dc=aaa,dc=bbb,dc=jp
ldap admin dn = uid=smbadm,ou=Users,dc=test,dc=aaa,dc=bbb,dc=jp
ldap user suffix = ou=user
ldap group suffix = ou=group
ldap machine suffix = ou=computer
ldap passwd sync = yes
syslog = 3
syslog only = yes
max mux = 150
deadtime = 36000
security = domain
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8760 SO_SNDBUF=8760
os level = 33
admin users = Administrator
wins server = 192.168.0.1
dns proxy = no
load printers = no
disable spoolss = yes

[homes]
comment = Home Directories
browseable = no
writable = yes




samba-jp メーリングリストの案内