[rancid] High cpu on large configs
nachofw
nachofw at adinet.com.uy
Mon Mar 28 18:10:16 UTC 2016
Thanks for the input.I ended up taking advantage of the fact that asa doesn't support 'terminal length'and 'terminal width'. And changed the file lee mentioned:-> /usr/share/perl5/rancid/ios.pm # the pager can not be disabled per-session on the PIX if (/^(<-+ More -+>)/) { my($len) = length($1); s/^$1s{$len}//;+ select(undef, undef, undef, 0.15); }
I cant use the 'terminal pager 0' because that displays all the config in one shot and causes the cpu to spike to 97%, i needed for rancid to use the ---more--- feature when displaying the config.Again thanks to all-------- Mensaje original --------De: nachofw <nachofw at adinet.com.uy> Fecha: 24/03/2016 11:58 AM (GMT-03:00) Para: rancid-discuss at shrubbery.net, rancid at shrubbery.net Asunto: High cpu on large configs
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160328/8cba697a/attachment.html>
More information about the Rancid-discuss
mailing list