[Samba] linux 2.6 closing connections

Arno Schuring aelschuring at hotmail.com
Sat Jul 9 10:57:33 GMT 2005


Hello list!

Are there any known issues regarding samba3 - linux 2.6 kernels? I'm getting 
disconnects every 20 seconds or so, both via cifs and smbfs mounts. This 
occurs regardless of whether the connection is in use and sometimes leads to 
I/O errors (even doing 'ls' on a mounted dir). It is not consistent though, 
and seems to be triggered by high network traffic. When it is triggered, a 
few minutes of not using the network is sufficient to make it work again (no 
restarting of services, no remounting).

I'm not sure where I should address this, so please redirect me if I chose 
the wrong list. The server is running samba 3.0.6, and the client is linux 
2.6.8 (debian etch). The same does not appear on either the windows 
machines, or any 2.4-based distro (including debian's 2.4). I tried 
searching the net and the archives but could not find anything useful, other 
than "smbfs on 2.6 is deprecated, use cifs" - but that did not solve my 
problem.

I will try a more recent smbd version on the server, but I kind of suspect 
that samba is not the problem, since any other client works correctly. I'm 
just hoping this is a known issue, and someone will tell me there's an easy 
fix :)


I've attached an smbd-log (trying to stream some music. The effect is a 
two-second pause at every reconnect - very annoying). The client does not 
log anything, and packet drops (frame errors etc) are minimal.

Please cc me as I'm not subscribed (yet)


Thanks in advance,

Arno


[2005/07/09 12:18:28, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.32.9)
[2005/07/09 12:18:28, 1] smbd/service.c:make_connection_snum(648)
  192.168.32.9 (192.168.32.9) connect to service LooS initially as user 
aschuring (uid=500, gid=101) (pid 27329)
[2005/07/09 12:18:28, 2] smbd/open.c:open_file(245)
  aschuring opened file MP3/Marillion/Afraid Of Sunlight (1995)/Marillion 
[Afraid Of Sunlight 08] - King.flac read=Yes write=No (numopen=1)
[2005/07/09 12:18:50, 2] smbd/server.c:exit_server(571)
  Closing connections
[2005/07/09 12:18:50, 2] smbd/close.c:close_normal_file(262)
  aschuring closed file MP3/Marillion/Afraid Of Sunlight (1995)/Marillion 
[Afraid Of Sunlight 08] - King.flac (numopen=0)
[2005/07/09 12:18:50, 1] smbd/service.c:close_cnum(837)
  192.168.32.9 (192.168.32.9) closed connection to service LooS
[2005/07/09 12:18:50, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.32.9)
[2005/07/09 12:18:50, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all 
oldresources.
[2005/07/09 12:18:50, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [aschuring] -> [aschuring] 
-> [aschuring] succeeded
[2005/07/09 12:18:50, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.32.9)
[2005/07/09 12:18:50, 1] smbd/service.c:make_connection_snum(648)
  192.168.32.9 (192.168.32.9) connect to service LooS initially as user 
aschuring (uid=500, gid=101) (pid 27330)
[2005/07/09 12:18:50, 2] smbd/open.c:open_file(245)
  aschuring opened file MP3/Marillion/Afraid Of Sunlight (1995)/Marillion 
[Afraid Of Sunlight 08] - King.flac read=Yes write=No (numopen=1)

<< ed. - skipped the details, they remain the same >>
[2005/07/09 12:19:11, 2] smbd/server.c:exit_server(571)
[2005/07/09 12:19:11, 2] smbd/close.c:close_normal_file(262)
[2005/07/09 12:19:11, 1] smbd/service.c:close_cnum(837)
[2005/07/09 12:19:11, 2] lib/access.c:check_access(324)
[2005/07/09 12:19:11, 2] smbd/sesssetup.c:setup_new_vc_session(608)
[2005/07/09 12:19:11, 2] auth/auth.c:check_ntlm_password(305)
[2005/07/09 12:19:11, 2] lib/access.c:check_access(324)
[2005/07/09 12:19:11, 1] smbd/service.c:make_connection_snum(648)
[2005/07/09 12:19:11, 2] smbd/open.c:open_file(245)

[2005/07/09 12:19:33, 2] smbd/server.c:exit_server(571)
[2005/07/09 12:19:33, 2] smbd/close.c:close_normal_file(262)
[2005/07/09 12:19:33, 1] smbd/service.c:close_cnum(837)
[2005/07/09 12:19:33, 2] lib/access.c:check_access(324)
[2005/07/09 12:19:33, 2] smbd/sesssetup.c:setup_new_vc_session(608)
[2005/07/09 12:19:33, 2] auth/auth.c:check_ntlm_password(305)
[2005/07/09 12:19:33, 2] lib/access.c:check_access(324)
[2005/07/09 12:19:33, 1] smbd/service.c:make_connection_snum(648)
[2005/07/09 12:19:33, 2] smbd/open.c:open_file(245)

[2005/07/09 12:19:53, 2] smbd/server.c:exit_server(571)
[2005/07/09 12:19:53, 2] smbd/close.c:close_normal_file(262)
[2005/07/09 12:19:53, 1] smbd/service.c:close_cnum(837)
[2005/07/09 12:19:53, 2] lib/access.c:check_access(324)
[2005/07/09 12:19:53, 2] smbd/sesssetup.c:setup_new_vc_session(608)
[2005/07/09 12:19:53, 2] auth/auth.c:check_ntlm_password(305)
[2005/07/09 12:19:53, 2] lib/access.c:check_access(324)
[2005/07/09 12:19:53, 1] smbd/service.c:make_connection_snum(648)
[2005/07/09 12:19:53, 2] smbd/open.c:open_file(245)

[2005/07/09 12:20:15, 2] smbd/server.c:exit_server(571)
[2005/07/09 12:20:15, 2] smbd/open.c:open_file(245)

[2005/07/09 12:20:36, 2] smbd/server.c:exit_server(571)
[2005/07/09 12:20:36, 2] smbd/open.c:open_file(245)

<< well, you get the idea >>


--
Information without knowledge is noise
knowledge without wisdom is dangerous stupidity




More information about the samba mailing list