Hi, I try to run cpushare in Gentoo (using the provided ebuild) but it never completes the initial benchmark but logs lots of errors: [========================] 008-07-25 20:10:41+0000 [-] Log opened. 2008-07-25 20:10:41+0000 [-] twistd 8.1.0 (/usr/bin/python 2.5.2) starting up 2008-07-25 20:10:41+0000 [-] reactor class: <class 'twisted.internet.pollreactor.PollReactor'> 2008-07-25 20:10:41+0000 [-] set uid/gid 104/646 2008-07-25 20:10:41+0000 [-] Starting factory <cpushare.proto.cpushare_factory instance at 0x7f5f68558c68> 2008-07-25 20:10:41+0000 [Uninitialized] max_ram_mbytes_per_cpu = 704 2008-07-25 20:10:42+0000 [cpushare_protocol,client] Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/twisted/python/log.py", line 51, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib64/python2.5/site-packages/twisted/internet/pollreactor.py", line 186, in _doReadOrWrite why = selectable.doRead() File "/usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 121, in doRead return Connection.doRead(self) File "/usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead return self.protocol.dataReceived(data) File "/usr/lib64/python2.5/site-packages/cpushare/twisted_bugs.py", line 31, in dataReceived self.stringReceived(packet) File "/usr/lib64/python2.5/site-packages/cpushare/proto.py", line 315, in stringReceived self.state_machine.handler(string) File "/usr/lib64/python2.5/site-packages/cpushare/proto.py", line 205, in sell_handler if not seccomp.find_text_data(): File "/usr/lib64/python2.5/site-packages/cpushare/seccomp.py", line 193, in find_text_data raise Exception('unknown error') exceptions.Exception: unknown error 2008-07-25 20:10:42+0000 [cpushare_protocol,client] Lost connection. Reason: [Failure instance: Traceback (failure with no frames): <type 'exceptions.Exception'>: unknown error 2008-07-25 20:10:42+0000 [cpushare_protocol,client] ] 2008-07-25 20:10:42+0000 [cpushare_protocol,client] <twisted.internet.ssl.Connector instance at 0x7f5f6857a3f8> will retry in 2 seconds 2008-07-25 20:10:42+0000 [cpushare_protocol,client] Stopping factory <cpushare.proto.cpushare_factory instance at 0x7f5f68558c68> 2008-07-25 20:10:44+0000 [-] Starting factory <cpushare.proto.cpushare_factory instance at 0x7f5f68558c68> 2008-07-25 20:10:44+0000 [Uninitialized] max_ram_mbytes_per_cpu = 704 2008-07-25 20:10:44+0000 [cpushare_protocol,client] Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/twisted/python/log.py", line 51, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib64/python2.5/site-packages/twisted/internet/pollreactor.py", line 186, in _doReadOrWrite why = selectable.doRead() File "/usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 121, in doRead return Connection.doRead(self) File "/usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead return self.protocol.dataReceived(data) File "/usr/lib64/python2.5/site-packages/cpushare/twisted_bugs.py", line 31, in dataReceived self.stringReceived(packet) File "/usr/lib64/python2.5/site-packages/cpushare/proto.py", line 315, in stringReceived self.state_machine.handler(string) File "/usr/lib64/python2.5/site-packages/cpushare/proto.py", line 205, in sell_handler if not seccomp.find_text_data(): File "/usr/lib64/python2.5/site-packages/cpushare/seccomp.py", line 193, in find_text_data raise Exception('unknown error') exceptions.Exception: unknown error 2008-07-25 20:10:44+0000 [cpushare_protocol,client] Lost connection. Reason: [Failure instance: Traceback (failure with no frames): <type 'exceptions.Exception'>: unknown error 2008-07-25 20:10:44+0000 [cpushare_protocol,client] ] 2008-07-25 20:10:44+0000 [cpushare_protocol,client] <twisted.internet.ssl.Connector instance at 0x7f5f6857a3f8> will retry in 2 seconds 2008-07-25 20:10:44+0000 [cpushare_protocol,client] Stopping factory <cpushare.proto.cpushare_factory instance at 0x7f5f68558c68> 2008-07-25 20:10:47+0000 [-] Starting factory <cpushare.proto.cpushare_factory instance at 0x7f5f68558c68> 2008-07-25 20:10:47+0000 [Uninitialized] max_ram_mbytes_per_cpu = 704 2008-07-25 20:10:47+0000 [cpushare_protocol,client] Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/twisted/python/log.py", line 51, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib64/python2.5/site-packages/twisted/internet/pollreactor.py", line 186, in _doReadOrWrite why = selectable.doRead() File "/usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 121, in doRead return Connection.doRead(self) File "/usr/lib64/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead return self.protocol.dataReceived(data) File "/usr/lib64/python2.5/site-packages/cpushare/twisted_bugs.py", line 31, in dataReceived self.stringReceived(packet) File "/usr/lib64/python2.5/site-packages/cpushare/proto.py", line 315, in stringReceived self.state_machine.handler(string) File "/usr/lib64/python2.5/site-packages/cpushare/proto.py", line 205, in sell_handler if not seccomp.find_text_data(): File "/usr/lib64/python2.5/site-packages/cpushare/seccomp.py", line 193, in find_text_data raise Exception('unknown error') exceptions.Exception: unknown error 2008-07-25 20:10:47+0000 [cpushare_protocol,client] Lost connection. Reason: [Failure instance: Traceback (failure with no frames): <type 'exceptions.Exception'>: unknown error 2008-07-25 20:10:47+0000 [cpushare_protocol,client] ] 2008-07-25 20:10:47+0000 [cpushare_protocol,client] <twisted.internet.ssl.Connector instance at 0x7f5f6857a3f8> will retry in 2 seconds 2008-07-25 20:10:47+0000 [cpushare_protocol,client] Stopping factory <cpushare.proto.cpushare_factory instance at 0x7f5f68558c68> 2008-07-25 20:10:48+0000 [-] Received SIGTERM, shutting down. 2008-07-25 20:10:48+0000 [-] Main loop terminated. 2008-07-25 20:10:48+0000 [-] Warning: No permission to delete pid file 2008-07-25 20:10:48+0000 [-] Server Shut Down. [========================] It continues like that till i stop cpushare. I tried using twisted 2.50, but no success. If you have an idea what the problem is resp. how to solve the problem I'm happy to hear from you. Dirk. -- cpushare-discuss_X_at_X_cpushare.com mailing list - http://www.cpushare.com/ To unsubscribe, send mail to cpushare-discuss-unsubscribe_X_at_X_cpushare.com
Click here to return to to homepage.
Disclaimer: the messages posted here are under the sole responsibility of the poster: cpushare.com is publishing mailing list messages in real time while storing safely all the logs containing the relevant IP addresses, timings and mail hops. If you find anything not appropriate in these messages please send a notification through this form. Thank You.
CPUShare Discuss has been converted to html using hypermail 2.2.0.