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(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(4) = 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(5) = 0 close(6) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(5) = 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(6) = 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(8) = 0 close(7) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 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(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(3) = 0 close(4) = 0 close(5) = 0 close(5) = 0 close(4) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(7) = 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(7) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(7) = 0 close(6) = 0 close(7) = 0 close(6) = 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(3) = 0 close(4) = 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(6) = 0 close(6) = 0 close(6) = 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(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 close(5) = 0 close(6) = 0 close(7) = 0 close(6) = 0 close(5) = 0 close(6) = 0 close(5) = 0 close(4) = 0 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=13551, groups=00000000}, [12]) = 0 sendto(4, "\24\0\0\0\26\0\1\3|\327\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|\327\355N\3574\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|\327\355N\3574\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|\327\355N\3574\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 3077754880 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3077750784 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3070230528 [DEBUG/MainProcess] Queue._after_fork() Process 13552 attached Process 13553 attached Process 13554 attached Process 13555 attached Process 13556 attached [pid 13551] accept(3, [pid 13553] close(6 [pid 13554] close(6) = 0 [pid 13553] <... close resumed> ) = 0 [pid 13552] close(6) = 0 [pid 13555] close(6) = 0 [pid 13556] close(6) = 0 [DEBUG/Process-3] Queue._after_fork() [DEBUG/Process-4] Queue._after_fork() [DEBUG/Process-1] Queue._after_fork() [INFO/Process-4] child process calling self.run() [INFO/Process-3] child process calling self.run() [INFO/Process-2] child process calling self.run() [INFO/Process-1] child process calling self.run() [DEBUG/Process-5] Queue._after_fork() [INFO/Process-5] child process calling self.run() [pid 13551] <... accept resumed> {sa_family=AF_INET, sin_port=htons(47985), sin_addr=inet_addr("127.0.0.1")}, [16]) = 6 [pid 13551] dup(6) = 7 [DEBUG/MainProcess] starting listener and thread for sending handles [pid 13551] close(9) = 0 [pid 13551] close(10) = 0 [pid 13551] close(9) = 0 [pid 13551] close(10) = 0 [pid 13551] close(11) = 0 [pid 13551] close(10) = 0 [pid 13551] close(11) = 0 [pid 13551] close(10) = 0 [pid 13551] close(9) = 0 [pid 13551] close(10) = 0 [pid 13551] close(10) = 0 [pid 13551] close(10) = 0 [pid 13551] close(9) = 0 [pid 13551] close(8) = 0 [pid 13551] close(8) = 0 [pid 13551] close(8) = 0 [pid 13551] close(8) = 0 [INFO/MainProcess] created temp directory /tmp/pymp-d03yon [pid 13551] socket(PF_FILE, SOCK_STREAM, 0) = 8 [pid 13551] setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 [pid 13551] bind(8, {sa_family=AF_FILE, path="/tmp/pymp-d03yon/listener-z8vvfl"}, 34) = 0 [pid 13551] listen(8, 1) = 0 [pid 13551] getsockname(8, {sa_family=AF_FILE, path="/tmp/pymp-d03yon/listener-z8vvfl"}, [35]) = 0 Process 13557 attached [DEBUG/MainProcess] Queue._start_thread() [DEBUG/MainProcess] doing self._thread.start() Process 13558 attached [pid 13557] accept(8, [DEBUG/MainProcess] ... done self._thread.start() [pid 13551] accept(3, [DEBUG/MainProcess] starting thread to feed data to pipe [pid 13554] socket(PF_FILE, SOCK_STREAM, 0) = 7 [pid 13554] connect(7, {sa_family=AF_FILE, path="/tmp/pymp-d03yon/listener-z8vvfl"}, 34) = 0 [pid 13554] dup(7) = 8 [pid 13554] close(7) = 0 [pid 13557] <... accept resumed> {sa_family=AF_FILE, NULL}, [2]) = 9 [pid 13557] dup(9) = 11 [pid 13557] close(9) = 0 [pid 13554] close(9 [pid 13557] close(12) = 0 [pid 13557] close(9 [pid 13554] <... close resumed> ) = 0 [pid 13557] <... close resumed> ) = 0 [pid 13557] close(9) = 0 [pid 13554] close(7) = 0 [pid 13554] close(7) = 0 [pid 13557] 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) = -1 EBADF (Bad file descriptor) [pid 13554] recvmsg(8, [pid 13557] close(9) = 0 [SUBWARNING/MainProcess] thread for sharing handles raised exception : ------------------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/reduction.py", line 127, in _serve send_handle(conn, handle_wanted, destination_pid) File "/usr/lib/python3.2/multiprocessing/reduction.py", line 80, in send_handle _multiprocessing.sendfd(conn.fileno(), handle) OSError: [Errno 9] Bad file descriptor ------------------------------------------------------------------------------- [pid 13557] 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: Process 13552 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: Process 13553 detached Process 13554 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: Process 13555 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: Process 13556 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: Process 13557 detached Process 13558 detached Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python3.2/multiprocessing/process.py", line 116, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python3.2/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-5] process exiting with exitcode 1 Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python3.2/multiprocessing/process.py", line 116, 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/python3.2/multiprocessing/reduction.py", line 192, in rebuild_socket fd = rebuild_handle(reduced_handle) File "/usr/lib/python3.2/multiprocessing/reduction.py", line 157, in rebuild_handle new_handle = recv_handle(conn) File "/usr/lib/python3.2/multiprocessing/reduction.py", line 83, in recv_handle return _multiprocessing.recvfd(conn.fileno()) KeyboardInterrupt [INFO/Process-3] process exiting with exitcode 1 Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python3.2/multiprocessing/process.py", line 116, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python3.2/multiprocessing/queues.py", line 117, in get res = self._recv() KeyboardInterrupt [INFO/Process-2] process exiting with exitcode 1 Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python3.2/multiprocessing/process.py", line 116, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python3.2/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-4] process exiting with exitcode 1 Traceback (most recent call last): File "/usr/lib/python3.2/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python3.2/multiprocessing/process.py", line 116, in run self._target(*self._args, **self._kwargs) File "multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/usr/lib/python3.2/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-1] process exiting with exitcode 1