On 03/02/2011 09:05 PM, Dan Langille wrote: > Tonight I was doing a backup of my laptop over its wireless connection. > The connection blipped. The backup failed. My ssh session continued. > Mind you, there was no traffic going over the ssh session at the time. > FYI: my laptop has a static IP. > > Why is Bacula comms more sensitive than SSH comms? I know this comes up > from time to time amongst users, but I had no idea it was so sensitive. > Is this something difficult to achieve? I know I don't have the > expertise in comms. > > Here are some lines from the job output > > 03-Mar 01:55 laptop-fd JobId 54312: Error: > /home/kern/bacula/k/bacula/src/lib/bsock.c:393 Write error sending 65536 > bytes to Storage daemon:kraken.example.org:9103: ERR=Input/output error > > 03-Mar 01:55 laptop-fd JobId 54312: Fatal error: > /home/kern/bacula/k/bacula/src/filed/backup.c:1024 Network send error to > SD. ERR=Input/output error > > 03-Mar 01:56 laptop-fd JobId 54312: Error: > /home/kern/bacula/k/bacula/src/lib/bsock.c:339 Socket has errors=1 on > call to Storage daemon:kraken.example.org:9103 > > at the lowest level probably the timeout structure on a socket select() call somewhere could stand to be increased, but without being an expert on the code I don't know if that translates to any setting that is accessible to configure or not.
even if the bacula was tunnelled over the ssh itself, if the ssh is more tolerant timeout wise it will sit around waiting, just not pass any packets to bacula, which could give up sooner. If the socket is actually seeing a closure packet (could be from your wifi router affecting plain vs encrypted connections differently), no timeout is going to help it. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel