On 7/1/2016 4:30 PM, Kern Sibbald wrote: > Hello, > > In general, the TCP/IP protocol that Bacula uses is extremely tolerant, > and should retry sending packets quite a number of times before finally > giving up. It is designed to tolerate a significant number of dropped > packets. However, then there are two things that enter to screw this > up: 1. network switches which do not follow internet rules at all (i.e. > they are very fast to drop idle connections, even if you have explicitly > set the network to survive idle periods as Bacula does); 2. Windows > which does not seem to follow quite a few Internet rules. The two put > together mean that especially with on Windows machines, network > disruptions are annoyingly frequent.
In particular, the 802.3az standard (Energy Efficient Ethernet), or rather the various implementation of it in both switches and NICs, is what I believe to be a major cause of these dropped connections. One thing to try on Windows machines is to disable 802.3az support by setting "Network and Sharing Center > Change adapter settings > Properties.> Power Management > Allow the computer to turn off this device to save power" to disabled. I have also had issues with Macbook Air and Macbook Pro laptops dropping active TCP connections when changing to low power states, in that case I think turning off their wireless transmitter even though bacula-fd has an active TCP connection to bacula-sd. Anyone know how to disable the overly aggressive power management for Macs? > Bacula was designed with the concept that the Internet never loses > packets and that it is highly tolerant -- given the above two problems, > maybe this was a bad choice. However, the result of that decision is > that if the line drops, Bacula has no idea what reached and what did not > reach the other side, and so it is not currently possible for it to > reconnect and resume where it left off. > > Best regards, > Kern > > On 07/01/2016 03:43 PM, Josh Fisher wrote: >> On 7/1/2016 1:26 AM, Craig Shiroma wrote: >>> Hello All, >>> >>> Is there a way in Bacula to prevent something like a 1 or 2 second >>> network glitch from cancelling Window Server backups? RHEL backups >>> seem to survive these episodes with no problems. >>> >> Bacula expects DIR-to-FD and FD-to-SD TCP connections to persist for the >> duration of a job. If either is dropped it will cause the job to cancel. >> As a result, Bacula is not very tolerant of network problems. Since it >> appears to be the Windows Server machines dropping the connection due to >> the glitch, if there is a solution it will be in the Windows networking >> config, possibly in the NIC's driver settings. Perhaps RHEL is more >> tolerant of the glitch or perhaps it is a hardware difference in the >> NICs. Nevertheless, in general such network glitches cause problems for >> Bacula regardless of OS. >> >> >> >>> Respectfully, >>> Craig >>> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users