[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using --remove-older-than takes a very long time?
From: |
Derek Atkins |
Subject: |
Re: using --remove-older-than takes a very long time? |
Date: |
Fri, 7 Feb 2020 12:42:51 -0500 |
User-agent: |
SquirrelMail/1.4.22-14.fc20 |
Hi,
On Fri, February 7, 2020 12:31 pm, Eric L. wrote:
> Hi Derek,
>
[snip]
> I don't think so but it probably depends on how many backups it has to
> remove.
Well, normally just one. Today I suspect it is removing around 7.
>>
>> While I keep track of how long it takes to run the backup process for
>> each server, I didnt separate out the backup vs cleanup stages of the
>> process. If cleanup is going to take so long, I might separate it out
>> into a different stage! Although it would be nice if cleanup could be
>> sped up!
>>
>> Is there any way to profile the code to see where it is spending its
>> time?
>
> A profiling as such is possible at python level but I would start with
> just calling the removal option with `-v9`, it should give you/us a
> first hint as the date/times for each action are logged.
I can certainly change the code to do that tomorrow night; I think it's a
bit late to make that change now for today's run.
> KR, Eric
-derek
--
Derek Atkins 617-623-3745
address@hidden www.ihtfp.com
Computer and Internet Security Consultant