Il giorno giovedì 6 luglio 2017 13:05:02 UTC+2, Bruno Friedmann ha scritto:
> did you tried to setup heartbeatinterval option inr dir sd and client. you 
> certainly facing a firewall or router somewhefe that drop what it consider as 
> empty dead connection.

Yes, I already added:

  Heartbeat Interval = 60

in director, client and sd.conf

I even manually configured 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"KeepAliveInterval"=dword:000003e8
"KeepAliveTime"=dword:0000ea60

in Windows registry.

Actually I am running a backup while sniffing the traffic with Wireshark and 
the keepalives seems to be exchanged:

tcp        0      0 10.254.99.100:34562     10.254.96.1:9102        ESTABLISHED 
keepalive (54.00/0/0)
tcp        0      0 10.254.99.100:34560     10.254.96.1:9102        ESTABLISHED 
keepalive (43.76/0/0)


453     1020.122463     10.254.96.1     10.254.99.100   TCP     55      [TCP 
Keep-Alive] 9102 → 34562 [ACK] Seq=106 Ack=185 Win=131584 Len=1
454     1020.123393     10.254.99.100   10.254.96.1     TCP     78      [TCP 
Keep-Alive ACK] 34562 → 9102 [ACK] Seq=185 Ack=107 Win=29312 Len=0 
TSval=186109820 TSecr=94118 SLE=106 SRE=107

But every now and then the backup fails.
The connection is always reset at the end of "the run before job" script when 
the client should start sending data to the SD (sd and dir run on the same 
server)

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to