From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 17:38:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A95616A4CE for ; Tue, 4 Jan 2005 17:38:47 +0000 (GMT) Received: from ecserv7.uwaterloo.ca (ecserv7.uwaterloo.ca [129.97.50.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8014943D3F for ; Tue, 4 Jan 2005 17:38:47 +0000 (GMT) (envelope-from bruce@engmail.uwaterloo.ca) Received: from ecserv7.uwaterloo.ca (localhost.uwaterloo.ca [127.0.0.1]) j04HcnAG003357; Tue, 4 Jan 2005 12:38:49 -0500 (EST) (envelope-from bruce@engmail.uwaterloo.ca) Received: (from www@localhost) by ecserv7.uwaterloo.ca (8.12.10/8.12.10/Submit) id j04HcnND003354; Tue, 4 Jan 2005 12:38:49 -0500 (EST) (envelope-from bruce@engmail.uwaterloo.ca) X-Authentication-Warning: ecserv7.uwaterloo.ca: www set sender to bruce@engmail.uwaterloo.ca using -f Received: from 129.97.50.50 ( [129.97.50.50])HTTP; Tue, 4 Jan 2005 12:38:48 -0500 Message-ID: <1104860328.41dad4a8ebd90@www.nexusmail.uwaterloo.ca> Date: Tue, 4 Jan 2005 12:38:48 -0500 From: Bruce Campbell To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.6.2 X-Originating-IP: 129.97.50.50 Subject: New FreeBSD 5.3 e-mail server extremely slow... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 17:38:48 -0000 We upgraded from a dual 1.66GHz AMD running FreeBSD 4.7 and a dual 3GHz Xeon running FreeBSD 5.3 and the new server is painfully slow, even after turning spamassassin and yavr (yet another virus recipe) off. Load appears to be imapd/ipop3d (uw-imapd) related. New server is Adaptec SCSI RAID, old one was 3ware ATA RAID, but disk load is relatively low anyway. It is a fairly high volume server, maybe 150,000 messages per day and 150,000 pop/imap sessions per day. But the old box was doing relatively fine. Turning off hyperthreading helped alot, but not enough. load average is around 48 now, I've set the 2 sendmail conf load av settings to 48 so at least e-mail gets in. A quick truss of an ipop3d process shows piles of this streaming by... setitimer(0,{0 0, 0 0},{0 0, 599 929999}) = 0 (0x0) write(1,0x805a000,21) = 21 (0x15) gettimeofday({1104857422 906783},0x0) = 0 (0x0) setitimer(0,{0 0, 600 0},{0 0, 0 0}) = 0 (0x0) read(0x0,0x8063000,0x832c) = 10 (0xa) setitimer(0,{0 0, 0 0},{0 0, 600 0}) = 0 (0x0) write(1,0x805a000,14) = 14 (0xe) gettimeofday({1104857422 908916},0x0) = 0 (0x0) setitimer(0,{0 0, 600 0},{0 0, 0 0}) = 0 (0x0) top shows 80-90% "system" activity. About to revert to our old box and maybe nfs mount /var/mail to make it less painless. Any suggestions ? -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 ---------------------------------------- This mail sent through www.mywaterloo.ca