Jerry Amundson wrote:
Recently installed a sweet new Courier server - dual Xeon, lots of RAM,
disk, etc. It's running Red Hat Linux 7.3, and:
[root@uhura xinetd.d]# rpm -q fam
fam-2.6.7-6
[root@uhura xinetd.d]# rpm -qa | grep courier
courier-0.40.1-1.7.3
courier-imapd-0.40.1-1.7.3
courier-maildrop-0.40.1-1.7.3
courier-pop3d-0.40.1-1.7.3
courier-webmail-0.40.1-1.7.3
courier-smtpauth-0.40.1-1.7.3
All requirements are in place for IMAP_ENHANCEDIDLE, but when I enable
it, Outlook starts having about a 15 second delay switching between
messages *sometimes*. I could find no rhyme or reason to it, so for now
I have IMAP_ENHANCEDIDLE disabled.
I have not changed /etc/xinetd.d/sgi_fam and /etc/fam.conf from the
stock install. I could do some troubleshooting off hours, if need be...
Thoughts?
Thanks,
jerry
Just wanted to put this oldy-but-goody to rest. I originally posted the
above message on January 20th 2003.
I revisited my problem after reading recent discussions about ext3 and
performance on directories with "over 10,000 files" (or something along
those lines).
Sure enough, one user had an Inbox with 15,000+ messages (15,577 when I
last counted accurately). I theorized that performance tanked when she
logged in. I arranged with her to move about 13,000 of them to another
maildir that she can filter through at her leisure.
Then, with fingers crossed, I set IMAP_ENHANCEDIDLE=1 in etc/imapd. Sure
enough, the system looks better. When fam and imapd process hit the
system now, it's just for bursts of less than 1 second.
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
8 root 18 0 0 0 0 SW 3.2 0.0 753:35 kscand
5438 root 13 0 9288 9288 848 S 1.2 0.2 11:38 fam
29238 username 12 0 1260 1260 716 S 0.8 0.0 0:05 imapd
Lastly, upgrading to Courier 0.42.2 last night also seemed to improve
overall imapd performance, though that may just be the voices in my
head... The server now has around 87 IMAP clients at various times, of
which the Top Ten have between 1000 and 5000 messages in the Inbox.
Courier, FAM, and everything else this box does, are getting along
nicely again!
In summary,
IMAP_ENHANCEDIDLE=1
-> imapd is fam client
-> With 15,000+ message Inbox, Things are "BAD".
IMAP_ENHANCEDIDLE=0
-> imapd is NOT fam client
-> With 15,000+ message Inbox, Things are "OK".
IMAP_ENHANCEDIDLE=1
-> imapd is fam client
-> With "normal" number of message in Inbox, Things are "GOOD".
Sincerely,
jerry
|