Thread View: news.software.nntp
3 messages
3 total messages
Started by Rich Neill
Fri, 09 Aug 1996 00:00
Multithreaded nnrpd
Author: Rich Neill
Date: Fri, 09 Aug 1996 00:00
Date: Fri, 09 Aug 1996 00:00
16 lines
822 bytes
822 bytes
Has any work been done to implement a multithreaded nnrpd to reduce all the system and memory requirements of dozens of forked nnrpd's in a busy site? I recall reading something about this months back, and would appreciate a repost or email. Thanks, Rich Neill SUNY at SB
Re: Multithreaded nnrpd
Author: Terry Kennedy, Operations Mgr.
Date: Sat, 10 Aug 1996 00:00
Date: Sat, 10 Aug 1996 00:00
135 lines
10232 bytes
10232 bytes
In article <4ufv4r$4ij@abel.cc.sunysb.edu>, rich@sbrich.ic.sunysb.edu (Rich Neill) writes:
> Has any work been done to implement a multithreaded
> nnrpd to reduce all the system and memory requirements
> of dozens of forked nnrpd's in a busy site? I recall reading
> something about this months back, and would appreciate
> a repost or email.
Well, there's the drastic solution of running the Reference NNTP (from
ftp.academ.com) instead of INN. One of the ideas floating around is to
use a different port for readers versus feeders, and if that idea takes
hold, this will be a lot easier to do.
With all 16,000-odd groups, my nntpd's take 1300K total and anywhere
from about 180K to 1M resident depending on the activity level and types
of commands received from the client. This is on a system with plenty of
free memory - on a tight system, lots of nntpd's memory can be paged out
without seriously impacting performance.
The history file formats are compatible between C News and INN, so a
hybrid system should be possible. You'll need to watch out for DBZINCORE,
as otherwise nntp might have an inconsistent view of the history data-
base,
I'm running an INN/C News+NNTP hybrid here (though not this configur-
ation; I've added INN streaming and fast expire to C News+NNTP).
Here's a sample "ps -ajx" on one of my servers to give you an idea of the
memory usage:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
news 18627 14.8 1.0 1264 936 ?? S 12:08AM 0:00.64 -sls28.asb.com
news 18059 10.7 1.1 1308 1008 ?? S 12:00AM 0:57.33 -news.new-york
news 18624 5.1 1.0 1300 980 ?? S 12:08AM 0:01.47 -blackbear.nji
news 18625 4.5 1.0 1300 972 ?? S 12:08AM 0:01.21 -204.141.163.1
news 25956 0.0 0.2 1312 196 ?? IW 24Jul96 0:49.69 -nj024a-046.cy
news 9866 0.0 0.2 1300 188 ?? IW 24Jul96 0:13.27 -sln16.asb.com
news 29798 0.0 0.2 1300 188 ?? IW 26Jul96 0:01.31 -dionysus00.ca
news 323 0.0 0.2 1300 188 ?? IW 26Jul96 0:06.19 -atlas16.carro
news 9305 0.0 0.2 1300 196 ?? IW 27Jul96 0:02.10 -missy.njcc.co
news 13674 0.0 0.2 1324 188 ?? IW 28Jul96 0:01.21 -pmb25.j51.com
news 22657 0.0 0.2 1300 188 ?? IW 30Jul96 0:02.33 -csd1-224.sd.c
news 9603 0.0 0.2 1356 188 ?? IW 30Jul96 0:01.57 -missy.njcc.co
news 22623 0.0 0.2 1312 192 ?? IW 31Jul96 0:45.39 -nj005a-068.cy
news 6997 0.0 0.2 1312 192 ?? IW 1Aug96 0:01.21 -csd1-234.sd.c
news 3603 0.0 0.2 1568 188 ?? IW 2Aug96 0:33.51 -charu.squonk.
news 25108 0.0 0.2 1312 196 ?? IW 2Aug96 1:00.00 -p14.haifa3.ac
news 18966 0.0 0.2 1288 184 ?? IW Sat03PM 0:01.14 -p5.haifa1.act
news 2887 0.0 0.2 1336 192 ?? IW Sun07PM 0:10.04 -missy.njcc.co
news 15564 0.0 0.2 1280 184 ?? IW Thu09AM 0:05.83 -csd1-227.sd.c
news 3452 0.0 0.2 1828 188 ?? IW Thu09PM 0:28.24 -charu.squonk.
news 24717 0.0 0.2 1312 192 ?? IW 9:27AM 0:02.36 -cport09.way.c
news 6643 0.0 0.3 1300 256 ?? S 8:16PM 0:23.63 -missy.njcc.co
news 7187 0.0 1.0 1300 936 ?? I 8:28PM 0:21.63 -165.254.169.1
news 10688 0.0 0.3 1324 264 ?? S 9:46PM 0:12.14 -blackbear.nji
news 10897 0.0 1.0 1300 940 ?? IW 9:53PM 0:07.99 -sls23.asb.com
news 12459 0.0 0.2 1312 188 ?? IW 10:24PM 0:12.35 -p2.ta2.actcom
news 12916 0.0 0.3 1300 256 ?? S 10:31PM 0:06.02 -blackbear.nji
news 13569 0.0 0.3 1324 240 ?? S 10:42PM 0:10.60 -blackbear.nji
news 14843 0.0 1.0 1312 948 ?? S 11:00PM 0:08.75 -atlas28.carro
news 14846 0.0 0.3 1312 264 ?? S 11:00PM 0:12.01 -nj008a-164.cy
news 14847 0.0 1.0 1312 948 ?? I 11:00PM 0:08.13 -atlas28.carro
news 15601 0.0 0.3 1312 256 ?? I 11:13PM 0:01.80 -atlas11.carro
news 15641 0.0 1.0 1312 944 ?? S 11:14PM 0:18.41 -nj005a-058.cy
news 16186 0.0 0.3 1380 268 ?? IW 11:23PM 0:06.56 -204.141.163.1
news 16209 0.1 1.0 1300 948 ?? S 11:24PM 0:17.48 -sls1.asb.com
news 16311 0.0 1.0 1300 936 ?? IW 11:28PM 0:01.78 -deepika.squon
news 16313 0.0 1.0 1312 948 ?? S 11:28PM 0:08.91 -nj011a-253.cy
news 16315 0.0 0.2 1300 196 ?? IW 11:28PM 0:02.90 -nj011a-253.cy
news 16318 0.0 0.3 1324 268 ?? S 11:28PM 0:04.41 -204.141.102.2
news 16761 0.0 0.6 1300 592 ?? I 11:32PM 0:03.07 -nj008a-135.cy
news 16781 0.1 1.0 1336 940 ?? S 11:33PM 0:09.75 -204.141.163.1
news 16791 0.0 0.3 1312 260 ?? S 11:33PM 0:08.34 -ns.net.hu ART
news 16875 0.0 0.2 1292 184 ?? IW 11:35PM 0:01.18 -204.141.163.1
news 16947 0.0 1.0 1324 952 ?? S 11:39PM 0:13.03 -whitetail.nji
news 16953 0.0 0.3 1368 260 ?? S 11:39PM 0:09.96 -sls26.asb.com
news 16995 0.0 0.3 1300 256 ?? S 11:40PM 0:01.85 -nj010a-196.cy
news 17024 0.0 1.0 1300 948 ?? I 11:42PM 0:06.82 -nj011a-253.cy
news 17062 0.2 1.0 1300 944 ?? S 11:42PM 0:08.31 -ny222a-240.cy
news 17371 0.0 0.3 1300 256 ?? S 11:44PM 0:07.58 -silly.com BOD
news 17372 0.0 1.0 1300 944 ?? I 11:44PM 0:05.27 -sls24.asb.com
news 17440 0.0 0.2 1324 204 ?? IW 11:46PM 0:01.38 -nj009a-191.cy
news 17477 0.0 0.4 1300 340 ?? IW 11:47PM 0:04.22 -nj007a-112.cy
news 17483 0.0 0.4 1312 348 ?? IW 11:48PM 0:05.20 -webscope.com
news 17546 0.0 0.3 1312 268 ?? S 11:49PM 0:01.94 -dionysus03.ca
news 17550 0.0 1.0 1300 944 ?? S 11:50PM 0:01.70 -nj010a-214.cy
news 17552 0.0 0.4 1324 344 ?? S 11:50PM 0:10.87 -nj006a-080.cy
news 17555 0.0 0.3 1312 268 ?? S 11:50PM 0:02.41 -sle3.asb.com
news 17576 0.0 1.0 1300 924 ?? IW 11:50PM 0:03.30 -nj009a-179.cy
news 17904 0.0 0.3 1312 256 ?? S 11:51PM 0:02.27 -nj011a-253.cy
news 17934 0.0 0.2 1300 188 ?? IW 11:52PM 0:01.19 -nj006a-080.cy
news 17935 0.0 1.0 1300 948 ?? S 11:52PM 0:04.42 -nj009a-169.cy
news 17943 0.0 0.2 1300 188 ?? IW 11:53PM 0:01.12 -nj009a-189.cy
news 17948 0.0 1.0 1300 952 ?? S 11:54PM 0:03.67 -poseidon05.ca
news 17951 0.0 1.0 1300 976 ?? S 11:54PM 0:02.83 -165.254.202.4
news 17957 0.0 1.1 1368 1044 ?? I 11:55PM 0:02.14 -atlas16.carro
news 17965 0.0 1.0 1300 980 ?? S 11:56PM 0:01.24 -nj011b-226.cy
news 17968 0.0 1.0 1300 980 ?? I 11:56PM 0:01.21 -nj011b-226.cy
news 17971 0.0 1.0 1300 980 ?? S 11:56PM 0:01.27 -nj011b-226.cy
news 17974 0.0 1.0 1300 980 ?? S 11:57PM 0:01.19 -nj011b-226.cy
news 17976 0.0 1.0 1300 980 ?? I 11:57PM 0:01.31 -nj011b-226.cy
news 17978 0.0 1.0 1312 996 ?? I 11:57PM 0:02.07 -atlas07.carro
news 17982 0.0 1.0 1300 980 ?? S 11:58PM 0:01.34 -nj011b-226.cy
news 17986 0.0 1.0 1300 980 ?? S 11:58PM 0:01.26 -nj011b-226.cy
news 17987 0.0 1.0 1300 980 ?? S 11:58PM 0:01.26 -nj011b-226.cy
news 17988 0.0 1.0 1300 980 ?? S 11:58PM 0:01.24 -nj011b-226.cy
news 17993 0.0 1.0 1300 980 ?? S 11:59PM 0:01.44 -nj011b-226.cy
news 17994 0.0 1.0 1300 980 ?? S 11:59PM 0:01.26 -nj011b-226.cy
news 17997 0.0 1.0 1300 980 ?? S 11:59PM 0:02.32 -dionysus01.ca
news 17999 0.0 1.0 1312 992 ?? IW 11:59PM 0:01.29 -nj008a-139.cy
news 18003 0.0 1.1 1312 1000 ?? S 11:59PM 0:05.42 -nj010b-205.cy
news 18079 0.0 1.0 1312 996 ?? S 12:00AM 0:01.93 -nj011a-229.cy
news 18099 0.0 1.0 1300 972 ?? S 12:01AM 0:02.00 -204.141.163.1
news 18155 0.0 1.0 1300 988 ?? S 12:01AM 0:01.63 -ny222a-252.cy
news 18157 0.0 1.0 1300 984 ?? I 12:02AM 0:02.50 -218-ppp-gw4.g
news 18166 0.0 1.0 1312 996 ?? I 12:03AM 0:01.97 -dionysus13.ca
news 18167 0.0 1.0 1312 996 ?? I 12:03AM 0:01.49 -sls14.asb.com
news 18182 0.0 1.0 1300 980 ?? S 12:03AM 0:01.27 -atlas28.carro
news 18187 0.0 1.0 1300 988 ?? IW 12:04AM 0:02.24 -poseidon08.ca
news 18188 0.0 1.0 1264 936 ?? IW 12:04AM 0:00.63 -poseidon08.ca
news 18189 0.0 1.0 1300 980 ?? S 12:04AM 0:01.49 -csd1-248.sd.c
news 18191 0.0 1.1 1312 1000 ?? S 12:04AM 0:02.50 -csd1-236.sd.c
news 18485 0.0 1.0 1300 980 ?? S 12:04AM 0:01.25 -nj011a-253.cy
news 18576 0.0 1.0 1300 980 ?? S 12:05AM 0:01.69 -braincells.co
news 18589 0.0 1.0 1300 976 ?? S 12:06AM 0:01.26 -silly.com BOD
news 18591 0.0 1.0 1300 972 ?? I 12:06AM 0:01.16 -sls22.asb.com
news 18597 0.0 1.0 1300 980 ?? R 12:07AM 0:01.57 -i123.239.worl
news 18610 0.0 1.0 1312 992 ?? S 12:07AM 0:01.32 -blackbear.nji
news 18612 0.0 1.0 1300 980 ?? S 12:07AM 0:01.35 -gatekeeper.fn
Terry Kennedy Operations Manager, Academic Computing
terry@spcvxa.spc.edu St. Peter's College, Jersey City, NJ USA
+1 201 915 9381 (voice) +1 201 435-3662 (FAX)
Re: Multithreaded nnrpd
Author: Ben Polk
Date: Sun, 11 Aug 1996 00:00
Date: Sun, 11 Aug 1996 00:00
13 lines
1040 bytes
1040 bytes
Rich Neill wrote: > > Has any work been done to implement a multithreaded > nnrpd to reduce all the system and memory requirements > of dozens of forked nnrpd's in a busy site? I recall reading > something about this months back, and would appreciate > a repost or email. Version 2 of the Netscape News Server (based originally on INN 1.4) uses multiple multithreaded nnrpds.
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