🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by Kevin Coates Sun, 10 Apr 2005 17:13
Dialog - Huge Data Directory
#165118
Author: Kevin Coates
Date: Sun, 10 Apr 2005 17:13
29 lines
2105 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I've been using Dialog for awhile and noticed that the /data directory
seems inappropriately large. It contains 40,000+ files which total
around 4GB.

I subscribe to appx 40 text newsgroups from 4 servers and retain
messages for 1 day. I compact the database regularly which seems to take
forever, even on this 3.2ghz P4. There aren't many saved messages.

The /data directory has a mixture of file extensions but the most real
estate consuming are the 297 msg*.dat files totally 10mb each.

Is this normal??? If not, any suggestions on what files are safe to
remove?

- -- 
Kevin Coates
Dewitt, NY USA
________________________________________________________________
(see headers for my pgp key, remove kc to reply by mail)
-----BEGIN PGP SIGNATURE-----

iD8DBQFCWV6JGfSrwz4KcC4RAmeIAJ9luF59GcVXtqf3lbupTJYuFftRvQCeNwfs
MKap/sK7dyVTbicyFhARvUg=
=vmHJ
-----END PGP SIGNATURE-----
Re: Dialog - Huge Data Directory
#165124
Author: foxidrive
Date: Sun, 10 Apr 2005 17:21
20 lines
2229 bytes
On Sun, 10 Apr 2005 13:13:32 -0400, Kevin Coates wrote:

> I've been using Dialog for awhile and noticed that the /data directory
> seems inappropriately large. It contains 40,000+ files which total
> around 4GB.
> 
> I subscribe to appx 40 text newsgroups from 4 servers and retain
> messages for 1 day. I compact the database regularly which seems to take
> forever, even on this 3.2ghz P4. There aren't many saved messages.
> 
> The /data directory has a mixture of file extensions but the most real
> estate consuming are the 297 msg*.dat files totally 10mb each.

When you unsubscribed from groups (like binary), did you delete the posts?
Or perhaps you aren't purging but are viewing unread posts only?
(Control F1 for all posts)

It's not normal - compactings removes deleted posts, but not posts from
groups that have been unsubscribed, for example, and the posts were not
deleted at the time.
Re: Dialog - Huge Data Directory
#165127
Author: Kevin Coates
Date: Sun, 10 Apr 2005 17:39
45 lines
2852 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 11 Apr 2005 03:21:35 +1000, foxidrive wrote:

> On Sun, 10 Apr 2005 13:13:32 -0400, Kevin Coates wrote:
 
>> I've been using Dialog for awhile and noticed that the /data
>> directory seems inappropriately large. It contains 40,000+ files
>> which total around 4GB.

> When you unsubscribed from groups (like binary), did you delete the
> posts?

I've never used Dialog for binaries and have always used PowerGrab for
those.

> Or perhaps you aren't purging but are viewing unread posts only?
> (Control F1 for all posts)

The only posts that I see are 1 day old. I have the purging setup to
purge messages older than 1 day and unread 7. I read them daily. I've
even tried going into each group and manually deleting all messages to
ensure there wasn't any extra data, then ran a Compact.

> It's not normal - compactings removes deleted posts, but not posts
> from groups that have been unsubscribed, for example, and the posts
> were not deleted at the time.

Is there any way to determine what data files may belong to an
unsubscribed group? I'd hate to have to delete and reinstall Dialog
from scratch just to clean up the data directory. It would be a pain to
have to reconfigure the customizations.

- -- 
Kevin Coates
Dewitt, NY USA
________________________________________________________________
(see headers for my pgp key, remove kc to reply by mail)
-----BEGIN PGP SIGNATURE-----

iD8DBQFCWWSwGfSrwz4KcC4RAkYTAJ45FdLAEDeHjv/LF2UvVb1vEEoWJACgrkHs
Bf5txmvj1s/fc83QxaCS9eE=
=NAkW
-----END PGP SIGNATURE-----
Re: Dialog - Huge Data Directory
#165129
Author: foxidrive
Date: Sun, 10 Apr 2005 17:51
36 lines
2798 bytes
On Sun, 10 Apr 2005 13:39:13 -0400, Kevin Coates wrote:

> I've never used Dialog for binaries and have always used PowerGrab for
> those.
> 
>> Or perhaps you aren't purging but are viewing unread posts only?
>> (Control F1 for all posts)
> 
> The only posts that I see are 1 day old. I have the purging setup to
> purge messages older than 1 day and unread 7. I read them daily. I've
> even tried going into each group and manually deleting all messages to
> ensure there wasn't any extra data, then ran a Compact.

Nods, I do it similarly.
 
>> It's not normal - compactings removes deleted posts, but not posts
>> from groups that have been unsubscribed, for example, and the posts
>> were not deleted at the time.
> 
> Is there any way to determine what data files may belong to an
> unsubscribed group? I'd hate to have to delete and reinstall Dialog
> from scratch just to clean up the data directory. It would be a pain to
> have to reconfigure the customizations.

You could (maybe) run an (untested) action on all the groups, and then
sample from the groups you have subscribed to.

[*]
!delete Age %>7

and then compact.

I am unsure if it operates only on unsubscribed groups, so you may need to
do an Alt A to select all groups, subscribe, run the action, unsubscribe
from all the groups and resubscribe to your 40 groups - if it doesn't work
initially.
Re: Dialog - Huge Data Directory
#165135
Author: Kevin Coates
Date: Sun, 10 Apr 2005 19:12
42 lines
2764 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 11 Apr 2005 03:51:29 +1000, foxidrive wrote:

> You could (maybe) run an (untested) action on all the groups, and then
> sample from the groups you have subscribed to.
> 
> [*]
> !delete Age %>7
> 
> and then compact.

Thanks for the suggestion. I decided to be more aggressive.

I have Dialog (and a few other apps) cloned on my notebook. On my
desktop machine, I deleted all the files in the /data directory. I then
reinstalled Dialog on top of itself. By reviewing the few files it
wrote to the new /data directory, I was able to figure out (based on
file name) what files are used for signatures, accounts and custom
headers. I replaced the default files in the new installation with my
old ones from my notebook.

Voila ... Dialog seems to have everything intact. My groups are there
but enmpty and the data directory is small. Hopefully, future Comapcts
will keep things nice and lean. I suspect that something must have
gotten messed up in the past and that's why my data directory was a
mess.

Thanks for your replies.

- -- 
Kevin Coates
Dewitt, NY USA
________________________________________________________________
(see headers for my pgp key, remove kc to reply by mail)
-----BEGIN PGP SIGNATURE-----

iD8DBQFCWXqkGfSrwz4KcC4RAkLFAKCXYetV2qk/CqU4i46qsFajPBTpVACdHx5o
3d7YocCaPIydzO0WcQMtU5c=
=Y5aT
-----END PGP SIGNATURE-----
Re: Dialog - Huge Data Directory
#165162
Author: Rom
Date: Mon, 11 Apr 2005 04:37
17 lines
1745 bytes
On Sun, 10 Apr 2005 13:39:13 -0400, Kevin Coates rambled:

> Is there any way to determine what data files may belong to an
> unsubscribed group? I'd hate to have to delete and reinstall Dialog
> from scratch just to clean up the data directory. It would be a pain to
> have to reconfigure the customizations.

If you don't know which groups you've unsubscribed from, do this with
each of your subscribed groups to find out which data files belong to
groups and determine the extraneous data files to delete:

Select a group, then Ctrl+Shift and pull down the Settings menu to
find Selected Group/article Info..., and look at the Key: value under
Selected GROUP INFO.

-- 
Rom
Re: Dialog - Huge Data Directory
#165274
Author: Bob
Date: Tue, 12 Apr 2005 03:33
21 lines
2304 bytes
On Mon, 11 Apr 2005 14:37:02 +1000, Rom wrote:

> On Sun, 10 Apr 2005 13:39:13 -0400, Kevin Coates rambled:
> 
>> Is there any way to determine what data files may belong to an
>> unsubscribed group? I'd hate to have to delete and reinstall Dialog
>> from scratch just to clean up the data directory. It would be a pain to
>> have to reconfigure the customizations.
> 
> If you don't know which groups you've unsubscribed from, do this with
> each of your subscribed groups to find out which data files belong to
> groups and determine the extraneous data files to delete:
> 
> Select a group, then Ctrl+Shift and pull down the Settings menu to
> find Selected Group/article Info..., and look at the Key: value under
> Selected GROUP INFO.

Does your advice pertain to 40Tude?  I have no "Selected Group/article
info," or "Key:value," or "GROUP INFO."  
-- 
r.s.nevin@att.net
Re: Dialog - Huge Data Directory
#165282
Author: Rom
Date: Tue, 12 Apr 2005 07:16
26 lines
2136 bytes
On Tue, 12 Apr 2005 03:33:15 GMT, Bob@see-below-for-address.com
rambled:

> On Mon, 11 Apr 2005 14:37:02 +1000, Rom wrote:
> 
> > If you don't know which groups you've unsubscribed from, do this with
> > each of your subscribed groups to find out which data files belong to
> > groups and determine the extraneous data files to delete:
> > 
> > Select a group, then Ctrl+Shift and pull down the Settings menu to
> > find Selected Group/article Info..., and look at the Key: value under
> > Selected GROUP INFO.
> 
> Does your advice pertain to 40Tude?  I have no "Selected Group/article
> info," or "Key:value," or "GROUP INFO."  

Yes, my post was pertaining to Dialog, as is the thread.
"Selected group/article info..." is not shown on the Settings menu by
default, but when you hold down Ctrl+Shift and then select Settings,
it should be there when the Settings menu drops down.

This tip has been posted previously by other posters to this group,
and comes in handy at times.

-- 
Rom
Re: Dialog - Huge Data Directory
#165315
Author: Bob
Date: Wed, 13 Apr 2005 03:27
29 lines
2644 bytes
On Tue, 12 Apr 2005 17:16:07 +1000, Rom wrote:

> On Tue, 12 Apr 2005 03:33:15 GMT, Bob@see-below-for-address.com
> rambled:
> 
>> On Mon, 11 Apr 2005 14:37:02 +1000, Rom wrote:
>> 
>>> If you don't know which groups you've unsubscribed from, do this with
>>> each of your subscribed groups to find out which data files belong to
>>> groups and determine the extraneous data files to delete:
>>> 
>>> Select a group, then Ctrl+Shift and pull down the Settings menu to
>>> find Selected Group/article Info..., and look at the Key: value under
>>> Selected GROUP INFO.
>> 
>> Does your advice pertain to 40Tude?  I have no "Selected Group/article
>> info," or "Key:value," or "GROUP INFO."  
> 
> Yes, my post was pertaining to Dialog, as is the thread.
> "Selected group/article info..." is not shown on the Settings menu by
> default, but when you hold down Ctrl+Shift and then select Settings,
> it should be there when the Settings menu drops down.
> 
> This tip has been posted previously by other posters to this group,
> and comes in handy at times.

Ah!  I did not HOLD Ctrl+Shft.  I did one then the other.
-- 
r.s.nevin@att.net
Re: Dialog - Huge Data Directory
#165323
Author: Charani
Date: Wed, 13 Apr 2005 10:16
19 lines
2064 bytes
On Mon, 11 Apr 2005 03:21:35 +1000, foxidrive wrote:

> It's not normal - compactings removes deleted posts, but not posts from
> groups that have been unsubscribed, for example, and the posts were not
> deleted at the time.

I've switched from NIN to RFN, unsubbed from one lot of groups and
deleted the server, then re-subbed to the same ones on the new server.
Is that going to cause a similar problem?? Or will the original
folders be used again??  

I'm also subbed to the same groups with another server (PlusNet) which
I was using for comparative purposes, which I no longer need.  The
recommendation is to first delete all the posts from the groups in
question then unsub??

What about the expiration date of posts in the unsubbed groups: would
that not take care of the unwanted posts??  I have Dialog set to
delete posts older than 10 days.
Re: Dialog - Huge Data Directory
#165327
Author: foxidrive
Date: Wed, 13 Apr 2005 11:20
20 lines
2216 bytes
On Wed, 13 Apr 2005 11:16:15 +0100, Charani wrote:

> On Mon, 11 Apr 2005 03:21:35 +1000, foxidrive wrote:
> 
>> compactings removes deleted posts, but not posts from
>> groups that have been unsubscribed, for example, and the posts were not
>> deleted at the time.

> The recommendation is to first delete all the posts from the groups in
> question then unsub??

When you unsubscribe from a group Dialog will prompt you to delete all
posts, pointers etc for that group.   

> What about the expiration date of posts in the unsubbed groups: would
> that not take care of the unwanted posts??  I have Dialog set to
> delete posts older than 10 days.

I don't know - it would depend if Dialog purges from every group with data,
or only subscribed groups with data.
Re: Dialog - Huge Data Directory
#165360
Author: Charani
Date: Thu, 14 Apr 2005 07:40
12 lines
1773 bytes
On Wed, 13 Apr 2005 21:20:39 +1000, foxidrive wrote: 


> When you unsubscribe from a group Dialog will prompt you to delete
> all posts, pointers etc for that group.    

It does, so that's OK then??
> 
> I don't know - it would depend if Dialog purges from every group
> with data, or only subscribed groups with data.

OK  Thanks for your help :))
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