anselmo-ed@cs.yale.edu (Ed Anselmo) (06/03/91)
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