<<< Date Index >>>     <<< Thread Index >>>

Re: Unexpected network error



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, September 25 at 04:26 PM, quoth Ravi Uday:
>I dont ahve $imap_keepalive set.
>So you want me to have this :
>
>$timeout=15
>$imap_keepalive=10

That's awfully small. You can make them bigger (e.g. timeout=300, 
imap_keepalive=60, or even larger). I know the man page makes it sound 
like timeout really needs to be extra small, but don't sweat it. The 
default is 600, and you generally don't really need it anywhere near 
as small as 15. Think about that: that's potentially checking your 
email every 15 seconds. Depending on the number of mailboxes you have 
and the latency of your  connection, it could easily take longer than 
that to complete a check for mail! I know mail admins that get grumpy 
when people check their email even every 5 minutes, due to all the 
network traffic they generate. When you're checking a file on disk, 
well, you can check that pretty dang often without a performance 
effect. But over the network? You may be causing your own problem by 
having such small timeouts.

Generally, I would say: stick with the default values unless you have 
a reason to change them (the defaults weren't chosen by morons). 
Chances are, you can probably leave $timeout at 600. Give the defaults 
a try, and go from there.

~Kyle
- -- 
What progress we are making. In the Middle Ages they would have burned 
me. Now they are content with burning my books.
                                                       -- Sigmund Freud
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkjcXo4ACgkQBkIOoMqOI16qcQCeOhB3O9JjRDtJDuA96+KFcWmb
2KcAoM5bQBTBZXtSSC4s4DeCduvRF2vV
=rK7o
-----END PGP SIGNATURE-----