We have samba3-3.0.21c-26 on 2.6.9-22-ELsmp kernel. We had our data
being reshared from a nfs mount. But company wide freezes occured.
(the windows boxes lock up for a few minutes) and servers would go
idle. In order to troubleshoot, we moved the data local to the samba
server. Since then our freezes are more frequent and shorter, but not
company wide. Since we moved data local, we see new error messages
like:
Mar 6 14:15:27 oceanus kernel: lease broken - owner pid = 2405

Our users all run Microstation V7 or V8, and my guess is that this is a
locking issue. We have tried turning off kernel oplocks, but didnt
help. (actually made worse). I don't know what data I need to send,
but any advise would be greatly appreciated. I am including some of
the logs around a couple of "lease broken" errors we have seen. (the
freezes are more frequent than the errors we see)
Should I send -> Samba conf ?

[root@oceanus Workspace]# cat /var/log/messages.1 | grep 18635
Mar 2 14:38:20 oceanus kernel: lease broken - owner pid = 18635
Mar 2 17:06:33 oceanus smbd[18635]: [2006/03/02 17:06:33, 1]
smbd/service.c:close_cnum(885)
Mar 2 17:06:33 oceanus smbd[18635]: 01-wrk-0052 (192.168.253.23)
closed connection to service proj
[root@oceanus Workspace]# cat /var/log/messages.1 | grep 18236
Mar 2 16:33:09 oceanus kernel: lease broken - owner pid = 18236
Mar 2 17:54:00 oceanus smbd[18236]: [2006/03/02 17:54:00, 1]
smbd/service.c:close_cnum(885)
Mar 2 17:54:00 oceanus smbd[18236]: 01-wrk-0064 (192.168.253.86)
closed connection to service proj
[root@oceanus Workspace]#

[root@oceanus Workspace]# cat /var/log/messages.1 | grep "Mar 2 14:"
Mar 2 14:00:01 oceanus crond(pam_unix)[18793]: session opened for user
root by (uid=0)
Mar 2 14:00:01 oceanus crond(pam_unix)[18793]: session closed for user
root
Mar 2 14:01:01 oceanus crond(pam_unix)[18796]: session opened for user
root by (uid=0)
Mar 2 14:01:01 oceanus crond(pam_unix)[18796]: session closed for user
root
Mar 2 14:10:01 oceanus crond(pam_unix)[18809]: session opened for user
root by (uid=0)
Mar 2 14:10:01 oceanus crond(pam_unix)[18809]: session closed for user
root
Mar 2 14:20:01 oceanus crond(pam_unix)[18822]: session opened for user
root by (uid=0)
Mar 2 14:20:01 oceanus crond(pam_unix)[18822]: session closed for user
root
Mar 2 14:30:01 oceanus crond(pam_unix)[18832]: session opened for user
root by (uid=0)
Mar 2 14:30:01 oceanus crond(pam_unix)[18832]: session closed for user
root
Mar 2 14:38:20 oceanus kernel: lease broken - owner pid = 18635
Mar 2 14:40:01 oceanus crond(pam_unix)[18837]: session opened for user
root by (uid=0)
Mar 2 14:40:01 oceanus crond(pam_unix)[18837]: session closed for user
root
Mar 2 14:44:01 oceanus ntpd[4924]: time reset +0.730743 s
Mar 2 14:44:01 oceanus ntpd[4924]: system event 'event_clock_reset'
(0x05) status 'leap_none, sync_unspec, 15 events, event_peer/strat_chg'
(0xf4)
Mar 2 14:44:01 oceanus ntpd[4924]: system event 'event_peer/strat_chg'
(0x04) status 'leap_none, sync_unspec, 15 events, event_clock_reset'
(0xf5)
Mar 2 14:50:01 oceanus crond(pam_unix)[18847]: session opened for user
root by (uid=0)
Mar 2 14:50:01 oceanus crond(pam_unix)[18847]: session closed for user
root
Mar 2 14:52:36 oceanus ntpd[4924]: peer 198.72.72.10 event
'event_reach' (0x84) status 'unreach, conf, 15 events, event_reach'
(0x80f4)
Mar 2 14:52:51 oceanus ntpd[4924]: synchronized to 198.72.72.10,
stratum 2
Mar 2 14:55:58 oceanus ntpd[4924]: offset 0.026403 sec freq -72.531
ppm error 0.009585 poll 6
[root@oceanus Workspace]#

Mar 2 16:00:01 oceanus crond(pam_unix)[18910]: session opened for user
root by (uid=0)
Mar 2 16:00:01 oceanus crond(pam_unix)[18910]: session closed for user
root
Mar 2 16:01:01 oceanus crond(pam_unix)[18913]: session opened for user
root by (uid=0)
Mar 2 16:01:01 oceanus crond(pam_unix)[18913]: session closed for user
root
Mar 2 16:10:01 oceanus crond(pam_unix)[18923]: session opened for user
root by (uid=0)
Mar 2 16:10:01 oceanus crond(pam_unix)[18923]: session closed for user
root
Mar 2 16:20:01 oceanus crond(pam_unix)[18933]: session opened for user
root by (uid=0)
Mar 2 16:20:01 oceanus crond(pam_unix)[18933]: session closed for user
root
Mar 2 16:30:00 oceanus crond(pam_unix)[18941]: session opened for user
root by (uid=0)
Mar 2 16:30:00 oceanus crond(pam_unix)[18941]: session closed for user
root
Mar 2 16:33:09 oceanus kernel: lease broken - owner pid = 18236
Mar 2 16:40:01 oceanus crond(pam_unix)[18947]: session opened for user
root by (uid=0)
Mar 2 16:40:00 oceanus crond(pam_unix)[18947]: session closed for user
root
Mar 2 16:42:32 oceanus smbd[18136]: [2006/03/02 16:42:32, 0]
lib/username.c:map_username(139)
Mar 2 16:42:32 oceanus smbd[18136]: can't open username map
/etc/samba/smbusers. Error Permission denied
Mar 2 16:43:06 oceanus smbd[18391]: [2006/03/02 16:43:06, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:43:06 oceanus smbd[18391]: ny007 (192.168.251.110) closed
connection to service proj
Mar 2 16:43:24 oceanus smbd[18144]: [2006/03/02 16:43:24, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:43:24 oceanus smbd[18144]: 01-wrk-0081 (192.168.253.96)
closed connection to service proj
Mar 2 16:46:07 oceanus smbd[18919]: [2006/03/02 16:46:07, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:46:07 oceanus smbd[18919]: 01-wrk-0112 (192.168.253.54)
closed connection to service proj
Mar 2 16:46:14 oceanus smbd[18366]: [2006/03/02 16:46:14, 0]
smbd/nttrans.c:call_nt_transact_ioctl(2344)
Mar 2 16:46:14 oceanus smbd[18366]: call_nt_transact_ioctl(0x9009c):
Currently not implemented.
Mar 2 16:46:49 oceanus smbd[18391]: [2006/03/02 16:46:49, 1]
smbd/service.c:make_connection_snum(693)
Mar 2 16:46:48 oceanus smbd[18391]: ny007 (192.168.251.110) connect
to service proj initially as user chrise (uid=1197, gid=513) (pid
18391)
Mar 2 16:47:02 oceanus smbd[18542]: [2006/03/02 16:47:02, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:47:02 oceanus smbd[18542]: laurenb (192.168.250.2) closed
connection to service proj
Mar 2 16:50:01 oceanus crond(pam_unix)[18985]: session opened for user
root by (uid=0)
Mar 2 16:50:01 oceanus crond(pam_unix)[18985]: session closed for user
root
Mar 2 16:50:04 oceanus smbd[18340]: [2006/03/02 16:50:04, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:50:04 oceanus smbd[18340]: 01-wrk-0116 (192.168.253.106)
closed connection to service proj
Mar 2 16:54:27 oceanus smbd[18110]: [2006/03/02 16:54:27, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:54:27 oceanus smbd[18110]: 01-wrk-0136 (192.168.253.196)
closed connection to service proj
Mar 2 16:54:49 oceanus smbd[18233]: [2006/03/02 16:54:49, 1]
smbd/service.c:make_connection_snum(693)
Mar 2 16:54:47 oceanus smbd[18233]: ny003 (192.168.251.100) connect
to service proj initially as user rexw (uid=1082, gid=513) (pid 18233)
Mar 2 16:55:49 oceanus smbd[18233]: [2006/03/02 16:55:49, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:55:49 oceanus smbd[18233]: ny003 (192.168.251.100) closed
connection to service proj
Mar 2 16:56:03 oceanus ntpd[4924]: offset 0.013905 sec freq -67.836
ppm error 0.001118 poll 9
Mar 2 16:57:10 oceanus smbd[18993]: [2006/03/02 16:57:10, 1]
smbd/service.c:make_connection_snum(693)
Mar 2 16:57:10 oceanus smbd[18993]: robynfoster (192.168.253.135)
connect to service proj initially as user robyn (uid=1049, gid=513)
(pid 18993)
Mar 2 16:57:25 oceanus smbd[18173]: [2006/03/02 16:57:25, 0]
lib/util_sock.c:read_data(529)
Mar 2 16:57:25 oceanus smbd[18173]: read_data: read failure for 4
bytes to client 192.168.253.135. Error = Connection reset by peer
Mar 2 16:57:25 oceanus smbd[18173]: [2006/03/02 16:57:25, 0]
lib/util_sock.c:write_data(557)
Mar 2 16:57:25 oceanus smbd[18173]: write_data: write failure in
writing to client 192.168.253.135. Error Broken pipe
Mar 2 16:57:25 oceanus smbd[18173]: [2006/03/02 16:57:25, 0]
lib/util_sock.c:send_smb(765)
Mar 2 16:57:25 oceanus smbd[18173]: Error writing 75 bytes to
client. -1. (Broken pipe)
Mar 2 16:58:39 oceanus smbd[18264]: [2006/03/02 16:58:39, 1]
smbd/service.c:make_connection_snum(693)
Mar 2 16:58:38 oceanus smbd[18264]: ny013 (192.168.251.108) connect
to service proj initially as user elizabeths (uid=1077, gid=513) (pid
18264)
Mar 2 16:59:20 oceanus smbd[18993]: [2006/03/02 16:59:20, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:59:20 oceanus smbd[18993]: robynfoster (192.168.253.135)
closed connection to service proj
Mar 2 16:59:37 oceanus smbd[18264]: [2006/03/02 16:59:37, 1]
smbd/service.c:close_cnum(885)
Mar 2 16:59:37 oceanus smbd[18264]: ny013 (192.168.251.108) closed
connection to service proj
Mar 2 16:59:41 oceanus smbd[18251]: [2006/03/02 16:59:41, 1]
smbd/service.c:make_connection_snum(693)
Mar 2 16:59:39 oceanus smbd[18251]: ny001 (192.168.251.115) connect
to service proj initially as user guillermor (uid=1238, gid=513) (pid
18251)

Another:
[root@oceanus Workspace]# cat /var/log/messages.1 | grep "Mar 2 10:"
Mar 2 10:00:01 oceanus crond(pam_unix)[18476]: session opened for user
root by (uid=0)
Mar 2 10:00:01 oceanus crond(pam_unix)[18476]: session closed for user
root
Mar 2 10:01:01 oceanus crond(pam_unix)[18482]: session opened for user
root by (uid=0)
Mar 2 10:01:01 oceanus crond(pam_unix)[18482]: session closed for user
root
Mar 2 10:06:49 oceanus ntpd[4924]: no servers reachable
Mar 2 10:08:56 oceanus ntpd[4924]: synchronized to 198.72.72.10,
stratum 2
Mar 2 10:10:02 oceanus crond(pam_unix)[18493]: session opened for user
root by (uid=0)
Mar 2 10:10:02 oceanus crond(pam_unix)[18493]: session closed for user
root
Mar 2 10:20:02 oceanus crond(pam_unix)[18509]: session opened for user
root by (uid=0)
Mar 2 10:20:02 oceanus crond(pam_unix)[18509]: session closed for user
root
Mar 2 10:29:20 oceanus ntpd[4924]: no servers reachable
Mar 2 10:30:01 oceanus crond(pam_unix)[18525]: session opened for user
root by (uid=0)
Mar 2 10:30:01 oceanus crond(pam_unix)[18525]: session closed for user
root
Mar 2 10:33:38 oceanus ntpd[4924]: synchronized to 198.72.72.10,
stratum 2
Mar 2 10:39:26 oceanus kernel: lease broken - owner pid = 18375
Mar 2 10:40:01 oceanus crond(pam_unix)[18537]: session opened for user
root by (uid=0)
Mar 2 10:40:01 oceanus crond(pam_unix)[18537]: session closed for user
root
Mar 2 10:40:12 oceanus kernel: lease broken - owner pid = 18220
Mar 2 10:50:01 oceanus crond(pam_unix)[18553]: session opened for user
root by (uid=0)
Mar 2 10:50:01 oceanus crond(pam_unix)[18553]: session closed for user
root
Mar 2 10:56:51 oceanus ntpd[4924]: offset 0.028861 sec freq -87.314
ppm error 0.000012 poll 7
Mar 2 10:57:19 oceanus ntpd[4924]: time reset -1.771885 s
Mar 2 10:57:19 oceanus ntpd[4924]: system event 'event_clock_reset'
(0x05) status 'leap_none, sync_unspec, 15 events, event_peer/strat_chg'
(0xf4)
Mar 2 10:57:19 oceanus ntpd[4924]: system event 'event_peer/strat_chg'
(0x04) status 'leap_none, sync_unspec, 15 events, event_clock_reset'
(0xf5)
Mar 2 10:59:29 oceanus ntpd[4924]: peer 198.72.72.10 event
'event_reach' (0x84) status 'unreach, conf, 15 events, event_reach'
(0x80f4)
Mar 2 10:59:43 oceanus ntpd[4924]: synchronized to 198.72.72.10,
stratum 2