🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18340

Re: ctlinnd: Can't send "name" command (short read failure)

#18340
From: Forrest J. Cavalier III
Date: Sun, 08 Jun 1997 00:00
54 lines
2667 bytes
In article <Pine.BSF.3.96.970608143146.12869E-100000@super-xenu.radio.cz>, 
dogface@Radio.CZ wrote...
>
>I've compiled INN with one of the patches from Jeff Garzik of 02.June, to
>add useful statistics to the output of the ``ctlinnd name'' command.
>
>In Jeff's initial posting (see a followup for a patch should you want to
>apply this), he notes that when trying to add yet more information, he
>gets an error (see subject).  I would see the same thing here, where the
>command would produce useful output with a dozen or two incoming
>connections, but as soon as this number would increase to its typical
>value, I'd start to see this error.
>
>While I was running INN 1.4unoff4 and had more than 200 incoming
>connections, I wouldn't see this error, but instead I'd see the output
>truncated near the end of the list, presumably after a fixed number of
>characters.
>
>Jeff has provided a one-line patch to reduce the verbosity of the output,
>which helps, except that as soon as I have more than now around 125
>connections, I again see this error...
>

[snip]

>
>Presumably there is some source code variable which can be tweaked to
>permit either listing more than 200 simultaneous incoming connections
>(whaddya mean, ``why?'') or to allow an extended list of statistics.
>If not, I'll have to add DNS entries like a and b and c and so on for each
>of my peers to keep their names short...

From the ctlinnd.8 man page  (Which you can read as part of the Usenet
RKT at
     http://www.mibsoftware.com/userkt/inn/doc/ctlinnd.8.htm
)

"BUGS
     Ctlinnd uses the inndcomm(3)  library, and is therefore limited to  server
     replies no larger than 4k.
"

I haven't looked at the code which implements the function you
describe.  But perhaps it could easily be changed to write data out
to a file instead of returning it on the ctlinnd channel.


Forrest Cavalier, Mib Software, INN customization and consulting
Searchable Hypertext docs on INN, Usenet, etc:
    http://www.mibsoftware.com/userkt/userkt.html


Technical Details
Message-ID: <5nef83$jt5$1@news1.epix.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: <Pine.BSF.3.96.970608143146.12869E-100000@super-xenu.radio.cz>

Show Full Headers
Complete Article Headers
Message-ID: <5nef83$jt5$1@news1.epix.net>
Subject: Re: ctlinnd: Can't send "name" command (short read failure)
Date: Sun, 08 Jun 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <Pine.BSF.3.96.970608143146.12869E-100000@super-xenu.radio.cz>
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: 247043809
Organization: Mib Software
Newsgroups: news.software.nntp