[IPython-user] TaskClient problems
M Trumpis
mtrumpis@berkeley....
Thu Apr 2 14:52:48 CDT 2009
Hello.. I'm having some trouble queuing up tasks in a TaskClient
object. I don't have a good handle on what's going on, but I've tried
to include all the relevant log/debug info. I'm working with an
ipcluster with two engines, on Mac OS 10.4. Python etc are built up
from macports, and IPython from trunk (the IPython build details are
listed below). When I set up a queue of tasks, most of the time the
engines encounter an error and shut down.
When I start up ipcluster, the first warning sign is this line:
2009-04-02 12:18:54-0700 [-] spawnProcess called, but the SIGCHLD
handler is not installed. This probably means you have not yet called
reactor.run, or called reactor.run(installSignalHandler=0). You will
probably never see this process finish, and it may become a zombie
process.
The errors after that point seem to depend on the task queuing.. The
ipengine log with a twisted exception is included below
Thanks.. sorry my description is lousy, but I hope the logs help!
Mike
-------------------------- IPCLUSTER STDOUT
---------------------------------------
puma:~/workywork/recon/ghosting miket$ ipcluster local
2009-04-02 12:18:54-0700 [-] Log opened.
2009-04-02 12:18:54-0700 [-] spawnProcess called, but the SIGCHLD
handler is not installed. This probably means you have not yet called
reactor.run, or called reactor.run(installSignalHandler=0). You will
probably never see this process finish, and it may become a zombie
process.
2009-04-02 12:18:54-0700 [-] Process ['ipcontroller',
'--logfile=/Users/miket/.ipython/log/ipcontroller'] has started with
pid=1799
2009-04-02 12:18:55-0700 [-] Process ['ipengine',
'--logfile=/Users/miket/.ipython/log/ipengine1799-'] has started with
pid=1803
2009-04-02 12:18:55-0700 [-] Process ['ipengine',
'--logfile=/Users/miket/.ipython/log/ipengine1799-'] has started with
pid=1804
2009-04-02 12:18:55-0700 [-] Engines started with pids: [1803, 1804]
2009-04-02 12:22:36-0700 [-] 'Fatal Python error:
PyEval_RestoreThread: NULL tstate\n'
2009-04-02 12:22:36-0700 [-] Process ['ipengine',
'--logfile=/Users/miket/.ipython/log/ipengine1799-'] has stopped with
{'status': 6, 'signal': 6, 'exit_code': None}
2009-04-02 12:22:36-0700 [-] 'Fatal Python error:
PyEval_RestoreThread: NULL tstate\n'
2009-04-02 12:22:36-0700 [-] Process ['ipengine',
'--logfile=/Users/miket/.ipython/log/ipengine1799-'] has stopped with
{'status': 6, 'signal': 6, 'exit_code': None}
--------------------------- IPENGINE LOG ------------------------------
2009-04-02 12:18:57-0700 [-] Log opened.
2009-04-02 12:18:57-0700 [-] Using furl file:
/Users/miket/.ipython/security/ipcontroller-engine.furl
2009-04-02 12:18:57-0700 [Negotiation,client] engine registration
succeeded, got id: 0
2009-04-02 12:19:46-0700 [-]
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/t
wisted/internet/posixbase.py:222: exceptions.DeprecationWarning:
Reactor already running! This behavior is deprecated
since Twisted 8.0
------------------------------ BUILD INFO ----------------------------------
BUILDING IPYTHON
python: 2.5.4 (r254:67916, Feb 20 2009, 16:11:07) [GCC
4.0.1 (Apple Computer, Inc. build 5370)]
platform: darwin
OPTIONAL DEPENDENCIES
Zope.Interface: yes
Twisted: 8.0.1
Foolscap: 0.3.2
OpenSSL: 0.7
sphinx: 0.5
pygments: 1.0
nose: 0.10.4
pexpect: 2.3
More information about the IPython-user
mailing list