🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Stephan Forseilles Sat, 01 Nov 1997 00:00
nnrpd/inetd/RedHat
#22844
Author: Stephan Forseilles
Date: Sat, 01 Nov 1997 00:00
29 lines
1713 bytes
I got a RedHat Linux server acting as a client fronted. It doesn't have
any innd running (I have a newfeed machine for that), it justs spawns
nnrpd from inetd.

But after a certain amount of time the connection on port 119 is refused
by the server. I have to kill -HUP inetd and it's ok again for some
hours (sometimes only some minutes). I've put nnrpd in inetd.conf with
'nowait' (just like a plain telnet). Does someone know if

-it should be set to 'wait'. It depends on the fact that nnrpd acts as a
single or multi-threaded server (well it doesn't really mean we you
would think at first time, check the manpage if inetd(8)).
-the max parameter to wait/nowait should be raised (the default is 40
connection/sec on the socket and I don't think I have that much at this
time).

All advice would be greatly appreciated.

Stephan.

-- 
-------- This is my own personal opinion -----------
* Stephan Forseilles       - UNIX System Engineer  *
* steph@nospam.skynet.be   - Belgacom Skynet SA/NV *
* Remove 'nospam' to reply -        FFESSM Level I *
------ "Resistance is futile!  (if < 1ohm)" --------

Re: nnrpd/inetd/RedHat
#22834
Author: Nate Shockey
Date: Sat, 01 Nov 1997 00:00
32 lines
1635 bytes
Stephan Forseilles wrote:

> -the max parameter to wait/nowait should be raised (the default is 40
> connection/sec on the socket and I don't think I have that much at this
> time).

    Hmm... We were having a similar problem when we moved to the
inetd/nnrpd method.  I'm not how inetd works with linux, but the default
for us was 40 connections per minute.  So we fixed the problem by issuing
"inetd -s -r 4096 1".  Again, I suppose it matters whether or not the
default is 40/sec or 40/min. ;)

> All advice would be greatly appreciated.
>
> Stephan.
>
> --
> -------- This is my own personal opinion -----------
> * Stephan Forseilles       - UNIX System Engineer  *
> * steph@nospam.skynet.be   - Belgacom Skynet SA/NV *
> * Remove 'nospam' to reply -        FFESSM Level I *
> ------ "Resistance is futile!  (if < 1ohm)" --------


____ _______                                    __________________
Nate Shockey                                    underdog@flash.net
News Administrator                              FlashNet Communications



Re: nnrpd/inetd/RedHat
#22840
Author: Stephan Forseilles
Date: Sat, 01 Nov 1997 00:00
33 lines
1916 bytes
Nate Shockey wrote:
> 

> > -the max parameter to wait/nowait should be raised (the default is 40
> > connection/sec on the socket and I don't think I have that much at this
> > time).
> 
>     Hmm... We were having a similar problem when we moved to the
> inetd/nnrpd method.  I'm not how inetd works with linux, but the default
> for us was 40 connections per minute.  So we fixed the problem by issuing
> "inetd -s -r 4096 1".  Again, I suppose it matters whether or not the
> default is 40/sec or 40/min. ;)

Yeahhhhhh tou're right! It's 40/minutes, not 40/sec! And it's of course
too low for a box having 150 simultaneous readers. I've raised it to 300
and didn't have any problems since (let's hope it will last). In linux
theyre are no  -r paramater but you can specify it in inetd.conf by
saying nowait.XXXX where XXXX is the max number of connections in a
minute. Gonna raise that to 3000 or something, should be enough. :-)

Thanks alot.

Steph.

-- 
-------- This is my own personal opinion -----------
* Stephan Forseilles       - UNIX System Engineer  *
* steph@nospam.skynet.be   - Belgacom Skynet SA/NV *
* Remove 'nospam' to reply -        FFESSM Level I *
------ "Resistance is futile!  (if < 1ohm)" --------

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