Добрый утро/день/вечер/ночь. Я недавно столкнулся с провлемой в samba 3.0.1 Проблема такая : Периодически на клиентах (Win2k) изчезает доступ к серверу а затем через 10-15 секунд возвращаеться. При этом в логах samba пишеться [2004/02/18 13:57:30, 0] lib/util_sock.c:read_socket_data(342) read_socket_data: recv failure for 4. Error = Operation timed out [2004/03/11 12:43:28, 0] lib/util_sock.c:read_socket_data(342) read_socket_data: recv failure for 4. Error = Operation timed out
Файл smb.conf
#======================= Global Settings ===================================== [global] workgroup = MMF netbios aliases = appserver server string = FreeBSD file server for WinNT/2000/XP ;printcap name = load printers = no ;printing = log file = /var/log/samba/log.%I max log size = 5000 log level = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* ; include = /etc/smb.conf.%m # See speed.txt and the manual pages for details socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 keepalive = 90 # If you have multiple network interfaces then you must list them # here. See the man page for details. interfaces = 192.168.4.250/24 192.168.8.250/24 192.168.5.250/24 192.168.1.250/24 192.168.16.51/24 getwd cache = yes local master = yes deadtime = 0 os level = 63 domain master = yes preferred master = yes domain logons = yes logon path = \\server\student admin users = admin , @wheel wins support = yes dns proxy = no #============================ Share Definitions ============================== ; Un-comment the following and create the netlogon directory for Domain Logons [netlogon] comment = Network Logon Service path = /home/netlogon browseable = yes public = no locking = no writable = no share modes = no write list = admin , @wheel
; print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. ; print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). ; lpq command = lpstat -o %p ; lprm command = cancel %p-%j
[student] comment = You files path = /home/%u public = no locking = Yes writable = yes admin users = admin create mask = 755 directory mask = 755 #root preexec = rm -Rf /mnt/netbackup/%u & #root postexec = cp -Rf /home/%u /mnt/netbackup/ & invalid users = util oplocks = yes [public] path = /public comment = Public files public = yes read only = Yes printable = no root preexec = echo "user %u connect in %T with %m" >> /var/log/samba/%u.log locking = Yes admin users = admin svr root write list = admin svr root invalid users = util create mask = 755 directory mask = 755 invalid users = util oplocks = yes [util] path = /mnt/app comment = Appication locking = Yes public = yes read only = yes admin users = admin root write list = admin root create mask = 755 directory mask = 755 invalid users = school @student oplocks = yes [root] path = /home locking = Yes comment = All user files public = no read only = yes invalid users = school @student util admin users = admin svr root write list = admin svr root create mask = 777 directory mask = 777 oplocks = yes
На сервере 5 сетевух , 4 100Мб а одна на 10 Мб . Сервак:PIII733/256Mb/40Gb HDD
ОС:FreeBSD 4.9 + обновление реализации tcp от начала марта.
Помогите кто чем может , а если я не решу эту прблему в ближайшее время , меня заставят перейти на Windows2003 Server(есть люди ,которые утверждают что он будет работать лучше и стабильнее).