On 3/3/2011 4:16 AM, Matthew Ife wrote:
> > From my experience this is almost entirely a Windows FD problem. Windows 
> > networking seems to be more influenced by external pressure more. It is 
> > particularly acute when the network is congested or unreliable (say a 
> > switch dropping packets) when the backplane gets full.
>
> So it wouldn't surprise me you get this over wireless.
>
> I've never been able to make a reliable test-case for it to ever properly 
> diagnose the issue.

I'm convinced many of the Windows connectivity problems are due to 
aggressive power management, particularly for laptops. Windows seems to 
want to shut down wireless NICs every chance it gets. That's 
understandable, given that it does save considerable power. Most 
protocols, such as HTTP, SMTP, etc., generally are short lived and used 
by interactive aps where keyboard/mouse activity is preventing pm 
shutdown. So, as an apparent design choice, NIC activity does not reset 
pm timers. Also understandable. As a result, Microsoft provided the 
SetThreadExecutionState() system function so that a daemon can tell pm 
that it is indeed actively using pm controlled resources and that pm 
should not shut them down just yet. I believe there is work underway to 
add the necessary calls to the Windows fd, and that may well alleviate 
much of the Windows connectivity problems.

> -----Original Message-----
> From: Kern Sibbald [mailto:k...@sibbald.com]
> Sent: 03 March 2011 06:07
> To: bacula-devel@lists.sourceforge.net
> Cc: Dan Langille
> Subject: Re: [Bacula-devel] overly sensitive FD->SD comms
>
> On Thursday 03 March 2011 03:05:21 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?
> Bacula was transmitting data in one direction or the other and ssh was not.
> That is the only explanation.
>
>> 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.
> If the comm line breaks while during a transmission whether it is ssh or
> Bacula, the connection will be dropped -- unless ssh has special code to
> either ignore errors or re-establish a connect, which from what I have seen
> of ssh code is not the case.
>
> Regards,
>
> Kern
>
>> 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
>
>
> ------------------------------------------------------------------------------
> 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
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to