🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27244

Re: Linux & Diablo

#27244
From: Michael Faurot
Date: Fri, 27 Mar 1998 00:00
30 lines
2085 bytes
Michael Faurot <nospam@thanks> wrote:

[...]
: The problem comes when I actually try and have it take a feed.
: While watching the parent/listening process with "strace -fp PID" I'll
: see the remote machine make its connection, fork off a child process
: and appear to take in some articles (from what little I can decipher
: of the strace output).   However, after taking in perhaps a dozen or
: so articles (perhaps a bit more) the child process will just hang.
: Typically it seems to either hang during a read or write system call.
: Once hung, the strace output will simply sit there for minutes at a time
: until I kill off the process.

Well I figured out the problem--and it turns out be fairly silly.

I started running truss on an innxmit process on my Solaris box running
INN, which is the feed machine for the experimental Linux box running
Diablo.  I then ran "strace -fp" on the Diablo process on the Linux box.
Sure enough, both processes would be hung on each machine after the
Diablo system received between 10-20 articles.  By chance I aborted the
"strace -fp" process on the Linux box first with an interrupt signal,
and then noticed to my delight that the truss process running against
the innxmit on the Solaris process started to move again.

So the whole problem was with strace, under Linux, causing the Diablo
process to hang.  Weird . . .


Technical Details
Message-ID: <6fgqet$1ct$1@clarknet.clark.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6feoj2$r3a$1@clarknet.clark.net>

Show Full Headers
Complete Article Headers
Message-ID: <6fgqet$1ct$1@clarknet.clark.net>
Subject: Re: Linux & Diablo
Date: Fri, 27 Mar 1998 00:00:00 +0000
From: "Michael Faurot" <nospam@127.0.0.1>
References: <6feoj2$r3a$1@clarknet.clark.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 338332812
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Organization: Verio Mid-Atlantic
User-Agent: tin/pre-1.4-971215 (UNIX) (Linux/2.0.33 (i586))
Newsgroups: news.software.nntp