yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07456
[Question #227529]: batch summary call causes crash
New question #227529 on Yade:
https://answers.launchpad.net/yade/+question/227529
Hi.
I'm running two yade-batch processes with several jobs.
Batch summary of the first one can be called by locahost:9080. Summary for the second one via localhost:9081.
The first batch process is allowed to use 28 cores with 7 threads per job. the second batch process is allowed to use 4 cores with 2 threads per job.
If I call locahost:9080 I get the expected summary of the first batch process. But calling localhost:9081 wont show any summary.
Instead the following error is raised in the terminal from which I started the process:
Exception happened during processing of request from ('127.0.0.1', 57126)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/usr/bin/yade-daily-batch", line 177, in do_GET
if not self.path or self.path=='/': self.sendGlobal()
File "/usr/bin/yade-daily-batch", line 228, in sendGlobal
for j in jobs: html+=j.htmlStats()+'\n'
File "/usr/bin/yade-daily-batch", line 103, in htmlStats
info=self.getInfoDict()
File "/usr/bin/yade-daily-batch", line 81, in getInfoDict
return self.xmlrpcConn.basicInfo()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1289, in single_request
self.send_request(h, handler, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1391, in send_request
connection.putrequest("POST", handler, skip_accept_encoding=True)
File "/usr/lib/python2.7/httplib.py", line 856, in putrequest
raise CannotSendRequest()
CannotSendRequest
After this error was raised the simulation seems to have crashed because I cant use TCP python prompt anymore but in the batch process seems to be running still.
Does anyone know if this can be related to running two batch processes at once? Or does anyone got this error message before?
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.