mactek - Manuel Teixeira
2007-Feb-04 01:32 UTC
[Samba] Connection dropped when copying large files to a Samba Server
Hi all I have a CentOS 4.4 Kernel 2.6.9-11.EL Samba (smbd -V) 3.0.10-1.4E.9 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 thanks all Manuel Teixeira
Felipe Augusto van de Wiel
2007-Feb-05 14:04 UTC
[Samba] Connection dropped when copying large files to a Samba Server
-----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.9As 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 meIf 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 TeixeiraKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> 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-----
Michelle Dupuis
2007-Feb-05 15:37 UTC
[Samba] Connection dropped when copying large files toa SambaServer
Just another clue for you: The samba crash/lockup appears to happen at the END of a large file write. I can write 2gb or 65gb files across the lan to the samba share, but when the file is (or is about to be) closed, samba locks up the share. I already tried with NO socket options - same results.... MD -----Original Message----- From: samba-bounces+support=ocg.ca@lists.samba.org [mailto:samba-bounces+support=ocg.ca@lists.samba.org] On Behalf Of Toby Bluhm Sent: Monday, February 05, 2007 9:36 AM To: samba@lists.samba.org Subject: Re: [Samba] Connection dropped when copying large files toa 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 sharebefore 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
Volker Lendecke
2007-Feb-05 15:49 UTC
[Samba] Connection dropped when copying large files toa SambaServer
On Mon, Feb 05, 2007 at 10:36:18AM -0500, Michelle Dupuis wrote:> > 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.A kernel panic is by definition not a Samba problem. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070205/129bb9a3/attachment.bin
Srini
2007-Feb-09 05:03 UTC
[Samba] Connection dropped when copying large files to a Samba Server
If you are using a DHCP based IP address assignment, this could happen if the DHCP client (Samba client) ise getting its IP address renewed in the timeframe before the file transfer is complete. If this is indeed your scenario, try increasing the DHCP IP Address lease duration in the client/server. Srini On 1/30/07, mactek - Manuel Teixeira <manuel.teixeira@mail.mactek.com> wrote:> > Hi all > > I have a CentOS 4.4 > > Kernel 2.6.9-11.EL > Samba (smbd -V) > 3.0.10-1.4E.9 > > 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 > > thanks all > > Manuel Teixeira > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >