[Samba] samba 2.2.3a "Connection reset by peer" problem

Miguel Angel Moreno mmoreno at alatec-proes.com
Wed Sep 25 22:16:23 GMT 2002


Hi!!

I have 4 boxes with RH7.3 and Samba 2.2.3a, and since we put them in a
production enviroment we are having a lot of problems, 90% of the clients are win2k sp2.
Sometimes when I try to copy a little file (20k) it lasts abot 30
seconds, and if I try to copy multiple files (about 200) or a bigger
file (about 100Mb) start copying but in a few seconds it freezes and
after about 2 minutes, ends with a windows error, "The drive have been disconected", or "can't get
access to the file xxxxx."

Here are some logs:

/var/log/messages:
Sep 25 18:42:30 serv003 smbd[1311]: [2002/09/25 18:42:30, 0] lib/util_sock.c:read_data(436)
Sep 25 18:42:30 serv003 smbd[1311]:   read_data: read failure for 4. Error = Connection reset by peer

/var/log/mymachine.log:
[2002/09/25 18:46:17, 2] smbd/process.c:timeout_processing(1130)  Closing idle connection
[2002/09/25 18:46:17, 2] smbd/server.c:exit_server(461)  Closing connections

smbstatus | grep myfile shows:
1327   DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH /home/archive/promocion/Ofertas/OFERTAS 2002/myfile.doc

I tried with the regedit tricks EnableDownLevelLogOff and "Sign or
Seal", and doesn't work. As a clue, if I reset samba, seems to fix all
the things up, but in a few hours the problem starts again.

Someone can guess what's happening?? I'm completely lost. Finally I
have convinced my boss to change to linux and now is thinking to go
back to windows again :-(

Thanks in advance.




More information about the samba mailing list