Re: [Samba] Connection dropped when copying large files to a SambaServer
hi, just to tell you that we had the same issue 2 years ago and my colleague blamed samba for this. in fact it turned out to be a SCSI HW problem on the system. all stress test on the local storage succeeded but when samba came into the game it broke the system. that's why we thought it's related to samba, which wasn't true... micha Michelle Dupuis wrote: Not hijacking the thread here...just adding more info as I have the same issue. I run Samba 3.0.23c (on FC6 64 bit), and am backing up from a Windows box to my Samba share. Sometimes it works great; other times the samba share locks up (I need to restart the smb service); and last week samba caused a kernel panic. I can sometimes get 65GB onto the share before it locks up. I can backup to the share using NFS (using Windows Services for Unix) without issue, but not to Samba. My relevant smb.conf settings are: reset on zero vc = yes read raw = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Strangely, smb logs NO errors! Trying to browse to the share from any windows client times out. But, after an smb restart everything is fine again. -MD- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Augusto van de Wiel Sent: Monday, February 05, 2007 9:05 AM To: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files to a SambaServer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2007 02:44 PM, mactek - Manuel Teixeira wrote: Hi all I have a CentOS 4.4 Kernel 2.6.9-11.EL Samba (smbd -V) 3.0.10-1.4E.9 As a side note, you _really_ should install a newer version of Samba, the last stable release is 3.0.23d. I've been using this server as a small file server recently i needed to do a backup (ntbackup to file) and the backup fails randomly, the largest backup file i managed was about 3GBytes I tried copying large files and randomly the connection is lost I tried with a ping at the same time and the replies don't get interrupted so it seems to me it is a samba issue I have the latest versions (except the kernel) or so the updater tells me If you are talking about samba then, no, definetely you don't have the latest version. Could you please post your smb.conf so the list can take a look at it? Good tips would include to check the oplocks and the socket options. thanks all Manuel Teixeira Kind regards, - -- Felipe Augusto van de Wiel [EMAIL PROTECTED] Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxzl6Cj65ZxU4gPQRAiyiAJ9yLZrnR2fPG4Dk5Km3ATVEIgnw+ACgphJk LhmgDczhEI+NjnEJzmozc2g= =lgWl -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection dropped when copying large files to a SambaServer
On Thu, Feb 08, 2007 at 02:04:18PM -0500, Michelle Dupuis wrote: I can see h/w being a cause in many cases. We've reproduced this on 2 different servers with 2 different storage technologies. And once using Backup Exec and once using Ghost. Starting to smell a lot like a s/w problem... We would need much more information. I know it's difficult to do higher debug levels for this data rate, but without more info we just can't diagnose this remotely. Volker pgpRWvi3ML7Jo.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Connection dropped when copying large files to a SambaServer
I'm not sure how best to proceed with this one either...short of generating a huge amount of debug info. One clue (should someone be reviewing the nearby code), is that the failure appears to occur around the time of file close! In my tests, I can write out 65GB of data no problem, but around the time of file close smb hangs up. I don't think it's an underlying filesystem issue since an equivalent write using NFS to the same server works great. MD -Original Message- From: Volker Lendecke [mailto:[EMAIL PROTECTED] On Behalf Of Volker Lendecke Sent: Friday, February 09, 2007 4:22 AM To: Michelle Dupuis Cc: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files to a SambaServer On Thu, Feb 08, 2007 at 02:04:18PM -0500, Michelle Dupuis wrote: I can see h/w being a cause in many cases. We've reproduced this on 2 different servers with 2 different storage technologies. And once using Backup Exec and once using Ghost. Starting to smell a lot like a s/w problem... We would need much more information. I know it's difficult to do higher debug levels for this data rate, but without more info we just can't diagnose this remotely. Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection dropped when copying large files to a SambaServer
On Fri, Feb 09, 2007 at 08:12:24AM -0500, Michelle Dupuis wrote: I'm not sure how best to proceed with this one either...short of generating a huge amount of debug info. One clue (should someone be reviewing the nearby code), is that the failure appears to occur around the time of file close! In my tests, I can write out 65GB of data no problem, but around the time of file close smb hangs up. I don't think it's an underlying filesystem issue since an equivalent write using NFS to the same server works great. What do you mean with smbd hangs up? It might help to see in what syscall it hangs. strace -p pid should tell you that. You could also compile smbd with -g and in the hang state attach to it with gdb and give us the output of the bt (for backtrace) command. Volker pgpN5sDkI0xNH.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Connection dropped when copying large files to a SambaServer
I can see h/w being a cause in many cases. We've reproduced this on 2 different servers with 2 different storage technologies. And once using Backup Exec and once using Ghost. Starting to smell a lot like a s/w problem... MD -Original Message- From: Michael Gasch [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 11:49 PM To: Michelle Dupuis Cc: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files to a SambaServer hi, just to tell you that we had the same issue 2 years ago and my colleague blamed samba for this. in fact it turned out to be a SCSI HW problem on the system. all stress test on the local storage succeeded but when samba came into the game it broke the system. that's why we thought it's related to samba, which wasn't true... micha Michelle Dupuis wrote: Not hijacking the thread here...just adding more info as I have the same issue. I run Samba 3.0.23c (on FC6 64 bit), and am backing up from a Windows box to my Samba share. Sometimes it works great; other times the samba share locks up (I need to restart the smb service); and last week samba caused a kernel panic. I can sometimes get 65GB onto the share before it locks up. I can backup to the share using NFS (using Windows Services for Unix) without issue, but not to Samba. My relevant smb.conf settings are: reset on zero vc = yes read raw = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Strangely, smb logs NO errors! Trying to browse to the share from any windows client times out. But, after an smb restart everything is fine again. -MD- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Augusto van de Wiel Sent: Monday, February 05, 2007 9:05 AM To: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files to a SambaServer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2007 02:44 PM, mactek - Manuel Teixeira wrote: Hi all I have a CentOS 4.4 Kernel 2.6.9-11.EL Samba (smbd -V) 3.0.10-1.4E.9 As a side note, you _really_ should install a newer version of Samba, the last stable release is 3.0.23d. I've been using this server as a small file server recently i needed to do a backup (ntbackup to file) and the backup fails randomly, the largest backup file i managed was about 3GBytes I tried copying large files and randomly the connection is lost I tried with a ping at the same time and the replies don't get interrupted so it seems to me it is a samba issue I have the latest versions (except the kernel) or so the updater tells me If you are talking about samba then, no, definetely you don't have the latest version. Could you please post your smb.conf so the list can take a look at it? Good tips would include to check the oplocks and the socket options. thanks all Manuel Teixeira Kind regards, - -- Felipe Augusto van de Wiel [EMAIL PROTECTED] Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxzl6Cj65ZxU4gPQRAiyiAJ9yLZrnR2fPG4Dk5Km3ATVEIgnw+ACgphJk LhmgDczhEI+NjnEJzmozc2g= =lgWl -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection dropped when copying large files to a SambaServer
hi, just to tell you that we had the same issue 2 years ago and my colleague blamed samba for this. in fact it turned out to be a SCSI HW problem on the system. all stress test on the local storage succeeded but when samba came into the game it broke the system. that's why we thought it's related to samba, which wasn't true... micha Michelle Dupuis wrote: Not hijacking the thread here...just adding more info as I have the same issue. I run Samba 3.0.23c (on FC6 64 bit), and am backing up from a Windows box to my Samba share. Sometimes it works great; other times the samba share locks up (I need to restart the smb service); and last week samba caused a kernel panic. I can sometimes get 65GB onto the share before it locks up. I can backup to the share using NFS (using Windows Services for Unix) without issue, but not to Samba. My relevant smb.conf settings are: reset on zero vc = yes read raw = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Strangely, smb logs NO errors! Trying to browse to the share from any windows client times out. But, after an smb restart everything is fine again. -MD- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Augusto van de Wiel Sent: Monday, February 05, 2007 9:05 AM To: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files to a SambaServer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2007 02:44 PM, mactek - Manuel Teixeira wrote: Hi all I have a CentOS 4.4 Kernel 2.6.9-11.EL Samba (smbd -V) 3.0.10-1.4E.9 As a side note, you _really_ should install a newer version of Samba, the last stable release is 3.0.23d. I've been using this server as a small file server recently i needed to do a backup (ntbackup to file) and the backup fails randomly, the largest backup file i managed was about 3GBytes I tried copying large files and randomly the connection is lost I tried with a ping at the same time and the replies don't get interrupted so it seems to me it is a samba issue I have the latest versions (except the kernel) or so the updater tells me If you are talking about samba then, no, definetely you don't have the latest version. Could you please post your smb.conf so the list can take a look at it? Good tips would include to check the oplocks and the socket options. thanks all Manuel Teixeira Kind regards, - -- Felipe Augusto van de Wiel [EMAIL PROTECTED] Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxzl6Cj65ZxU4gPQRAiyiAJ9yLZrnR2fPG4Dk5Km3ATVEIgnw+ACgphJk LhmgDczhEI+NjnEJzmozc2g= =lgWl -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Connection dropped when copying large files to a SambaServer
Not hijacking the thread here...just adding more info as I have the same issue. I run Samba 3.0.23c (on FC6 64 bit), and am backing up from a Windows box to my Samba share. Sometimes it works great; other times the samba share locks up (I need to restart the smb service); and last week samba caused a kernel panic. I can sometimes get 65GB onto the share before it locks up. I can backup to the share using NFS (using Windows Services for Unix) without issue, but not to Samba. My relevant smb.conf settings are: reset on zero vc = yes read raw = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Strangely, smb logs NO errors! Trying to browse to the share from any windows client times out. But, after an smb restart everything is fine again. -MD- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Augusto van de Wiel Sent: Monday, February 05, 2007 9:05 AM To: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files to a SambaServer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2007 02:44 PM, mactek - Manuel Teixeira wrote: Hi all I have a CentOS 4.4 Kernel 2.6.9-11.EL Samba (smbd -V) 3.0.10-1.4E.9 As a side note, you _really_ should install a newer version of Samba, the last stable release is 3.0.23d. I've been using this server as a small file server recently i needed to do a backup (ntbackup to file) and the backup fails randomly, the largest backup file i managed was about 3GBytes I tried copying large files and randomly the connection is lost I tried with a ping at the same time and the replies don't get interrupted so it seems to me it is a samba issue I have the latest versions (except the kernel) or so the updater tells me If you are talking about samba then, no, definetely you don't have the latest version. Could you please post your smb.conf so the list can take a look at it? Good tips would include to check the oplocks and the socket options. thanks all Manuel Teixeira Kind regards, - -- Felipe Augusto van de Wiel [EMAIL PROTECTED] Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxzl6Cj65ZxU4gPQRAiyiAJ9yLZrnR2fPG4Dk5Km3ATVEIgnw+ACgphJk LhmgDczhEI+NjnEJzmozc2g= =lgWl -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection dropped when copying large files to a SambaServer
Michelle Dupuis wrote: Not hijacking the thread here...just adding more info as I have the same issue. I run Samba 3.0.23c (on FC6 64 bit), and am backing up from a Windows box to my Samba share. Sometimes it works great; other times the samba share locks up (I need to restart the smb service); and last week samba caused a kernel panic. I can sometimes get 65GB onto the share before it locks up. I can backup to the share using NFS (using Windows Services for Unix) without issue, but not to Samba. My relevant smb.conf settings are: reset on zero vc = yes read raw = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 The current thinking on this list sez that SO_RCVBUF and SO_SNDBUF are not needed and may actually degrade performance. Try commenting those out test again. -- -Toby -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection dropped when copying large files to a SambaServer
Michelle Dupuis wrote: Not hijacking the thread here...just adding more info as I have the same issue. I run Samba 3.0.23c (on FC6 64 bit), and am backing up from a Windows box to my Samba share. Sometimes it works great; other times the samba share locks up (I need to restart the smb service); and last week samba caused a kernel panic. I can sometimes get 65GB onto the share before it locks up. I can backup to the share using NFS (using Windows Services for Unix) without issue, but not to Samba. My relevant smb.conf settings are: reset on zero vc = yes read raw = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Recent thinking is that so_rcvbuf so_sndbuf are probably not needed anymore and may actually degrade performance. Try commenting them out test again. -- -Toby -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba