Thread View: news.software.nntp
2 messages
2 total messages
Started by Ugly Boy
Sun, 08 Jun 1997 00:00
ctlinnd: Can't send "name" command (short read failure)
Author: Ugly Boy
Date: Sun, 08 Jun 1997 00:00
Date: Sun, 08 Jun 1997 00:00
51 lines
2490 bytes
2490 bytes
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... [...] ebone-newscore.univie.ac.at:125:34:0:26:0 ratatosk.uio.no:126:34:1:0:0 europa.clark.net:127:32:1:11:0 localhost.radio.cz:128:31:0:0:0 localhost.radio.cz:129:29:0:0:0 news.bbnplanet.com:130:26:2:25:0 news.bbnplanet.com:131:20:1:17:0 > /news/bin/ctlinnd name '' Can't send "name" command (short read failure) No such file or directory. > /news/bin/ctlinnd mode Server running Allowing remote connections Parameters c 14 i 300 (128) l 1000000 o 387 t 300 H 2 T 60 X 0 normal specified Not reserved Readers separate enabled > 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... Barry Bouwsma, ye ole Radio Praha grump
Re: ctlinnd: Can't send "name" command (short read failure)
Author: Forrest J. Cavalier III
Date: Sun, 08 Jun 1997 00:00
Date: Sun, 08 Jun 1997 00:00
54 lines
2667 bytes
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
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