IMAP 4.5 w/Maildir -> Can't Efficiently Handle Big Maildirs (>4096)?

IMAP 4.5 w/Maildir -> Can't Efficiently Handle Big Maildirs (>4096)?

Post by David E. Weekl » Sun, 19 Mar 2000 04:00:00



I'm running a Linux box as my mail server running qmail and a patched
version of the IMAP 4.5 server that supports Maildirs. I have a lot of mail:
my Maildir has 5086 messages in it to be precise. Recently (i.e., in the
last 500 messages or so) retreiving mail has become *painfully* slow.
Looking at "top," I find that imapd is * the CPU, taking 97% of the
CPU just to open a mail message. Huh? Wasn't a Maildir supposed to solve
this? Or is this a fundamental filesysem problem? What might be going on? (I
have plenty of memory and imapd is only using 2Mb -- it's not a swapping
issue.)

    Respectfully Submitted,
    -david weekly

 
 
 

IMAP 4.5 w/Maildir -> Can't Efficiently Handle Big Maildirs (>4096)?

Post by Villy Kru » Tue, 21 Mar 2000 04:00:00



Quote:>I'm running a Linux box as my mail server running qmail and a patched
>version of the IMAP 4.5 server that supports Maildirs. I have a lot of mail:
>my Maildir has 5086 messages in it to be precise. Recently (i.e., in the
>last 500 messages or so) retreiving mail has become *painfully* slow.
>Looking at "top," I find that imapd is * the CPU, taking 97% of the
>CPU just to open a mail message. Huh? Wasn't a Maildir supposed to solve
>this? Or is this a fundamental filesysem problem? What might be going on? (I
>have plenty of memory and imapd is only using 2Mb -- it's not a swapping
>issue.)

Directory operations gets a bit slow if when a directory contains a lot
of entries.  There has been quite a lengthy discussion on this subject
on comp.mail.imap, if you are interested.

Villy

 
 
 

1. Cvsup 4.2 >> to >> 4.5

Hi

I'm cvsuping three servers to freebsd 4.5 from 4.2.
My first two boxes completed with no problems.

My last box is having major problems.

Let me explain a little into detail

I first Cvsuped source down to my box.

Then when doing a make build world in source directory it crashes.
It gets maybe a minute into the make build world, and gives me an error of
panic, then crashes.

I then tried deleting /usr/obj to start over, But when trying to delete the
folder in the order that is shown at freebsd's site it say's panic, then
crashes again.

I can't delete the folder at all what so ever, but am able to mv it to a
different location.

While trying, I have moved two /usr/obj's over to a different directory.
I also Have deleted my source, too try again - incase my source was messed
up.

Two questions

Any Idea why it crashed with make buildworld.
and how can I get rid of the other two directories that I have moved from
/usr/obj.

Any help would be really really great.

Best Regards

Aaron

2. Help: How to backup KMail 1.2-LM8.0 and restore into KDE 2.1.2 (LM 8.1) ?

3. How to make big ram disk (> 4096 kbytes )

4. Faststart configuration (HELP)

5. migration mailbox->maildir

6. Backspace key in X

7. MH --> Maildir

8. diamond stealth II g460

9. ksh ': >a >b' -vs- '>a >b' re speed

10. IMAP and Maildir

11. qmail, Maildir, and UW IMAP

12. up-to-date uw-imap maildir patch

13. From 'mbox' to 'maildir'?