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(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=17485, groups=00000000}, [12]) = 0 sendto(4, "\24\0\0\0\26\0\1\3\316\346\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\316\346\355NMD\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\316\346\355NMD\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\316\346\355NMD\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 3078631424 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3078627328 close(6) = 0 [DEBUG/MainProcess] created semlock with handle 3078623232 [DEBUG/MainProcess] Queue._after_fork() Process 17486 attached Process 17487 attached Process 17488 attached Process 17489 attached Process 17490 attached [pid 17485] accept(3, [pid 17487] close(6 [pid 17488] close(6 [pid 17487] <... close resumed> ) = 0 [pid 17488] <... close resumed> ) = 0 [pid 17489] close(6) = 0 [pid 17486] close(6) = 0 [pid 17490] close(6) = 0 [DEBUG/Process-3] Queue._after_fork() [DEBUG/Process-2] Queue._after_fork() [DEBUG/Process-4] Queue._after_fork() [DEBUG/Process-1] Queue._after_fork() [DEBUG/Process-5] Queue._after_fork() [INFO/Process-3] child process calling self.run() [INFO/Process-4] child process calling self.run() [INFO/Process-2] child process calling self.run() [INFO/Process-1] child process calling self.run() [INFO/Process-5] child process calling self.run() [pid 17485] <... accept resumed> {sa_family=AF_INET, sin_port=htons(48280), sin_addr=inet_addr("127.0.0.1")}, [16]) = 6 [pid 17485] dup(6) = 7 [DEBUG/MainProcess] starting listener and thread for sending handles [pid 17485] close(9) = 0 [pid 17485] close(10) = 0 [pid 17485] close(9) = 0 [pid 17485] close(10) = 0 [pid 17485] close(9) = 0 [pid 17485] close(8) = 0 [pid 17485] close(8) = 0 [pid 17485] close(8) = 0 [pid 17485] close(8) = 0 [INFO/MainProcess] created temp directory /tmp/pymp-AWaHoE [pid 17485] socket(PF_FILE, SOCK_STREAM, 0) = 8 [pid 17485] setsockopt(8, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 [pid 17485] bind(8, {sa_family=AF_FILE, path="/tmp/pymp-AWaHoE/listener-OIakNu"}, 34) = 0 [pid 17485] listen(8, 1) = 0 [pid 17485] getsockname(8, {sa_family=AF_FILE, path="/tmp/pymp-AWaHoE/listener-OIakNu"}, [35]) = 0 Process 17492 attached [DEBUG/MainProcess] Queue._start_thread() [DEBUG/MainProcess] doing self._thread.start() Process 17493 attached [pid 17492] accept(8, [DEBUG/MainProcess] ... done self._thread.start() [pid 17485] accept(3, [DEBUG/MainProcess] starting thread to feed data to pipe [pid 17488] socket(PF_FILE, SOCK_STREAM, 0) = 7 [pid 17488] connect(7, {sa_family=AF_FILE, path="/tmp/pymp-AWaHoE/listener-OIakNu"}, 34) = 0 [pid 17488] dup(7) = 8 [pid 17488] close(7) = 0 [pid 17488] close(9) = 0 [pid 17488] close(7 [pid 17492] <... accept resumed> {sa_family=AF_FILE, NULL}, [2]) = 9 [pid 17492] dup(9) = 11 [pid 17492] close(9) = 0 [pid 17492] close(12 [pid 17488] <... close resumed> ) = 0 [pid 17492] <... close resumed> ) = 0 [pid 17492] close(9) = 0 [pid 17492] close(9) = 0 [pid 17488] close(7) = 0 [pid 17488] recvmsg(8, [pid 17492] sendmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"\t", 1}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {7}}, msg_flags=0}, 0) = 1 [pid 17488] <... recvmsg resumed> {msg_name(0)=NULL, msg_iov(1)=[{"\t", 1}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {7}}, msg_flags=0}, 0) = 1 [pid 17488] close(8) = 0 [pid 17488] dup(7) = 8 [pid 17488] close(7) = 0 [pid 17488] close(8) = 0 [pid 17492] close(7) = 0 [pid 17492] close(11) = 0 [pid 17492] 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 "/home/yasar/cpython/Lib/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/home/yasar/cpython/Lib/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/home/yasar/myscripts/multiprocesssockserv.py", line 11, in worker Process 17486 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 "/home/yasar/cpython/Lib/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/home/yasar/cpython/Lib/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/home/yasar/myscripts/multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/home/yasar/cpython/Lib/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-2] process exiting with exitcode 1 Process 17487 detached reduced_socket = queue.get() File "/home/yasar/cpython/Lib/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-1] process exiting with exitcode 1 Process 17488 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 "/home/yasar/cpython/Lib/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/home/yasar/cpython/Lib/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/home/yasar/myscripts/multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/home/yasar/cpython/Lib/multiprocessing/queues.py", line 117, in get res = self._recv() KeyboardInterrupt [INFO/Process-4] process exiting with exitcode 1 Process 17489 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 "/home/yasar/cpython/Lib/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/home/yasar/cpython/Lib/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/home/yasar/myscripts/multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/home/yasar/cpython/Lib/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-5] process exiting with exitcode 1 Process 17490 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 "/home/yasar/cpython/Lib/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/home/yasar/cpython/Lib/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/home/yasar/myscripts/multiprocesssockserv.py", line 11, in worker reduced_socket = queue.get() File "/home/yasar/cpython/Lib/multiprocessing/queues.py", line 115, in get self._rlock.acquire() KeyboardInterrupt [INFO/Process-3] process exiting with exitcode 1 Next line is supposed to give error in 2.7.2 Process 17492 detached Process 17493 detached