Well, I went ahead and rebuilt Tcl and Expect, to their latest available versions, and things appear to be working now. I'm not sure whether it ws Tcl or Expect causing the problems, but the versions I'm running now seem stable (two full rancid-run completions so far).<br>
<br>expect-nox11-5.44.1.7<br>tcl-8.5.4<br clear="all"><br>-- Eric Cables<br>
<br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 6:56 PM, Peter Serwe <span dir="ltr"><<a href="mailto:peter.serwe@gmail.com">peter.serwe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm using tcl and tk 8.4.19 and the patched version of expect 5.40.1<br>
from <a href="http://shrubbery.net" target="_blank">shrubbery.net</a><br>
on two different installations. I would recommend rebuilding tcl, tk,<br>
expect, and then rancid<br>
and I'm relatively certain the behavior will disappear.<br>
<br>
This is, by the way, on a pair of CentOS 5.2 systems. One of them was<br>
4.7 until a recent<br>
drive failure without good backups caused me to rebuild it into a 5.2<br>
box on a new drive and<br>
rebuild all of the software on it.<br>
<br>
Peter<br>
<div><div></div><div class="Wj3C7c"><br>
On Wed, Dec 3, 2008 at 6:25 PM, Eric Cables <<a href="mailto:ecables@gmail.com">ecables@gmail.com</a>> wrote:<br>
> Would upgrading to tcl8.5 be a potential solution? Reading through the old<br>
> expect threads it indicated that the problem may be with Tcl itself. Right<br>
> now the system is running tcl-8.4.19.<br>
><br>
> -- Eric Cables<br>
><br>
><br>
> On Wed, Dec 3, 2008 at 6:10 PM, Eric Cables <<a href="mailto:ecables@gmail.com">ecables@gmail.com</a>> wrote:<br>
>><br>
>> This problem has made a resurgence this week, crashing out every night and<br>
>> sending the CPU on the box that RANCID runs on sky high. I end up killing<br>
>> the hung expect processes manually, but instead of staying constant it<br>
>> appears to be getting worse (dang growing environments).<br>
>><br>
>> Any suggestions are welcome...<br>
>><br>
>> -- Eric Cables<br>
>><br>
>><br>
>> On Mon, Nov 24, 2008 at 10:11 AM, Russell Jackson <<a href="mailto:raj@csub.edu">raj@csub.edu</a>> wrote:<br>
>>><br>
>>> Eric Cables wrote:<br>
>>> > I've been running into this problem quite frequently, about once a week<br>
>>> > or<br>
>>> > so rancid will hang for no apparent reason, and until I kill the<br>
>>> > process it<br>
>>> > will remain hung. I've read in the archives that Linux & Solaris have<br>
>>> > a<br>
>>> > problem with expect that requires a patch, but does this also include<br>
>>> > FreeBSD?<br>
>>> ><br>
>>><br>
>>> I've been running rancid on FreeBSD 6.2 without issue for some time. I<br>
>>> haven't had any<br>
>>> hangs with respect to expect. I haven't tried it on FreeBSD 7.0 yet.<br>
>>><br>
>>><br>
>>> $ uname -a<br>
>>> FreeBSD <a href="http://svn.csub.edu" target="_blank">svn.csub.edu</a> 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jul 13<br>
>>> 19:38:42 PDT 2000<br>
>>> rjackson3@thor.csub.edu:/usr/obj/usr/src/sys/THOR i386<br>
>>><br>
>>><br>
>>> $ pkg_info | egrep 'tcl|rancid'<br>
>>> expect-nox11-5.44.1.7 A sophisticated scripter based on tcl/tk<br>
>>> rancid-local-2.3.2a7_1 Really Awesome New Cisco confIg Differ<br>
>>> tcl-8.4.19,1 Tool Command Language<br>
>>><br>
>>><br>
>>> I'm running a locally patched version of the rancid port to silence cisco<br>
>>> diff noise (STP<br>
>>> costs et al).<br>
>>><br>
>>> $ diff -ur net-mgmt/rancid-devel local/rancid<br>
>>> Only in local/rancid: .svn<br>
>>> diff -ur net-mgmt/rancid-devel/Makefile local/rancid/Makefile<br>
>>> --- net-mgmt/rancid-devel/Makefile Mon Dec 31 06:28:08 2007<br>
>>> +++ local/rancid/Makefile Mon Feb 25 15:56:16 2008<br>
>>> @@ -10,7 +10,6 @@<br>
>>> PORTREVISION= 1<br>
>>> CATEGORIES= net-mgmt<br>
>>> MASTER_SITES= <a href="ftp://ftp.shrubbery.net/pub/rancid/" target="_blank">ftp://ftp.shrubbery.net/pub/rancid/</a><br>
>>> -PKGNAMESUFFIX= -devel<br>
>>><br>
>>> MAINTAINER= <a href="mailto:janos.mohacsi@bsd.hu">janos.mohacsi@bsd.hu</a><br>
>>> COMMENT= Really Awesome New Cisco confIg Differ<br>
>>> Only in local/rancid/files: .svn<br>
>>> Only in local/rancid/files: patch-bin::<a href="http://cat5rancid.in" target="_blank">cat5rancid.in</a><br>
>>> Only in local/rancid/files: patch-bin::<a href="http://clogin.in" target="_blank">clogin.in</a><br>
>>> Only in local/rancid/files: patch-bin::<a href="http://rancid.in" target="_blank">rancid.in</a><br>
>>> Only in local/rancid: pkg-message<br>
>>><br>
>>><br>
>>> --<br>
>>> Russell A. Jackson <<a href="mailto:raj@csub.edu">raj@csub.edu</a>><br>
>>> Network Analyst<br>
>>> California State University, Bakersfield<br>
>>><br>
>>> The greatest productive force is human selfishness.<br>
>>> -- Robert Heinlein<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Rancid-discuss mailing list<br>
>>> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
>>> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
$B%T!<%?!<(B<br>
</font></blockquote></div><br>