🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5035

Re: Expire problems

#5035
From: John Henders
Date: Sat, 17 Feb 1996 00:00
24 lines
1618 bytes
In <4frm93$rho@madrone.foothill.net> rick@foothill.net writes:

>I am running BSDI 2.0.1 and inn unoff  I have been having troubles
>with expire.....  I run from crontab  2 30 * * *  news
>/usr/contrib/libnews/bin/news.daily delayrm expireover

>It is runs all of the time.

Contrary to what someone else said, do continue to use delayrm. What you
need to do with BSD/OS is ulimit unlimited everything associated with
news. The easiest way is to make a wrapper shell script that ulimit's
(use bash) the process's memory and then exec news.daily. BSD/OS imposes
default user limits on all users except root, and the defaults are way
to low. Once expire can't map history.pag into memory, it falls back on
a very inefficient strategy. My expire was running 12 hours with delayrm
on, and after ulimiting memory, it completes in 55 minutes.

-- 
      Artificial Intelligence stands no chance against Natural Stupidity.
                GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                     b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*


Technical Details
Message-ID: <DMwr7H.BqI@bogon.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
References: <4frm93$rho@madrone.foothill.net>

Show Full Headers
Complete Article Headers
Message-ID: <DMwr7H.BqI@bogon.com>
Subject: Re: Expire problems
Date: Sat, 17 Feb 1996 00:00:00 +0000
From: jhenders@bogon.com (John Henders)
References: <4frm93$rho@madrone.foothill.net>
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: 139688402
Distribution: inet
Organization: St Dismas' Home for the Incurably Informed
Newsgroups: news.software.nntp