Hi Bastian
Thank you for your prompt reply. I would like to talk about it below.
The -E option is common to all current operation systems as it is
specified by POSIX.  As this script not only runs on Linux, using GNU
specific options is not the way to go.  I also found no supported Linux
distribution without support for it.
I tell SuSE support. Their sed under SLES11 or SLES12 knows no option -E. ;-) >I would be more concerned about a stage2 that runs for over an hour. The problem is that e.g. my existing proxy has a timeout of 120 and rsync 3600 seconds. The program rsync calculates its keep alive transmissions according to the following calculation: timeout / 2. This results in a timeout of 3600 seconds keep alive packets every 1800 seconds. However, the proxy ends the connection after 120 seconds of inactivity. So while ftpsync checks in Stage2 what files it can delete (no traffic),the proxy's timeout fails and terminates the socks connection. If the rsync wants to access the remote station again, it first notices that it is offline and ends with an error. But if I synchronize the timeouts of the proxy and rsync, the keep alive packets will be sent on time and the connection will remain open.Another note, the proxy is not under my administration and I can not change that. Original Text: Das Problem ist, dass z.B. mein vorhandener Proxy einen Timeout von 120 und rsync 3600 Sekunden hat. Das Programm rsync berechnet seine keep alive Sendungen nach folgender Rechnung: timeout/2. Das ergibt bei einem Timeout von 3600 Sekunden keep alive Pakete alle 1800 Sekunden. Der Proxy beendet aber schon nach 120 Sekunden inaktivität die Verbindung. Während also ftpsync in Stage2 überprüft, welche Dateien es löschen kann (kein Datenverkehr), schlägt der timeout des Proxy zu und beendet die Socks Verbindung. Wenn das rsync dann wieder auf die gegenstelle zugreifen möchte merkt es erst, dass es offline ist und beendet mit einem Fehler. Wenn ich aber die timeouts vom Proxy und rsync synchronisiere werden die keep alive Pakete rechtzeitig gesendet und die Verbindung bleibt offen. Noch ein Hinweis, der Proxy steht nicht unter meiner Administration und ich kanns deswegen nicht ändern. Regards,
Björn

--
mfg
Björn
----------------------------------------------------
ICQ: 22207642, MSN: de...@gmx.de

Reply via email to