Change Storage
Julien ÉLIE
julien at trigofacile.com
Tue Dec 14 22:06:59 UTC 2010
Hi Guillermo,
> Im looking a solution to this problem, one of my news group have around
> 2.5 millons of articles, that is giving me issue with the users when
> they try to browse it because their client hangs everytime
Do you know why their client hangs? Because of an OVER request
for 2.5 millions of articles?
> also i
> couldn't list, move or erase files in a regular way because i alway
> receive a "args too long" on the shell in every file operation.
That's another problem. Though maybe you could try to pipe the list
of files to remove to "xargs rm".
I also have a question: why don't you *expire* the newsgroup after
a certain number of days? Wouldn't it solve the issue?
> Im trying to change the way to storage this newsgroup to timehash
> currently is storage on tradespool like other news, so there are any way
> to make a storage change on a active newsgroup ?
Modify storage.conf and "ctlinnd xexec innd".
It will work for the next articles received in the newsgroup.
I unfortunately do not know how to modify the storage method
for already received articles... I believe you would have
to *refeed* all of them after having deleted and recreated
the newsgroup along with the new parameter for its storage method.
One easy way to do that is to "pullnews" the whole newsgroup
into a (huge) rnews file. It would allow to save all the
articles and then you could refeed them with rnews (after
having recreated the group and allow innd to receive old
articles -- with "ctlinnd param c 0" -- and deactivated
possible filters that would otherwise possibly reject
articles).
--
Julien ÉLIE
« Elle est gentille, mais les épices lui montent facilement
au nez... qu'elle a joli d'ailleurs ! » (César)
More information about the inn-workers
mailing list