Hi folks on debian stable I've a default samba file sharing config. Everything works perfectly (almost...) - samba version 3.6.6>From linux and windows clients (wired and wifi too) when I (i.e. listenmusics) often (one time every 4/5 minutes) networks suddenly collapse (for less one second) and immediately goes up. So I've an interrupt of broadcast (this happens also if I use rsync via samba with bandwidth limit). Using rsync or wget for transfer files from same server I don't have any problems (avoiding samba service). I've several NICs, this problem happens on all interfaces samba logs (debug) nothing of good to audit, system log none, iptables is ok, I tried with minimal services (samba only), I try to modify tcp socks to tuning samba but nothing... also rebooting the server now: what should I do? thanks for help! Pol
based on what your saying.. im not thinking this is samba related. I guess check your switches and find the "fault" autosense for your nics.. You can use thisone to disable autosence ethtool -s ethX autoneg off en set correct nic speed. ethtool -s ethX speed XXXX BUT ! check your switches first. greetz, Louis>-----Oorspronkelijk bericht----- >Van: sambait3 at fuckaround.org >[mailto:samba-bounces at lists.samba.org] Namens sambait3 at fuckaround.org >Verzonden: donderdag 16 april 2015 11:26 >Aan: samba at lists.samba.org >Onderwerp: [Samba] network collapse > >Hi folks > >on debian stable I've a default samba file sharing config. Everything >works perfectly (almost...) - samba version 3.6.6 > >From linux and windows clients (wired and wifi too) when I (i.e. listen >musics) often (one time every 4/5 minutes) networks suddenly >collapse (for >less one second) and immediately goes up. So I've an interrupt of >broadcast (this happens also if I use rsync via samba with bandwidth >limit). > >Using rsync or wget for transfer files from same server I >don't have any >problems (avoiding samba service). > >I've several NICs, this problem happens on all interfaces > >samba logs (debug) nothing of good to audit, system log none, >iptables is >ok, I tried with minimal services (samba only), I try to >modify tcp socks >to tuning samba but nothing... also rebooting the server > >now: what should I do? > >thanks for help! > >Pol > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
On 2015-04-16 11:26, sambait3 at fuckaround.org wrote:> Hi folks > > on debian stable I've a default samba file sharing config. Everything > works perfectly (almost...) - samba version 3.6.6 > > From linux and windows clients (wired and wifi too) when I (i.e. listen > musics) often (one time every 4/5 minutes) networks suddenly collapse (for > less one second) and immediately goes up. So I've an interrupt of > broadcast (this happens also if I use rsync via samba with bandwidth > limit). > > Using rsync or wget for transfer files from same server I don't have any > problems (avoiding samba service). > > I've several NICs, this problem happens on all interfaces > > samba logs (debug) nothing of good to audit, system log none, iptables is > ok, I tried with minimal services (samba only), I try to modify tcp socks > to tuning samba but nothing... also rebooting the server > > now: what should I do?Keep tcpdump running and if you get an interruption, try to see whether something suspicious is happening. (Btw, shouldn't music players implement buffering to catch network outages?)> > thanks for help! > > Pol >-- Mit freundlichen Gr??en, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167 http://software.tao.at -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150416/23729463/attachment.pgp>
Hi Louis and thanks for your reply. I connected a client directly to server and I've same problem (no switches problem). Why this problem happens only with samba? With other services (ftp, rsync, apache, etc.) I don't have this problem :-/ so, are you sure the problem should be an errata configuration of NICs?> You can use thisone to disable autosence > ethtool -s ethX autoneg offethtool does not run with my ethernet card: ethtool -s eth0 autoneg off Cannot set new settings: Invalid argument not setting autoneg ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes Thanks! Pol
>Keep tcpdump running and if you get an interruption, try to see whether >something suspicious is happening.thanks :-) do I sniff only 445 tcp port? or also 139 tcp? (this is the first time with samba problem).>(Btw, shouldn't music players implement buffering to catch network outages?)I'm not sure: normally linux users using VLC, windows users I known using vlc and other media player. I can't modify all clients: there're 40/50 clients by network. Thanks for help Pol