🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18564

Re: Control Group

#18564
From: Michael Hucka
Date: Sun, 22 Jun 1997 00:00
31 lines
1868 bytes
>>>>> On 22 Jun 1997, jgreco@ns.sol.net (Joe Greco) wrote:

  jgreco> Alternatively, do the Poor Man's Expire...

  jgreco> mv /news/control/cancel /news/control/bye.bye && rm -fr
  jgreco> /news/control/bye.bye

  jgreco> and do it every hour or two.  Writing the articles to
  jgreco> control/cancel isn't a real time intensive thing.  Writing to an
  jgreco> ungodly large control/cancel dir is what kills you.  Make sure you
  jgreco> do the "mv" because that effectively force-truncates the directory
  jgreco> for you.  :-)

(<*> Sound of my hand slapping against my forehead.)  Of course!  And here I
was wondering why cancels were taking so damn long to process.  Duh!

I cannot believe the numbers I'm seeing after doing this.  Iostat reports
ungodly read/write numbers, and we just increased our average article/sec
acceptance rate to nearly 2x what it was.

Joe, you're my hero.

I hope this tip makes it into the FAQ (hi, Heiko :-)).

-- 
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Technical Details
Message-ID: <82205uxk8d.fsf@parrot.eecs.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5ojg51$t4t@shell.monmouth.com> <5ojia8$lee$1@earth.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <82205uxk8d.fsf@parrot.eecs.umich.edu>
Subject: Re: Control Group
Date: Sun, 22 Jun 1997 00:00:00 +0000
From: Michael Hucka <hucka@eecs.umich.edu>
References: <5ojg51$t4t@shell.monmouth.com> <5ojia8$lee$1@earth.execpc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 251880912
Distribution: inet
To: jgreco@ns.sol.net (Joe Greco)
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
Newsgroups: news.software.nntp