🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dan Swartzendruber Fri, 23 Jan 1998 00:00
expire process hanging?
#25493
Author: Dan Swartzendruber
Date: Fri, 23 Jan 1998 00:00
22 lines
1421 bytes

I have been running INN 1.7.2 (the prepatched version inn-1.7.2.insync-1.1d).
It had been running fine.  The kernel is FreeBSD 2.2.5, running on a
PII-300 with two adaptec UW controllers, using ccd0 for the news spool
(multiple 
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?

-- 

Dan Swartzendruber


Re: expire process hanging?
#25540
Author: 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


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads