🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189866

Re: GNUS and nntp 1.5.10

#189866
From: Carl Edman
Date: Tue, 30 Oct 1990 01:55
38 lines
2610 bytes
In article <KHERA.90Oct29142609@thneed.cs.duke.edu> khera@thneed.cs.duke.edu (Vick Khera) writes:
   recently we upgraded to running nntp 1.5.10 and GNUS stopped working.
   it turns out that the timeout feature of nntp was re-written to use
   select rather than alarms, and the commands were read in using the
   stdio library.  unfortunately, this combination doesn't work very
   well.  i dug up some old articles from gnu.emacs.gnus about it and
   they indicated that one should either set up gnus to work really
   slowly or disable the timeout in nntpd.  both of these are bad ideas,
   at least in my view.

   our senior programmer and i spent about two hours digging through
   various traces of system calls and finally figured out that the
   problem was the buffered i/o and select() combination.  the fix is
   really simple: one line.  since it seems that gnu.emacs.gnus doesn't
   exist any more, i figure this group would reach most of the intended
   audience.  below is the fix to the file server/serve.c from the nntp
   1.5.10 distribution which allows it to work properly once again with
   GNUS. 

   [ diff deleted ]

You wouldn't have had to search for 2 hours for this solution. It was
mentioned in the earlier discussion. It's drawback was also mentioned:
It is slow. Turning of buffering is going to cost you speed just like
enforced sync between host and client will. Probably not as badly as
that, but it still will.

I do not know why you dislike disabling the TIMEOUT. I don't think it
was such a great feature to start with and here this university can
do just fine without it.

	Carl Edman


Theorectial Physicist,N.:A physicist whose   | Send mail
existence is postulated, to make the numbers |  to
balance but who is never actually observed   | cedman@golem.ps.uci.edu
in the laboratory.                           | edmanc@uciph0.ps.uci.edu
Technical Details
Message-ID: <CEDMAN.90Oct29175528@lynx.ps.uci.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!usc!orion.oac.uci.edu!cedman
References: <KHERA.90Oct29142609@thneed.cs.duke.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,2da0d421a091cd0,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-10-29 17:55:23 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!usc!orion.oac.uci.edu!cedman
From: cedman@lynx.ps.uci.edu (Carl Edman)
Newsgroups: gnu.emacs.help
Subject: Re: GNUS and nntp 1.5.10
Message-ID: <CEDMAN.90Oct29175528@lynx.ps.uci.edu>
Date: 30 Oct 90 01:55:23 GMT
References: <KHERA.90Oct29142609@thneed.cs.duke.edu>
Distribution: gnu
Organization: non serviam
Lines: 38
Posted: Tue Oct 30 02:55:23 1990
Nntp-Posting-Host: lynx.ps.uci.edu
In-reply-to: khera@thneed.cs.duke.edu's message of 29 Oct 90 19:26:09 GMT