> I think that makes any Bacula job longer than 10 minutes impossible using > this Linksys router. Looks like I'm out of luck. I have updated to the > newest firmware, and the Linksys config doesn't have any ability to modify > the timeout value. I suppose I could buy a new router, or set up a new > offsite backup storage daemon. Unless anyone else has any brilliant > ideas :) > > Kern, if you are reading this, what are the chances that a heartbeat could > be implemented between the director and the storage daemon? >
Is Bacula using setsockopt SO_KEEPALIVE's on every socket (it seems that it does in bnet.c)? If so, you probably just need to set this to more sensible values in /proc (assuming you are running Linux... I can't remember if you said or not). Try: echo 300 > /proc/sys/net/ipv4/tcp_keepalive_time echo 60 > /proc/sys/net/ipv4/tcp_keepalive_intvl echo 10 > /proc/sys/net/ipv4/tcp_keepalive_probes This will send the first keepalive after 5 minutes, and then every 60 seconds after that, and will drop the connection if no response is seen from 10 consecutive probes. The default is that the keepalive won't start for 2 hours (7200 seconds) after the connection has been idle. Not much good in your case. http://libkeepalive.sourceforge.net/docs/TCP-Keepalive-HOWTO has some useful info about the way it all works. Does Bacula include any application level keepalives? There should be no need to do this if you've set /proc and setsockopt correctly, unless the respective daemons implement their own application level timeouts. James ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users