Hi, I just upgraded my one of my servers to 3.0.7 using the rpms for suse 8.2. now, hell has broken loose. The clients may log on, open shares, browse folders, but they cannot open files! Using smbclient I see that samba starts the transfer, than aborts. In my log I find a whole bunch of errors saying: Sep 14 11:24:39 mail2 smbd[4464]: [2004/09/14 11:24:39, 0] lib/util_sock.c:read_socket_data(384) Sep 14 11:24:39 mail2 smbd[4464]: read_socket_data: recv failure for 4. Error = Connection reset by peer Does anyone know what may be wrong? yours, Tarjei
>Hi, I just upgraded my one of my servers to 3.0.7 using the rpms forsuse 8.2.>now, hell has broken loose. The clients may log on, open shares, browsefolders, but they cannot open files!>Using smbclient I see that samba starts the transfer, than aborts. >In my log I find a whole bunch of errors saying: >Sep 14 11:24:39 mail2 smbd[4464]: [2004/09/14 11:24:39, 0] >lib/util_sock.c:read_socket_data(384) >Sep 14 11:24:39 mail2 smbd[4464]: read_socket_data: recv failure for >4. Error = Connection reset by peerI am having this problem as well. Google finds a few other people with this problem but never any response explaining how to fix it. If this is fixable (aside from reverting from 3.0.7) would someone please post it? Greatly appreciated. --- Tim Locke
On Fri, Sep 24, 2004 at 06:00:19PM -0300, Tim Locke wrote:> > I am having this problem as well. Google finds a few other people with this > problem but never any response explaining how to fix it. If this is fixable > (aside from reverting from 3.0.7) would someone please post it?Looks like the 2.4.x kernel has some problems with sendfile. Turn off sendfile with "use sendfile = no" as the default to use sendfile was changed to help improve Samba speed. Prior to this, everyone who used it reported 10% speed increases, but no one reported problems with kernel versions so we turned it on by default :-). Jeremy.