🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25540

Re: expire process hanging?

#25540
From: Charlie Reboot
Date: Sat, 24 Jan 1998 00:00
28 lines
1992 bytes
On Fri, 55 Dec 1997, Dan Swartzendruber wrote:

> UW disks).  The problem I am seeing is that for the last couple of days,
> the nightly expiration run is not completing.  When I log in to the server
> and
> do 'ps axl', I see the primary expire process in state 'D', with wchan 
> 'getblk'.  This is during the building of the expire.rm file (the list of 
> files to expire).  It is not totally hung, since this file does grow
> (albeit glacially slowly).  I can kill the process, and everything then
> finishes up fairly quickly.  What is weird is that if I then re-run the
> expiration script manually, everything seems to work okay.  Any ideas?

You are running into some limit when expire is run from cron, that you do
not see when you login as a normal user.

If you want to see just what limits are in effect, on the crontab line
which calls expire, add something like ``ulimit -a > /some/path/ulimit.log''

You need to make the changes in /etc/login.conf.  You do not have enough
memory allocated for the .pag database file, and expire is forced to read
line-by-line from the history text file which takes, well, a long time.


Barry Bouwsma, Tele Danamrk Internet Newsbastard


Technical Details
Message-ID: <Pine.BSF.3.96.980124030947.14180E-100000@coredump.int.tele.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <dswartz-2301981842000001@accord.druber.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.980124030947.14180E-100000@coredump.int.tele.dk>
Subject: Re: expire process hanging?
Date: Sat, 24 Jan 1998 00:00:00 +0000
From: Charlie Reboot <f00fc7c8@int.tele.dk>
References: <dswartz-2301981842000001@accord.druber.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 318744512
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: AIEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
Mime-Version: 1.0
Reply-To: Barry Bouwsma <ag786@yfn.ysu.edu>
Newsgroups: comp.unix.bsd.freebsd.misc,news.software.nntp