🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #175542

Re: XNews using hugh amounts of CPU

#175542
From: MartinS
Date: Tue, 01 Nov 2005 03:51
68 lines
3822 bytes
bakedlite <plastics@re.us> wrote:
> sittingduck <spam.no.sitting-duck@spamgourmet.com> wrote: 
>> lrc wrote:
>> 
>>> I did try the most recent release (2005_10_18) but that
>>> seems to be worse. 
>>> 
>>> So I came to have a look on the newsgroup newsgroup and
>>> was amazed to find someone with similar problem - and I'm
>>> using Yottanews as my server (pay service) and wondered if
>>> this was a common link and possibly part of the problem?
>>> 
>>> Any advice would be welcome.
>> 
>> Xnews loads headers straight into memory. You will need to
>> handle smaller chunks of headers.
>> 
>> I would suggest using Xnews for text groups and very light
>> binaries use, and getting a REAL binary client for the bins.
>> (newsleecher) 
> 
> How insulting. XNews is the greatest.
> 
> Anyway, this is how I deal with the memory problem. XNews 
> appears to do all processing in system memory and only after 
> it's done sorting it will write the resulting rc file(s).
> 
> I have the same server (Giganews FWIW) divided into about 10 
> "virtual" servers (roughly by subject) so I don't have ONE 
> hugely unmanageable rc file of several MB. I find myself using 
> only 2 or 3 of these "virtual" servers and their rc  files 99% 
> of the time.
> 
> It also makes it easier to manage my download queues.
> 
> I regularly edit the rc files which will often result in a 
> 250,000 KB file being reduced to 10-15 KB. And I almost always 
> use the "catch up and purge" feature for each group but STILL 
> edit the rc files anyway.
> 
> All this works fine for me, although it does require a little 
> bit of work. Nothing in life is free. (Well, XNews is, but I 
> paid Luu anyway.)
> 
> Occasionally, if I forget to do the housecleaning for a few 
> weeks or if I just spent an hour searching for an article, it 
> may take a few minutes (maybe as long as 10) for the rc to be 
> processed and written to disk. I have just accepted it and it no 
> longer bothers me. Even though it takes over the system 
> completely until it's done. Good time to go to the washroom or 
> make some coffee.
> 
> All this works great on a 166 Pentium MMX with 64MB and a 33.6 
> modem so it should work a LOT faster on your speedy new 
> machines.
> 
> Good luck.

You can keep your working .newsrc file small by deleting the thousands 
of groups you never use, or delete the .newsrc and manually enter just 
the groups you want [Ins in the server window]. If you want to check for 
new groups periodically, you could keep a dummy .newsrc file (e.g., 
rename the one you get when you first initialize the server).

P.S.  I'm using Xnews 2005.10.18 with no problems.

-- 
Martin S.
Technical Details
Message-ID: <4366e621$0$30594$892e0abb@auth.newsreader.octanews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!news.glorb.com!postnews.google.com!news1.google.com!atl-c05.usenetserver.com!news.usenetserver.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
References: <1129791797.15e34d2660b9266196cb5f15fc3d5760@yottanews> <2Iidncqveq8xrsPenZ2dnUVZ8qidnZ2d@pipex.net> <Xns96FA685C9882Educkrulestheuniverse@news.easynews.com> <Xns9700835939545baklitpla@216.196.97.135>

Show Full Headers
Complete Article Headers
Message-ID: <4366e621$0$30594$892e0abb@auth.newsreader.octanews.com>
Subject: Re: XNews using hugh amounts of CPU
Date: Mon, 31 Oct 2005 22:51:02 -0500
From: MartinS <me@my.place>
References: <1129791797.15e34d2660b9266196cb5f15fc3d5760@yottanews> <2Iidncqveq8xrsPenZ2dnUVZ8qidnZ2d@pipex.net> <Xns96FA685C9882Educkrulestheuniverse@news.easynews.com> <Xns9700835939545baklitpla@216.196.97.135>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!news.glorb.com!postnews.google.com!news1.google.com!atl-c05.usenetserver.com!news.usenetserver.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
User-Agent: Xnews/2005.10.18
Lines: 68
NNTP-Posting-Date: 31 Oct 2005 21:50:57 CST
X-Complaints-To: abuse@octanews.net