[rancid] High cpu on large configs

nachofw nachofw at adinet.com.uy
Tue Mar 29 13:23:56 UTC 2016


It is very inconvinient for my scenario, high cpu causes alerts on the monitoring systems creating false positive alerts. Also on other platforms causes packet loss por example cisco 3k series with large configs


Enviado desde mi smartphone Samsung Galaxy.-------- Mensaje original --------De: heasley <heas at shrubbery.net> Fecha: 29/03/2016  9:46 AM  (GMT-03:00) Para: nachofw <nachofw at adinet.com.uy> Cc: rancid-discuss at shrubbery.net Asunto: Re: High cpu on large configs 
Mon, Mar 28, 2016 at 03:10:16PM -0300, nachofw:
> 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-------- 

Why is it an issue if the cpu jumps for 97%?  So what.  It is temporary and
the scheduler should prioritize processes appropriately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160329/f4f8283d/attachment.html>


More information about the Rancid-discuss mailing list