[Samba] Mac OS X Finder hangs when accessing Samba server

Roy McMorran mcmorran at primushost.com
Wed Mar 30 22:39:04 GMT 2005


Hello,

I'm hoping someone may be able to steer me in the right direction, as
I've searched the archives with no joy.

Configuration:
Server: Fedora FC3, kernel 2.6.9-1.667, samba-3.0.13-1 
Client: Mac OS X Panther 10.3.8

The Samba server works fine with a Windows 2000 client on the same LAN.

With Panther I am seeing the connection drop during transfers and/or the
Finder freezing (spinning beachball of death until a reboot is forced).

Here is a snippet from the server log from the time of a connection
drop.  I was in the process of copying a 9MB file (about 90% done)
when the connection dropped.

[2005/03/29 22:17:20, 3] smbd/process.c:switch_message(886)
  switch message SMBecho (pid 12939) conn 0x0
[2005/03/29 22:17:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/03/29 22:17:20, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Broken pipe
[2005/03/29 22:17:20, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 45 bytes to socket 5: ERRNO = Broken pipe
[2005/03/29 22:17:20, 0] lib/util_sock.c:send_smb(647)
  Error writing 45 bytes to client. -1. (Broken pipe)
[2005/03/29 22:17:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/03/29 22:17:20, 2] smbd/server.c:exit_server(609)
  Closing connections

This is quite repeatable and I'm going to crank up ethereal next to
see if I can see any clues there.

My smb.conf file is quite vanilla.
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
The prior verion of Samba I had (3.0.8) behaved similarly.

The LAN seems fine - non-Samba transfers between these machines
(eg using scp) behave as expected.  Both are on the same small 
subnet.  The server is on 100BaseT and the Mac is on 802.11g

Any suggestions would be most appreciated!

-- 
Roy McMorran


More information about the samba mailing list