🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #35289

Re: diablo dnewslink & solaris

#35289
From: Russell Vincent
Date: Wed, 10 Feb 1999 00:00
31 lines
1733 bytes
richard.brons@inet.unisource.nl wrote:
> On Solaris, the diablo dnewslink does not seem to function properly ever
> since version 1.16-test-10, where the "headerfeed only" was implemented. That
> is, dnewslink feeds the "headers only" fine, but regular "headers + message
> bodies" feeds loose appr. 40% of the bodies. Does anybody using Solaris
> experienced something like that?(in my case, Solaris 2.6 both on Ultra-1 and
> Ultra 450)

I was getting a similar problem where a feed to an INN machine was
going very slowly (also Solaris) - I didn't notice if it was a
'losing bodies' problem, but didn't look that closely. I disabled the
TCP_NODELAY code (introduced in 1.16-test12) in dnewslink.c and
preliminary results seem to indicate that it is helping quite
dramatically. I disabled the following segment of code in
util/dnewslink.c, by adding the 'x' on the first line:

#ifdef xTCP_NODELAY
    /*
     * Turn on TCP_NODELAY
     */
    if (fd >= 0) {
        int one = 1;
        setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &one, sizeof(one));
    }
#endif

 -Russell
(Remove nosp. to email me)


Technical Details
Message-ID: <79s30t$r04$1@wave.cam.uk.internal>
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: <79rnpa$6e3$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
Message-ID: <79s30t$r04$1@wave.cam.uk.internal>
Subject: Re: diablo dnewslink & solaris
Date: Wed, 10 Feb 1999 00:00:00 +0000
From: Russell Vincent <russellv-n@nosp.uk.uu.net>
References: <79rnpa$6e3$1@nnrp1.dejanews.com>
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: 442803981
Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom)
Newsgroups: news.software.nntp