On 8/11/20 1:21 PM, Andy Cravens wrote: > > I have three questions: > > First, If I run the prune_arch command to remove archives older than a year, > is this going to take minutes, hours or days to complete?
minutes. > In one post Mark Sapiro states that prune_arch locks the list while updating > the LISTNAME.mbox so other processes won’t be updating concurrently. Then > the list is again locked by the bin/arch process while the HTML archive is > being regenerated. If this list is used on an hourly basis and the list is > “locked” this could be problematic for us. It shouldn't be locked for long. The prune_arch pruning process doesn't run for long and then relinquishes the lock so other process waiting on will acquire it before bin/arch gets it, and bin/arch shouldn't take very long either. > Second, Our disk space is getting low and that is why we are cleaning up the > archives. Is the prune_arch command going to be temporarily generating more > files and taking up more space in order to process the list archives? If so > I’ll have to make sure we have enough disk space to run prune_arch. Assuming you don't specify -p/--preserve, there will temporarily be the old .mbox and the new pruned .mbox simultaneously. That will be the maximum increase. From there, disk utilization goes down. > I would like to schedule the prune_arch command as a cron job to run against > several lists. I have looked at prune_arch before and I found some earlier > posts that detailed how to prune the archives and there were more > instructions that just running the prune_arch command. I cannot locate those > old posts now. I should have bookmarked them. Is this all I need to do, > just run prune_arch against the list and slap it in cron? Going to <https://mail.python.org/archives/search?mlist=mailman-users%40python.org&q=prune_arch> returns only 20 hits not including this thread. You should be able to find what you're looking for. I think just running prune_arch via cron will be enough for what you want. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/