[rancid] High cpu on large configs
Lee
ler762 at gmail.com
Thu Mar 24 16:14:15 UTC 2016
On 3/24/16, nachofw <nachofw at adinet.com.uy> wrote:
> Hi, some of the devices i backup contain more than 10k config lines,
> specifically a cisco asa. This causes high cpu when a backup is done. How
> can i set a "sleep 1" in the clogin script so that when the line "<--- More
> --->" gets hit it whaits 1 second before continuing.
Depends on which version of rancid you have. For 3.4.1 you'd edit
lib/rancid/ios.pm to add the sleep calls or whatever inside the
appropriate
if (/^(<-+ More -+>)/) {
...
}
block.
Regards,
Lee
More information about the Rancid-discuss
mailing list