🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Chris Rugg Fri, 22 Oct 1999 00:00
Need help with daily expire
#41062
Author: Chris Rugg
Date: Fri, 22 Oct 1999 00:00
28 lines
1307 bytes
Hi,

We have three  news servers and only one seems to be running the daily
expire program. I can't find any differences between the servers so I am
trying to research why the logs show 0 files processed for two of the
servers. They all have news.daily in the crontab, but two don't clean up
the system.I thought I would try here while I do other research incase
someone can shed some light on this. Thanks in advance.

chris...



--
**************************************

Christopher Rugg
UNIX System Engineer
News Internet Services
http://www.foxnews.com
http://www.foxsports.com
http://www.foxmarketwire.com

**************************************



Re: Need help with daily expire(New Info)
#41059
Author: Chris Rugg
Date: Fri, 22 Oct 1999 00:00
18 lines
1067 bytes
> I have found an error in the expire.log "can't reserve server". this may
> have something to do with expire not working properly. Thanks

--
**************************************

Christopher Rugg
UNIX System Engineer
News Internet Services
http://www.foxnews.com
http://www.foxsports.com
http://www.foxmarketwire.com

**************************************



Re: Need help with daily expire
#41104
Author: BadBoo
Date: Mon, 25 Oct 1999 00:00
65 lines
2879 bytes
Very interesting. I had the exact same problem. My hard drive (20 GB)
was slam full. I have been running expire twice a day to help free up
HD space. (After expire I have about 47% usage) I also had a couldn't
reserver server, so I manually deleted 16% of the HD
in /var/spool/news/ and just went and killed a bunch of binaries. Then
I issued a ctlinnd go throttle '' and it went. What caused the whole
mess Is I tried to get real fancy on my expire.ctl and left white space
at the end of a line, so expire chose to not run all weekend...


In article <38147D84.F2C88530@newsdigital.com>,
  Chris Rugg <"crugg(rem-me)"@newsdigital.com> wrote:
> I was able to figure this out finally. Because there was a directory
not owned
> by news, it caused the expire program to bomb out. This put some sort
of a
> lock on the server preventing expire from throttling it I guess. The
fix was
> to run the command ctlinnd reserve "" which removes the lock. Thanks
anyways
>
> chris....
>
> Russ Allbery wrote:
>
> > Chris Rugg <"crugg(rem-me)"@newsdigital.com> writes:
> >
> > > We have three news servers and only one seems to be running the
daily
> > > expire program. I can't find any differences between the servers
so I am
> > > trying to research why the logs show 0 files processed for two of
the
> > > servers. They all have news.daily in the crontab, but two don't
clean up
> > > the system.
> >
> > Given this and your other message saying that you get a "can't
reserve
> > server" error message, my guess is that innd is throttled for other
> > reasons.  What does innstat say?
> >
> > --
> > Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>
> --
> **************************************
>
> Christopher Rugg
> UNIX System Engineer
> News Internet Services
> http://www.foxnews.com
> http://www.foxsports.com
> http://www.foxmarketwire.com
>
> **************************************
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Need help with daily expire
#41110
Author: Chris Rugg
Date: Mon, 25 Oct 1999 00:00
41 lines
1963 bytes
I was able to figure this out finally. Because there was a directory not owned
by news, it caused the expire program to bomb out. This put some sort of a
lock on the server preventing expire from throttling it I guess. The fix was
to run the command ctlinnd reserve "" which removes the lock. Thanks anyways


chris....


Russ Allbery wrote:

> Chris Rugg <"crugg(rem-me)"@newsdigital.com> writes:
>
> > We have three news servers and only one seems to be running the daily
> > expire program. I can't find any differences between the servers so I am
> > trying to research why the logs show 0 files processed for two of the
> > servers. They all have news.daily in the crontab, but two don't clean up
> > the system.
>
> Given this and your other message saying that you get a "can't reserve
> server" error message, my guess is that innd is throttled for other
> reasons.  What does innstat say?
>
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

--
**************************************

Christopher Rugg
UNIX System Engineer
News Internet Services
http://www.foxnews.com
http://www.foxsports.com
http://www.foxmarketwire.com

**************************************



Re: Need help with daily expire
#41176
Author: Paul Khavkine
Date: Thu, 28 Oct 1999 00:00
18 lines
1614 bytes
If you are constantly have a HD space problem, consider using CNFS for
article storage
And you wont have that problem anymore.


BadBoo wrote:

> Very interesting. I had the exact same problem. My hard drive (20 GB)
> was slam full. I have been running expire twice a day to help free up
> HD space. (After expire I have about 47% usage) I also had a couldn't
> reserver server, so I manually deleted 16% of the HD
> in /var/spool/news/ and just went and killed a bunch of binaries. Then
> I issued a ctlinnd go throttle '' and it went. What caused the whole
> mess Is I tried to get real fancy on my expire.ctl and left white space
> at the end of a line, so expire chose to not run all weekend...


Re: Need help with daily expire
#41184
Author: BadBoo
Date: Fri, 29 Oct 1999 00:00
14 lines
1333 bytes
People keep mentioning CNFS. I did a 'MAN CNFS' and nothing came back
where would be a good place to discover what a CNFS is? I will do a
search on various search engines as soon as I post this message, but
since you know what it is, and apparently use it, I would love to hear
feedback on how you learned of it, and what it is etc.

Thanks,
  Bruce


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Need help with daily expire
#41192
Author: Paul Tomblin
Date: Fri, 29 Oct 1999 00:00
12 lines
1334 bytes
In a previous article, BadBoo <bdmeyer@my-deja.com> said:
>People keep mentioning CNFS. I did a 'MAN CNFS' and nothing came back

cnfs is a new way of storing news articles implemented in inn 2.2.
If you have inn 2.2 or 2.3, try "man storage.conf".

-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Need help with daily expire
#41211
Author: BadBoo
Date: Mon, 01 Nov 1999 00:00
32 lines
2534 bytes
Ok,
  I also found some other info on the web about CNFS. Please correct me
if I understand this incorrectly. I have another 25 GB drive coming,
and when it arrives, I will be redoing things. My thoughts so far are
to enable CNFS, which will wipe out all existing news anyway (no big
deal, it seems most of our users download binaries) I will set up about
45 GB mostely for Binaries (two drives) and merely point to them via
fstab. (no raid, as I don't seem to have enough users all day long to
really hammer this system)

I gather that whatver FS I choose is the FS for the whole news system.
(Inn 2.3) and that I cannot dedicate CNFS for binaries, and normal
expiry for the regular stuff. I guess that isn't such a big deal, if I
set up the binaries in their own area, and the regular hierarchies, on
their own partition. This way, If I make the non alt. groups on a big
enough area, I can essentially retain them for a very long time, and
tweak the binary area until it holds aqbout two days of info and then
starts first in, first outing the binaries, without affecting my non
alt.*.binary newsgroups. (like rec, comp etc)  I realize this wasn't
the clearest explanation, but I guess what I am saying is, I understand
that I can use CNFS to sort of 'expire' the binaries, but with
judicious planning of the fstab entries, keep weeks worth of the comp,
rec, (non alt.binary) stuff. Excuse the sloppiness, but generally, am I
planning down the right path?

Bruce


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Need help with daily expire
#41235
Author: BadBoo
Date: Tue, 02 Nov 1999 00:00
20 lines
1662 bytes
> Yeah, although if you're planning on using 2.3, you may want to
consider
> using a different storage method for text posts.  My intention when I
> bring up our new production reader machine is to put binaries in CNFS
and
> everything else in traditional spool, which I like for convenience in
> poking around at things.

Awesome. That is exqactly what I would prefer to do. I have been using
2.3 since I started this fine task of adminning news a couple of months
ago. I guess I am in luck. Thanks so much for all your help.

Bruce


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: Need help with daily expire
#41250
Author: bill davidsen
Date: Wed, 03 Nov 1999 00:00
38 lines
2517 bytes
In article <yl1za9pbc1.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| Yeah, although if you're planning on using 2.3, you may want to consider
| using a different storage method for text posts.  My intention when I
| bring up our new production reader machine is to put binaries in CNFS and
| everything else in traditional spool, which I like for convenience in
| poking around at things.

  But, but... the whole virtue of cnfs is to avoid all the directory
overhead, file creates and such. And text (small) articles are the bulk
of articles, so you would incur almost all of the overhead.

From a transit server with a 1MB limit:

 size<k    arts      MB   %size   %arts %incr-k %cuml-k
     16   75817   128.2     8.1    89.2     0.0     8.1
    100    4352   217.0    13.8     5.1   169.2    21.9
    256    3146   540.3    34.3     3.7   156.5    56.2
    512    1189   407.9    25.9     1.4    46.1    82.1
   1024     462   281.5    17.9     0.5    21.8   100.0

  Note that the articles < 16k are only 8% of the size and 90% of the
articles by count. Now I ran artsize on 100k lines at the end of
log/news and this may not be totally representative of life as you see
it, but I think using traditional for text articles will really bog most
servers, compared to using cnfs.

  Feel free to tell me I misread the post, your servers have no problems
with high directory rates, etc.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

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