🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Ed Anselmo Mon, 03 Jun 1991 16:01
nntpd keeps history file open
#1201
Author: Ed Anselmo
Date: Mon, 03 Jun 1991 16:01
27 lines
1737 bytes
Server configuration: Sun SS-1, 16 MB memory, SunOS 4.1.1, nntp
1.5.11, 24-Mar-91 C News + relaynews daemon patches, DBZ.

What I'm seeing:

When a newsreader does an ARTICLE command, like GNUS does when it
follows "References: " header lines, nntpd opens /usr/lib/news/history
and /usr/lib/new/history.{dir,pag} to retreive the path to the
article.

ofiles shows that nntpd keeps the /usr/lib/news/history file
open for the duration of the nntp session.  On long-running sessions
(> 2 days, I don't like to restart GNUS, so I have #undef TIMEOUT in
common/conf.h), this means that old history files are kept open even
after they are unlinked by newsbin/expire/doexpire.  Eventually, I run
out of space in the $NEWSLIB partition.  Closing my GNUS session frees
up mucho space.

Can I just fclose() the history file in gethistent() (I think this is
where it's getting opened), or would this have some terrible side
effect?

Is some sort of configuration error on my part?  Everything seems to
be working well otherwise.

	-- Ed
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