Sergiy Zhuk wrote:
hi
On Mon, 22 Oct 2007 deb...@fantasymail.de wrote:
I set IMAP_ENHANCEDIDLE=1 in /etc/courier/imapd (i.e. imap server inform
Do you realize this is in *seconds* and not in minutes ?
Essentially you're making courier check all folders for new messages
every second.
This should put a significant load on your server, filesystem specifically.
Change it to 120 or at least 60, and should get better.
Do you realize this is a boolean not a integer? It's either true or
false, enhanced idle doesn't poll at all, the kernel inotify or dnotify
process watches for filesystem changes in the specified directory then
notifies gamin/fam which notifies imapd of any changed files in the
watched directory, thus very low resource usage.
The way I often describe it is the difference between the kids in the
back seat of the car asking dad every minute "are we there yet?". It's
of course much more efficient for Dad to just announce "we're 20 minutes
away", "we're pulling into the driveway"..., etc.
Jay