🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Andrew Gierth Wed, 16 Aug 2000 00:00
diablo/dnewslink problems
#47888
Author: Andrew Gierth
Date: Wed, 16 Aug 2000 00:00
21 lines
1552 bytes
I'm having a little problem with a Diablo feeder box spawning
excessive numbers of dnewslink processes. Diablo 2.3-REL running on
FreeBSD-4.1

The problem seems to be triggered when a peer stops reading data;
dnewslink has no timeout on write calls (!!), so it ends up hung for
an extended period. Eventually, of course, the queue depth for the
peer is reached and the queue file deleted, which then results in more
dnewslinks being started. Repeat until the machine runs out of mbufs.

The fix is obvious: dnewslink needs a write timeout. Unfortunately,
the way that dnewslink is coded makes it very hard to see how to
handle such a timeout safely (currently, error returns from write()
are not really handled at all). 

Any ideas?

-- 
Andrew.

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