← Back to team overview

launchpad-dev team mailing list archive

Re: Librarian won't start, sad panda

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/18/2011 6:05 PM, Julian Edwards wrote:
> On Tuesday 18 January 2011 23:49:18 Graham Binns wrote:
>>   File
>> "/home/graham/launchpad/lp-branches/revert-revert-revert/lib/canonical/lau
>> nchpad/daemons/tachandler.py", line 143, in setUp
>>     "Could not kill stale process %s." % (self.pidfile,))
>> TacException: Could not kill stale process
>> /var/tmp/fatsam.test/librarian.pid.
>>
>> This happens in multiple branches. I've killed the librarian and
>> removed the pidfile, but the problem recurs with each test run.
>>
>> I know we've seen this before... anyone remember how we made it go away?
> 
> ps -fe|grep twisted
>   => kill the running librarian
> rm -rf /var/tmp/fatsam.test
> 
> Profit.
> 

Note that recently I've seen twistd failing to stop. Such that
SIGTERM/SIGINT just give a backtrace about "you can't stop a reactor
that isn't active". So you have to SIGKILL it.

We were wondering if it was the upgrade to twisted 10.2, but it only
seemed to happen when we got other exceptions in twisted.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk03G+gACgkQJdeBCYSNAAPO9gCgr4gioMyfXAIRXKWwrqGqN/YP
xXoAoKTVdOFt2X446Gph175IB1TU0TFg
=IG14
-----END PGP SIGNATURE-----



Follow ups

References