🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Rockinghorse Winner Mon, 09 Jan 2012 21:33
Leafnode texpire: what a concept!
#248313
Author: Rockinghorse Winner
Date: Mon, 09 Jan 2012 21:33
30 lines
2325 bytes
You know when I installed Leafnode a year ago, I thought it was great. I set
up to have my groups expire old messages every week, and started using
various readers to read messages. 

Well last night, something happened (Rockinghorse Winner looks accusingly at
the black furball sleeping on the bed) and my computer had to be shut down
unceremoniously with SysRq.

When I started 'er back up, my active.read file was trashed, so I rebuilt
the db, and started to poke around in there. To my absolute chagrin, every
message that had ever graced my screen with a subject line was filling up
the news directory to the point where I had more than 200,000 files in
there.

A quick check on google revealed the existence of texpire, and a few minutes
later I regained a few hundred MB and a &#$*load of inodes, as well as a
clean, working server.

Now, if I had been told that setting your articles to 'expire' does not
delete them but just 'hide' them, I could have avoided the shock of seeing
so many files littering my directory.

Time to add a line to cron....

Terry
-- 
"There are two means of refuge from the miseries of life: music and cats."
-Albert Schweitzer

penguin power -- gentoo linux 3.0.6
Re: Leafnode texpire: what a concept!
#248320
Author: andrew
Date: Mon, 09 Jan 2012 23:49
11 lines
1218 bytes
On 2012-01-09, Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:

> Time to add a line to cron....

There is a guide online that mentions this:

http://www.andrews-corner.org/leafnode.html#cron

:)
-- 
Do you think that's air you're breathing?
Re: Leafnode texpire: what a concept!
#248326
Author: Adam Funk
Date: Tue, 10 Jan 2012 21:16
21 lines
1894 bytes
On 2012-01-09, Rockinghorse Winner wrote:

> A quick check on google revealed the existence of texpire, and a few minutes
> later I regained a few hundred MB and a &#$*load of inodes, as well as a
> clean, working server.
>
> Now, if I had been told that setting your articles to 'expire' does not
> delete them but just 'hide' them, I could have avoided the shock of seeing
> so many files littering my directory.

I was going to ask what you meant by "setting to expire" other than using
texpire, but I guess you mean putting expire (and maybe also
groupexpire) lines in the leafnode config file --- is that right?

(I'm not picking on you, just curious.)


-- 
When you look at a photograph of the earth you don't see any
borders. That realization is where our hope as a planet lies.
                                                [Graham Nash]
Re: Leafnode texpire: what a concept!
#248325
Author: Rockinghorse Winner
Date: Tue, 10 Jan 2012 21:46
37 lines
2489 bytes
* It may have been the liquor talking, but 
Adam Funk <a24061@ducksburg.com> wrote:

> On 2012-01-09, Rockinghorse Winner wrote:
>
>> A quick check on google revealed the existence of texpire, and a few minutes
>> later I regained a few hundred MB and a &#$*load of inodes, as well as a
>> clean, working server.
>>
>> Now, if I had been told that setting your articles to 'expire' does not
>> delete them but just 'hide' them, I could have avoided the shock of seeing
>> so many files littering my directory.
>
> I was going to ask what you meant by "setting to expire" other than using
> texpire, but I guess you mean putting expire (and maybe also
> groupexpire) lines in the leafnode config file --- is that right?
>
> (I'm not picking on you, just curious.)

Yes, exactly. That's what I thought the setting was for. Is there a config
setting that will also delete the files?

Terry

>
>
> -- 
> When you look at a photograph of the earth you don't see any
> borders. That realization is where our hope as a planet lies.
>                                                 [Graham Nash]

Terry
-- 
"There are two means of refuge from the miseries of life: music and cats."
-Albert Schweitzer

penguin power -- gentoo linux 3.0.6
Re: Leafnode texpire: what a concept!
#248328
Author: Adam Funk
Date: Tue, 10 Jan 2012 22:14
34 lines
2527 bytes
On 2012-01-10, Rockinghorse Winner wrote:

> * It may have been the liquor talking, but 
ha! (beer, actually)
> Adam Funk <a24061@ducksburg.com> wrote:

>> I was going to ask what you meant by "setting to expire" other than using
>> texpire, but I guess you mean putting expire (and maybe also
>> groupexpire) lines in the leafnode config file --- is that right?
>>
>> (I'm not picking on you, just curious.)
>
> Yes, exactly. That's what I thought the setting was for. Is there a config
> setting that will also delete the files?

AIUI, both fetchnews and texpire read the same config file but do
different things (with different parts of it) --- fetchnews
fetches articles from upstream servers & posts outgoing articles to
them, whereas texpire expires/deletes things from the local
/var/spool/news (or alternate location if you have it configured that
way).

You might want to follow the leafnode mailing list, available as a
newsgroup at "gmane.network.leafnode".  For me, one of the great
benefits of using leafnode (I'm an enthusiast, & occasionally donate
to the project through sourceforge) is the integration into my slrn of
interesting gmane.* groups that I'd otherwise have to follow as
mailing lists.


-- 
The internet is quite simply a glorious place. Where else can you find
bootlegged music and films, questionable women, deep seated xenophobia
and amusing cats all together in the same place?         [Tom Belshaw]
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