🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Javier L. de los Mozos Wed, 10 Apr 1996 00:00
Problems with nnrpd in Solaris 2.4
#6444
Author: Javier L. de los Mozos
Date: Wed, 10 Apr 1996 00:00
14 lines
1125 bytes
Hello all,
	I'm a newbie in this newsgroup and need some help.

I'm running INN in a Sun Sparc 1000 ( two processors ) with 128 Mb. and 300 Mb.
swap. I am having problems lately when I have more than 200 nnrpd process. The
system run so slowly that it is inoperative.

In my modest opinion, I think this box should run ok with this charge.

Can anybody give me some advice ?

Thanx

Re: Problems with nnrpd in Solaris 2.4
#6480
Author: Mike Marler
Date: Thu, 11 Apr 1996 00:00
28 lines
1941 bytes
"Javier L. de los Mozos" <javier@ibernet.es> writes:
>I'm running INN in a Sun Sparc 1000 ( two processors ) with 128 Mb. and 300 Mb.
>swap. I am having problems lately when I have more than 200 nnrpd process. The
>system run so slowly that it is inoperative.

>In my modest opinion, I think this box should run ok with this charge.

>Can anybody give me some advice ?

Probably I/O beating the machine to death for article retrieves and
swapping.  The best source of information to start with that we have
found is some of the writings by Adrian Cockcroft from Sun.  You should
start with the http://www.sun.com/950901/columns/adrian/column1.html to
see what System Performance Monitoring is available; so that, you are
getting some stats to use in making decisions.  (Also you will note that
Cockcroft had a book published this January entitled "Sun Performance
and Tuning: SPARC and Solaris".)  He also has a recent article about
swap at http://www.sun.com/sunworldonline/swol-04-1996/swol-04-perf.html
which might be of some help, as well as, he has an FAQ at 
http://www.sun.com/sunworldonline/common/cockcroft.letters.html

Hope that gets you started, Mike

-- 
Mike Marler                          Information Technology, Georgia Tech
mike.marler@oit.gatech.edu           Atlanta, Georgia  30332-0715

Re: Problems with nnrpd in Solaris 2.4
#6494
Author: Christopher A. Manly
Date: Thu, 11 Apr 1996 00:00
21 lines
1542 bytes
In article <ML-1.3.2.829152928.7419.javier@minerva.ibernet.es>, "Javier L.
de los Mozos" <javier@ibernet.es> wrote:

> I'm running INN in a Sun Sparc 1000 ( two processors ) with 128 Mb. and
300 Mb.
> swap. I am having problems lately when I have more than 200 nnrpd process. The
> system run so slowly that it is inoperative.

I would look to disk I/O.  With 200 nnrpds, and 128MB, you're probably
paging (depending on how many newsfeeds you're running).  Check the output
from iostat, and vmstat (check page-ins).  If disk I/O and/or paging are
in fact the problem, RAM and/or rearranging your disks (or adding
spindles) may help.

----------------------------------------------------------------
Christopher A. Manly                            cam2@cornell.edu
CIT/NR Collaboration Systems                      (607) 255-4958
             <http://harper-hall.cit.cornell.edu/>


Re: Problems with nnrpd in Solaris 2.4
#6511
Author: Casper H.S. Dik - Network Securi...
Date: Fri, 12 Apr 1996 00:00
34 lines
1949 bytes
cam2@cornell.edu (Christopher A. Manly) writes:

}In article <ML-1.3.2.829152928.7419.javier@minerva.ibernet.es>, "Javier L.
}de los Mozos" <javier@ibernet.es> wrote:

}> I'm running INN in a Sun Sparc 1000 ( two processors ) with 128 Mb. and
}300 Mb.
}> swap. I am having problems lately when I have more than 200 nnrpd process. The
}> system run so slowly that it is inoperative.

}I would look to disk I/O.  With 200 nnrpds, and 128MB, you're probably
}paging (depending on how many newsfeeds you're running).  Check the output
}from iostat, and vmstat (check page-ins).  If disk I/O and/or paging are
}in fact the problem, RAM and/or rearranging your disks (or adding
}spindles) may help.


Since nnrpd do a lot of the same things for all their clients, this
looks like _the_ application for a multithreaded server.

Of course, INN has to be changed to send accepted fds over to the nnrpd
executable instead of fork/exec, as INN needs to do the accepts().

Volunteers?  I wonder how difficult it would be.

Casper

--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Re: Problems with nnrpd in Solaris 2.4
#6539
Author: David Riley
Date: Sat, 13 Apr 1996 00:00
25 lines
1718 bytes
: Since nnrpd do a lot of the same things for all their clients, this
: looks like _the_ application for a multithreaded server.

We have been examining this area our self.  Not only for nnrpd processes
but also for our pop server processes.

: Of course, INN has to be changed to send accepted fds over to the nnrpd
: executable instead of fork/exec, as INN needs to do the accepts().

Right now we have our feeder machine sharing the /news partition and
a pair of reader machines NFS mounting it and then running nnrpds with
the -S (slave) option via inetd.  It may be an idea to use a virtual
interface and bind the nnrpd process to that IP and have it do it's own
accept()s.  That would be a lot more efficient, IMHO.

: Volunteers?  I wonder how difficult it would be.

I don't think it would be too difficult, but I think it would be easier
to leave the the feeder and readers separate if possible.

--
David Riley         - University of Waterloo
driley@direct.ca    - Internet Direct (Vancouver, B.C.)

Re: Problems with nnrpd in Solaris 2.4
#6563
Author: Chris Lewis
Date: Sun, 14 Apr 1996 00:00
29 lines
1828 bytes
In article <4kpd7j$p4m@bushwire.mira.net.au>,
Mark Delany  <markd@mira.net.au> wrote:
>driley@aphex.direct.ca (David Riley) writes:
>
>>: Since nnrpd do a lot of the same things for all their clients, this
>>: looks like _the_ application for a multithreaded server.
>
>>We have been examining this area our self.  Not only for nnrpd processes
>>but also for our pop server processes.
>
>[Interesting that you think pop has the same large context as an nnrp
>process, but that's an aside]
>
>>: Of course, INN has to be changed to send accepted fds over to the nnrpd
>>: executable instead of fork/exec, as INN needs to do the accepts().
>
>>I don't think it would be too difficult, but I think it would be easier
>>to leave the the feeder and readers separate if possible.
>
>Passing fds and all that makes you wonder whether separate ports would
>be a better thing. An NNTP transfer port and an NNTP reader port.

It may be worth while playing with the shared-active patch, if you're
not already.  We do fine on similarly classed HPUX machines (in fact
with less memory) at 450 users.
-- 
Chris Lewis: _Una confibula non sat est_

Re: Problems with nnrpd in Solaris 2.4
#6564
Author: Mark Delany
Date: Sun, 14 Apr 1996 00:00
24 lines
1541 bytes
driley@aphex.direct.ca (David Riley) writes:

>: Since nnrpd do a lot of the same things for all their clients, this
>: looks like _the_ application for a multithreaded server.

>We have been examining this area our self.  Not only for nnrpd processes
>but also for our pop server processes.

[Interesting that you think pop has the same large context as an nnrp
process, but that's an aside]

>: Of course, INN has to be changed to send accepted fds over to the nnrpd
>: executable instead of fork/exec, as INN needs to do the accepts().

>I don't think it would be too difficult, but I think it would be easier
>to leave the the feeder and readers separate if possible.

Passing fds and all that makes you wonder whether separate ports would
be a better thing. An NNTP transfer port and an NNTP reader port.


Regards.

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