[Buildbot-devel] MemoryError on build

Steve 'Ashcrow' Milner smilner at redhat.com
Sun Feb 21 19:19:08 UTC 2010


On 20/02/10 15:04 -0600, Dustin J. Mitchell wrote:
>That particular buildslave is also seeing things like:
>
>2010-02-20 05:20:07-0500 [-] Unhandled Error
>	Traceback (most recent call last):
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/base.py",
>line 397, in fireEvent
>	    DeferredList(beforeResults).addCallback(self._continueFiring)
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/defer.py",
>line 190, in addCallback
>	    callbackKeywords=kw)
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/defer.py",
>line 181, in addCallbacks
>	    self._runCallbacks()
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/defer.py",
>line 323, in _runCallbacks
>	    self.result = callback(self.result, *args, **kw)
>	--- <exception caught here> --
>-
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/base.py",
>line 410, in _continueFiring
>	    callable(*args, **kwargs)
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/enterprise/adbapi.py",
>line 221, in _start
>	    return self.start()
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/enterprise/adbapi.py",
>line 232, in start
>	    self.threadpool.start()
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/python/threadpool.py",
>line 76, in start
>	    self.adjustPoolsize()
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/python/threadpool.py",
>line 272, in adjustPoolsize
>	    self.startAWorker()
>	  File "/home/buildbot_slave_py24/slave-centos_5_python2_4/sandbox/lib/python2.4/site-packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/python/threadpool.py",
>line 83, in startAWorker
>	    newThread.start()
>	  File "/usr/lib/python2.4/threading.py", line 416, in start
>	    _start_new_thread(self.__bootstrap, ())
>	thread.error: can't start new thread
>
>Sure enough, we have a (very bad) thread leak!  Buildot's test
>isolation leaves a lot to be desired.  It looks like every test that
>touches the DB leaks at least three threads, if not more.
>
>I'll see what I can do.
>
>Dustin
>
>-- 
>Open Source Storage Engineer
>http://www.zmanda.com

Thanks! Looks like builds started working properly again when I
checked last night!

-- 
kthxbye!
Steve 'Ashcrow' Milner
Agent of Infosec
RHCE: https://www.redhat.com/training/certification/verify/?certno=805009277242449
ITIL Foundation: c.721843
IRC: ashcrow
GnuPG ID: 28DFD4BE

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT/MU/O d-- s:+> a- C+++$ UBL+++$ P++@ L+++$>++++ !E--> W+++$ !N-
!o K--? !w-- !O- M- !V- PS PE+ Y+ PGP+++ t+ !5 !X R tv+ b+>++ DI+ !D-
G e h !r>+++ y?
------END GEEK CODE BLOCK------

"In the heat of conversation I may have said certain things I believe 
to be untrue. The alleged lie that you might have heard me saying 
allegedly moments ago ... that's a parasite that lives in my neck." 
     -- Tad Ghostal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20100221/bf3d9ce0/attachment.bin>


More information about the devel mailing list