From owner-freebsd-isp Fri Dec 5 09:20:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA15514 for isp-outgoing; Fri, 5 Dec 1997 09:20:46 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA15495 for ; Fri, 5 Dec 1997 09:20:41 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id JAA04587; Fri, 5 Dec 1997 09:23:28 -0800 (PST) Message-Id: <199712051723.JAA04587@implode.root.com> To: Damian Hamill cc: freebsd-isp@freebsd.org Subject: Re: slow news server In-reply-to: Your message of "Fri, 05 Dec 1997 17:08:56 GMT." <34883528.42877E5C@cablenet.net> From: David Greenman Reply-To: dg@root.com Date: Fri, 05 Dec 1997 09:23:28 -0800 Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> Make sure that you regularly (hourly) delete the articles in the >> control.cancel newsgroup. If you don't it will grow extremely large and >> the system will spend all of it's time trying to deal with it. > >I just found out a short while ago that that is exactly what the >problem was. The control.cancel group had 384000 entries in it's >directory. The directory itself was > 8 MB and an rm -rf to remove >it has been running now for more than 90 minutes. I renamed the >directory and the througput instantly went up to 300 articles a minute. > >Some other people have suggested I lower the interleave factor on the >ccd array. I took the advice of the ccd man page and set the interleave >factor to 65536, however someone else has suggested using 1024. Any >thoughts either way ? 65536 should provide the best performance. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project