On 01/09/2015 12:24 PM, James Knott wrote:
You can start a ping at boot time with an INTERVAL of N seconds where n is
calculated to be just shorter than the drop time, and all you impact is a tiny task in your machine and some tcp stack time on the ping target, and no disruption of open (but quiescent) sockets.
There are a number of ways of pinging at interval. I don't know what the allowable range is for ping -i <interval>.
We set ours for 5 minutes, which was all we needed to keep our line up.
Alternatively, open imap connection to a server supporting idled is usually sufficient unless the drop time is less than socket time-out, which is usually somewhere around 18 minutes.
That's getting back to what he mentioned with fetchmail for a keep alive.
At the time we were doing this we were paying by the byte. Fetchmail or even pop induced a lot of traffic, whereas imap IDLED hardly generated anything at all, because the client simply tries to read a socket until it became readable due to the server having something to send or the socket timing out. Just our cheapskate habits showing up I guess. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org