🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6670

Re: TIN - outrageous memory pig?!

#6670
From: Marc G. Fournier
Date: Fri, 26 Nov 1993 17:48
36 lines
2529 bytes
herman@htbrug.hobby.nl (Herman ten Brugge) writes:

>Karl Denninger (karl@Notwerk.mcs.com) wrote:
>: What's uh the deal here?

>:   PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
>:  8330 roblinx    3    0  6512K  748K sleep   0:18  5.03%  5.03% tin
>:  8157 annecost   3    0  6628K 1380K sleep   0:09  3.13%  3.12% tin
>:  8395 karl      10    0  1712K 1100K sleep   0:00  0.52%  0.49% trn

>: THREE times the size of trn?  The text sizes are comparable -- this is all
>: dynamically allocated data!

>: Needless to say, this beats the hell out of the VM system on the machine!

>: Is there anything which can be done about this hog other than adding RAM 
>: to all the machines that run it?

>The reason this happens is probebly that you don't run 'updatemin' or
>'upact' to update the min fields in the active file. Tin is keeping a
>bitmap in memory for every article in the spool directory for handling
>Xref-articles. If you don't update the minimum value of the active file
>the bitmap array becomes very large and will have the above effect.

	Theory is good, but ours hit 11Meg usage before we effectively
banned the users from using it.  Our active file is automatically updated
by the expire functions in INN1.4 every night, and anytime you restart
the system.  Our active file is over 7000 newsgroups long right now, but
like above, trn used virtually no memory in comparison.

Marc
-- 
Marc G. Fournier  | Internex Online: Toronto's First Public Internet Connection
Etobicoke, Canada | Data: 363-3783        Telnet: io.org        Voice: 363-8676
                  | Worldwide Chat Through IRC      Over 7000 Usenet Newsgroups
scrappy@io.org    | Limited Free Access   Telnet   Ftp   Gopher    Online Games
Technical Details
Message-ID: <2d5fh1$bfn@ionews.io.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!uunet!news2.uunet.ca!ionews.io.org!ionews.io.org!nobody
References: <2cep0n$87o@Notwerk.mcs.com> <1993Nov24.183058.773@htbrug.hobby.nl>

Show Full Headers
Complete Article Headers
Message-ID: <2d5fh1$bfn@ionews.io.org>
Subject: Re: TIN - outrageous memory pig?!
Date: Fri, 26 Nov 1993 17:48:17 +0000
From: scrappy@ionews.io.org (Marc G. Fournier)
References: <2cep0n$87o@Notwerk.mcs.com> <1993Nov24.183058.773@htbrug.hobby.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!uunet!news2.uunet.ca!ionews.io.org!ionews.io.org!nobody
Newsgroups: news.software.readers
Organization: Internex Online, Toronto, Ontario, Canada (416 363 3783)
Lines: 36
NNTP-Posting-Host: io.org