View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#8
Originally Posted by JK0d3r View Post
Thank you, a script might be a good solution after all , i just have to check somehow, what is the interval when the provider closes the connection
so i can ping something just before the connection is closed

Thank you !
Not sure if this would work (I think each application has to support this), but
the keepalive kernel parameter is, by default, set to 7200s (2 hours).

So doing (as root)
# cat 600 > /proc/sys/net/ipv4/tcp_keepalive_time

should do the keepalive thing every 10min.

I will try setting my IMAP polling interval to something longer (1 hour) with keepalive at 1200 (20min), and see what happens.