> "Meuse, Andy" wrote:
> 
> Hey all,
> 
>         A few accounts on my qmail server recieve 1000 emails a day.
> Sometimes these don't get checked for weeks. The mail is also kept on the
> server for a few weeks so the CUR dir gets pretty massive.
> 
>         It's all been running fine for months with no config change, but
> now when a user tries to pop the account the cpu% on the server maxes
> out. If the user quits Outlook and then starts again, a second pop
> process starts on the qmail server and the cpu% splits between them. If I
> kill the processes it all just starts again.
> 
>         The only way around it I've found is to delete messages from the
> CUR dir down to about 1000 or so.
>         The server is a dual 500 with half a gig of ram and the desktops
> are 700s with 256 and the connectivity is not an issue.
> 
>         Anyone know of some "tweak" that might help me? Or do y'all need
> more info?
> 
> Thanks
> Andy


I rewrote my pop daemon to only serve 200 messages at once.  When
there more messages than that I need to make several requests.

You might experiment with some internal scaling tool that makes
a new directory every few thousand mails and moves all the mail from
the MailDir/new directory into the newly created directory, and a 
pop daemon (again, assuming you are writing your own pop daemon) that
knows about this multiple directory arrangement and naming scheme
(new+timestamp would work well)

That way you could avoid the too-many-entries-in-directory problem
tht you appear to be having.




-- 
                      David Nicol 816.235.1187 [EMAIL PROTECTED]
                                    "Described as awesome by users"

Reply via email to