Skip to content

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

Description

@AlexDai001

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions