From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 29 03:36:19 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 913CC16A41F for ; Thu, 29 Sep 2005 03:36:19 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1272B43D4C for ; Thu, 29 Sep 2005 03:36:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j8T3ZHZE017838; Wed, 28 Sep 2005 22:35:17 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <433B60EE.4090207@centtech.com> Date: Wed, 28 Sep 2005 22:35:10 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050914 X-Accept-Language: en-us, en MIME-Version: 1.0 To: aanton@smtpx.spintech.ro References: <433B3F41.8060004@spintech.ro> In-Reply-To: <433B3F41.8060004@spintech.ro> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1104/Wed Sep 28 17:20:40 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: journaling fs and large mailbox format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 03:36:19 -0000 Alin-Adrian Anton wrote: > Dear Hackers, > > First of all thank you for your time and attention. > > I am in the position to implement a large-scale mail server and I > will never go for anything else but FreeBSD (fixation?). > > It should be able to handle graceously 4000 e-mail accounts where a > minimum of 50 Mb/mailbox would be a requirement. In the begining, it is > desirable that users could use as much free space as available, so this > implies some gigabytes/mailbox. > > I don't know if the mbox format can handle this, and I know Maildir > cannot handle this on UFS2 standard install, no matter of soft-updates. > (because it exhaustes the free nodes) So I currently have no solution > for this stuff. I'm not sure how you came to this conclusion, or what the history is, but I see no reason why UFS2 would have any adverse affects on maildir format mail system. You can set the number of inodes to be created to a higher number when using newfs on the filesystem, so if you believe that is an issue, you should be able to tweak it to your needs. mbox starts to break down on large mailboxes with many messages. 50mb may or may not be in that range, but maildir is much better for performance. > I was wondering what is the status of Journaling File Systems on > FreeBSD? Any which is usable and mature, with write access? XFS would > fit amazingly well with Maildir, but.. I doubt it's anything else but > readonly. Not sure how journaling would help you much here, except for meta-data consistancy, which soft-updates gives you, and fsck times. > So any suggestion would really help a lot. Thank's in advance. A quick note - run the mail area on a RAID array, preferrably a RAID0+1 (or 10 depending on who you ask). Disks are nearly always a bottleneck, so if you can keep your random read/writes fast, the whole system will feel snappy. You might try posting this to freebsd-isp@, since many people there have much larger installations running than this, and can probably provide some good hints. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------