Sergiy Zhuk wrote:
hi

On Mon, 22 Oct 2007 [EMAIL PROTECTED] 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

--
Jay Lee
Network/Systems Administrator
Information Technology Department
Philadelphia Biblical University

begin:vcard
fn:Jay Lee
n:Lee;Jay
org:Philadelphia Biblical University;Information Technology Department
adr;dom:;;;Langhorne, PA
email;internet:[EMAIL PROTECTED]
title:Network/Systems Administrator
x-mozilla-html:TRUE
url:http://www.pbu.edu
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to