[rancid] Re: Maximum length of config

john heasley heas at shrubbery.net
Tue Jul 4 06:56:25 UTC 2006


Mon, Jul 03, 2006 at 06:20:41PM -0400, Mordechai T. Abzug:
> On Fri, Jun 30, 2006 at 12:52:57AM +0100, Jee Kay wrote:
> 
> > I've got a device that returns 35k+ lines of config... and expect
> > doesn't seem to be very happy about that. Specifically it seems to
> > give up after roughly 29k lines - I'm guessing a buffer of some
> > description has filled up.
> 
> Which device type?
> 
> rancid is actually a collection of scripts.  There are different
> scripts for different device types.
> 
> > Sorry for the newbie expect question, but is this a known 'problem'
> > and if so how do I go about making it go away? :)
> 
> Not a problem for me, for the device types I use.
> 
> Look inside the *login script for your device type and see if it
> includes exp_continue in the run_commands equivalent; or match_max; or
> handling for full_buffer.

feh.  look at the expect patches on the rancid site.



More information about the Rancid-discuss mailing list