Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when i used 18 cpus of two computers, i encountered ZMQError #1159

Open
AlexDai001 opened this issue Nov 19, 2024 · 0 comments
Open

when i used 18 cpus of two computers, i encountered ZMQError #1159

AlexDai001 opened this issue Nov 19, 2024 · 0 comments

Comments

@AlexDai001
Copy link

when i used 18 cpus of two computers, i encountered ZMQError. But not when i used 10 cpus of one computer.
[11-19 14:30:41 Thread-9 @remote_wrapper.py:137] ERR [Client] Fail to send python files to the remote instance.
Exception in thread Thread-9:
Traceback (most recent call last):
File "/home/dyc/anaconda3/envs/gridsim/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/home/dyc/anaconda3/envs/gridsim/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 163, in run_sampling
actor = Actor(self.args)
File "/home/dyc/anaconda3/envs/gridsim/lib/python3.7/site-packages/parl/remote/proxy_wrapper.py", line 65, in init
self._xparl_remote_wrapper_obj = remote_wrapper(*args, **kwargs)
File "/home/dyc/anaconda3/envs/gridsim/lib/python3.7/site-packages/parl/remote/remote_wrapper.py", line 92, in init
cloudpickle.dumps([args, kwargs]),
File "/home/dyc/anaconda3/envs/gridsim/lib/python3.7/site-packages/zmq/sugar/socket.py", line 445, in send_multipart
self.send(msg, SNDMORE|flags, copy=copy, track=track)
File "/home/dyc/anaconda3/envs/gridsim/lib/python3.7/site-packages/zmq/sugar/socket.py", line 400, in send
return super(Socket, self).send(data, flags=flags, copy=copy, track=track)
File "zmq/backend/cython/socket.pyx", line 728, in zmq.backend.cython.socket.Socket.send
File "zmq/backend/cython/socket.pyx", line 775, in zmq.backend.cython.socket.Socket.send
File "zmq/backend/cython/socket.pyx", line 247, in zmq.backend.cython.socket._send_copy
File "zmq/backend/cython/socket.pyx", line 242, in zmq.backend.cython.socket._send_copy
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Operation cannot be accomplished in current state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant