close(3) = 0 close(3) = 0 close(3) = 0 close(3) = 0 close(3) = 0 close(3) = 0 close(3) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(6) = 0 close(7) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(9) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(4) = 0 close(3) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(3) = 0 close(4) = 0 close(3) = 0 close(3) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(7) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(8) = 0 close(9) = 0 close(10) = 0 close(9) = 0 close(8) = 0 close(9) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(3) = 0 close(4) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(5) = 0 close(5) = 0 close(5) = 0 close(5) = 0 close(4) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(4) = 0 close(4) = 0 close(3) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(3) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=13494, groups=00000000}, [12]) = 0 sendto(4, "\24\0\0\0\26\0\1\3\317\326\355N\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\317\326\355N\2664\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\317\326\355N\2664\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\317\326\355N\2664\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(4) = 0 bind(3, {sa_family=AF_INET, sin_port=htons(9090), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 listen(3, 5) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(4) = 0 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3079151616 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3072700416 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3072430080 [DEBUG/MainProcess] Queue._after_fork() Process 13495 attached Process 13496 attached Process 13497 attached Process 13498 attached Process 13499 attached [pid 13494] accept(3, [pid 13497] close(6) = 0 [pid 13496] close(6) = 0 [pid 13498] close(6) = 0 [pid 13495] close(6) = 0 [pid 13499] close(6) = 0 [DEBUG/Process-4] Queue._after_fork() [DEBUG/Process-3] Queue._after_fork() [DEBUG/Process-2] Queue._after_fork() [INFO/Process-4] child process calling self.run() [DEBUG/Process-1] Queue._after_fork() [DEBUG/Process-5] Queue._after_fork() [INFO/Process-5] child process calling self.run() [INFO/Process-1] child process calling self.run() [pid 13494] <... accept resumed> {sa_family=AF_INET, sin_port=htons(47982), sin_addr=inet_addr("127.0.0.1")}, [16]) = 6 [pid 13494] dup(6) = 7 [DEBUG/MainProcess] starting listener and thread for sending handles [pid 13494] close(9) = 0 [pid 13494] close(10) = 0 [pid 13494] close(9) = 0 [pid 13494] close(10) = 0 [pid 13494] close(9) = 0 [pid 13494] close(8) = 0 [pid 13494] close(8) = 0 [pid 13494] close(8) = 0 [pid 13494] close(8) = 0 [INFO/MainProcess] created temp directory /tmp/pymp-JRguwQ [pid 13494] socket(PF_FILE, SOCK_STREAM, 0) = 8 [pid 13494] setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 [pid 13494] bind(8, {sa_family=AF_FILE, path="/tmp/pymp-JRguwQ/listener-VbqAcZ"}, 34) = 0 [pid 13494] listen(8, 1) = 0 [pid 13494] getsockname(8, {sa_family=AF_FILE, path="/tmp/pymp-JRguwQ/listener-VbqAcZ"}, [35]) = 0 Process 13500 attached [DEBUG/MainProcess] Queue._start_thread() [DEBUG/MainProcess] doing self._thread.start() Process 13501 attached [pid 13500] accept(8, [DEBUG/MainProcess] ... done self._thread.start() [pid 13494] accept(3, [DEBUG/MainProcess] starting thread to feed data to pipe [pid 13498] socket(PF_FILE, SOCK_STREAM, 0) = 7 [pid 13498] connect(7, {sa_family=AF_FILE, path="/tmp/pymp-JRguwQ/listener-VbqAcZ"}, 34) = 0 [pid 13498] dup(7) = 8 [pid 13498] close(7) = 0 [pid 13498] close(9 [pid 13500] <... accept resumed> {sa_family=AF_FILE, NULL}, [2]) = 9 [pid 13498] <... close resumed> ) = 0 [pid 13500] dup(9) = 11 [pid 13500] close(9) = 0 [pid 13500] close(12) = 0 [pid 13498] close(7 [pid 13500] close(9 [pid 13498] <... close resumed> ) = 0 [pid 13500] <... close resumed> ) = 0 [pid 13500] close(9) = 0 [pid 13498] close(7) = 0 [pid 13500] sendmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {263}}, msg_flags=0}, 0 [pid 13498] recvmsg(8, [pid 13500] <... sendmsg resumed> ) = -1 EBADF (Bad file descriptor) [pid 13500] close(9) = 0 [SUBWARNING/MainProcess] thread for sharing handles raised exception : ------------------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/reduction.py", line 127, in _serve send_handle(conn, handle_wanted, destination_pid) File "/usr/lib/python2.7/multiprocessing/reduction.py", line 80, in send_handle _multiprocessing.sendfd(conn.fileno(), handle) OSError: [Errno 9] Bad file descriptor ------------------------------------------------------------------------------- [pid 13500] accept(8, [INFO/Process-1] process shutting down [DEBUG/Process-1] running all "atexit" finalizers with priority >= 0 [DEBUG/Process-1] running the remaining "atexit" finalizers Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python2.7/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-1] process exiting with exitcode 1 Process 13495 detached [INFO/Process-2] process shutting down [DEBUG/Process-2] running all "atexit" finalizers with priority >= 0 [DEBUG/Process-2] running the remaining "atexit" finalizers Process Process-2: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get res = self._recv() KeyboardInterrupt Process 13496 detached [INFO/Process-3] process shutting down [DEBUG/Process-3] running all "atexit" finalizers with priority >= 0 [DEBUG/Process-3] running the remaining "atexit" finalizers Process Process-3: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python2.7/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-3] process exiting with exitcode 1 Process 13497 detached [INFO/Process-2] process exiting with exitcode 1 Process 13498 detached [INFO/Process-5] process shutting down [DEBUG/Process-5] running all "atexit" finalizers with priority >= 0 [DEBUG/Process-5] running the remaining "atexit" finalizers Process Process-5: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python2.7/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-5] process exiting with exitcode 1 Process 13499 detached [INFO/Process-4] process shutting down [DEBUG/Process-4] running all "atexit" finalizers with priority >= 0 [DEBUG/Process-4] running the remaining "atexit" finalizers Process Process-4: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 13, in worker print(reduced_socket[0](*reduced_socket[1])) File "/usr/lib/python2.7/multiprocessing/reduction.py", line 192, in rebuild_socket fd = rebuild_handle(reduced_handle) File "/usr/lib/python2.7/multiprocessing/reduction.py", line 157, in rebuild_handle new_handle = recv_handle(conn) Process 13500 detached Process 13501 detached uction.py", line 83, in recv_handle return _multiprocessing.recvfd(conn.fileno()) KeyboardInterrupt [INFO/Process-4] process exiting with exitcode 1