On Tue, Jul 17, 2007 at 09:52:51PM -0400, Sam Varshavchik wrote:
> Courier is really nothing more than a translator between IMAP commands and 
> filesystem operations. Messages are files, folders are directories. Courier 
> has no problems with folders that contain hundreds of thousands of 
> messages, provided that you have enough memory, and adjust the default 
> ulimit settings appropriately, but if your underlying filesystem just can't 
> handle hundreds of thousands of files in a directory, you're going to have 
> a problem.

I've observed Linux ext3 filesystems having a limit of 32,000 links (errno
EMLINK). This prohibits you from having more than 31,998 subdirectories in a
directory. (This may not be directly relevant here, but is an example of the
sort of filesystem limits you can come across)

Also, if your filesystem is in a state where 'ls' appears to hang, it might
just be that there are so many files that it's taking too long to sort them.
Try "ls -U" (unsorted) instead.

But if it still hangs, it may indicate corruption. Unmount the partition, or
reboot into single user mode if it's your root partition, then fsck -y and
cross your fingers.

Brian.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to