Last active
August 7, 2022 13:23
-
-
Save whatalnk/94c81a6a755aaa714f219b42a7cc28aa to your computer and use it in GitHub Desktop.
Python multiprocessing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 0 LOAD_CONST 0 (0) | |
2 LOAD_CONST 1 (None) | |
4 IMPORT_NAME 0 (time) | |
6 STORE_NAME 0 (time) | |
2 8 LOAD_CONST 0 (0) | |
10 LOAD_CONST 2 (('Pool',)) | |
12 IMPORT_NAME 1 (multiprocessing) | |
14 IMPORT_FROM 2 (Pool) | |
16 STORE_NAME 2 (Pool) | |
18 POP_TOP | |
5 20 LOAD_CONST 3 (<code object f at 0x7f1b68da5450, file "main.py", line 5>) | |
22 LOAD_CONST 4 ('f') | |
24 MAKE_FUNCTION 0 | |
26 STORE_NAME 3 (f) | |
9 28 LOAD_NAME 4 (__name__) | |
30 LOAD_CONST 5 ('__main__') | |
32 COMPARE_OP 2 (==) | |
34 POP_JUMP_IF_FALSE 96 | |
10 36 LOAD_NAME 2 (Pool) | |
38 LOAD_CONST 6 (3) | |
40 LOAD_CONST 7 (1) | |
42 LOAD_CONST 8 (('processes', 'maxtasksperchild')) | |
44 CALL_FUNCTION_KW 2 | |
46 SETUP_WITH 42 (to 90) | |
48 STORE_NAME 5 (pool) | |
11 50 LOAD_NAME 5 (pool) | |
52 LOAD_METHOD 6 (starmap) | |
12 54 LOAD_NAME 3 (f) | |
13 56 LOAD_CONST 9 (<code object <listcomp> at 0x7f1b68da5500, file "main.py", line 13>) | |
58 LOAD_CONST 10 ('<listcomp>') | |
60 MAKE_FUNCTION 0 | |
62 LOAD_NAME 7 (range) | |
64 LOAD_CONST 11 (10) | |
66 CALL_FUNCTION 1 | |
68 GET_ITER | |
70 CALL_FUNCTION 1 | |
11 72 CALL_METHOD 2 | |
74 POP_TOP | |
15 76 LOAD_NAME 0 (time) | |
78 LOAD_METHOD 8 (sleep) | |
80 LOAD_CONST 7 (1) | |
82 CALL_METHOD 1 | |
84 POP_TOP | |
86 POP_BLOCK | |
88 BEGIN_FINALLY | |
>> 90 WITH_CLEANUP_START | |
92 WITH_CLEANUP_FINISH | |
94 END_FINALLY | |
>> 96 LOAD_CONST 1 (None) | |
98 RETURN_VALUE | |
Disassembly of <code object f at 0x7f1b68da5450, file "main.py", line 5>: | |
6 0 LOAD_GLOBAL 0 (print) | |
2 LOAD_FAST 0 (i) | |
4 LOAD_CONST 1 (1) | |
6 BINARY_ADD | |
8 CALL_FUNCTION 1 | |
10 POP_TOP | |
12 LOAD_CONST 0 (None) | |
14 RETURN_VALUE | |
Disassembly of <code object <listcomp> at 0x7f1b68da5500, file "main.py", line 13>: | |
13 0 BUILD_LIST 0 | |
2 LOAD_FAST 0 (.0) | |
>> 4 FOR_ITER 10 (to 16) | |
6 STORE_FAST 1 (i) | |
8 LOAD_FAST 1 (i) | |
10 BUILD_TUPLE 1 | |
12 LIST_APPEND 2 | |
14 JUMP_ABSOLUTE 4 | |
>> 16 RETURN_VALUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 0 LOAD_CONST 0 (0) | |
2 LOAD_CONST 1 (None) | |
4 IMPORT_NAME 0 (time) | |
6 STORE_NAME 0 (time) | |
2 8 LOAD_CONST 0 (0) | |
10 LOAD_CONST 2 (('Pool',)) | |
12 IMPORT_NAME 1 (multiprocessing) | |
14 IMPORT_FROM 2 (Pool) | |
16 STORE_NAME 2 (Pool) | |
18 POP_TOP | |
5 20 LOAD_CONST 3 (<code object f at 0x7fc218449450, file "main.py", line 5>) | |
22 LOAD_CONST 4 ('f') | |
24 MAKE_FUNCTION 0 | |
26 STORE_NAME 3 (f) | |
9 28 LOAD_NAME 4 (__name__) | |
30 LOAD_CONST 5 ('__main__') | |
32 COMPARE_OP 2 (==) | |
34 POP_JUMP_IF_FALSE 86 | |
10 36 LOAD_NAME 2 (Pool) | |
38 LOAD_CONST 6 (3) | |
40 LOAD_CONST 7 (1) | |
42 LOAD_CONST 8 (('processes', 'maxtasksperchild')) | |
44 CALL_FUNCTION_KW 2 | |
46 SETUP_WITH 32 (to 80) | |
48 STORE_NAME 5 (pool) | |
11 50 LOAD_NAME 5 (pool) | |
52 LOAD_METHOD 6 (starmap) | |
12 54 LOAD_NAME 3 (f) | |
13 56 LOAD_CONST 9 (<code object <listcomp> at 0x7fc218449500, file "main.py", line 13>) | |
58 LOAD_CONST 10 ('<listcomp>') | |
60 MAKE_FUNCTION 0 | |
62 LOAD_NAME 7 (range) | |
64 LOAD_CONST 11 (10) | |
66 CALL_FUNCTION 1 | |
68 GET_ITER | |
70 CALL_FUNCTION 1 | |
11 72 CALL_METHOD 2 | |
74 POP_TOP | |
76 POP_BLOCK | |
78 BEGIN_FINALLY | |
>> 80 WITH_CLEANUP_START | |
82 WITH_CLEANUP_FINISH | |
84 END_FINALLY | |
>> 86 LOAD_CONST 1 (None) | |
88 RETURN_VALUE | |
Disassembly of <code object f at 0x7fc218449450, file "main.py", line 5>: | |
6 0 LOAD_GLOBAL 0 (print) | |
2 LOAD_FAST 0 (i) | |
4 LOAD_CONST 1 (1) | |
6 BINARY_ADD | |
8 CALL_FUNCTION 1 | |
10 POP_TOP | |
12 LOAD_CONST 0 (None) | |
14 RETURN_VALUE | |
Disassembly of <code object <listcomp> at 0x7fc218449500, file "main.py", line 13>: | |
13 0 BUILD_LIST 0 | |
2 LOAD_FAST 0 (.0) | |
>> 4 FOR_ITER 10 (to 16) | |
6 STORE_FAST 1 (i) | |
8 LOAD_FAST 1 (i) | |
10 BUILD_TUPLE 1 | |
12 LIST_APPEND 2 | |
14 JUMP_ABSOLUTE 4 | |
>> 16 RETURN_VALUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG/MainProcess] created semlock with handle 140508588163072 | |
[DEBUG/MainProcess] created semlock with handle 140508586127360 | |
[DEBUG/MainProcess] created semlock with handle 140508567797760 | |
[DEBUG/MainProcess] created semlock with handle 140508557746176 | |
[DEBUG/MainProcess] created semlock with handle 140508557742080 | |
[DEBUG/MainProcess] created semlock with handle 140508557737984 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-1] child process calling self.run() | |
[INFO/ForkPoolWorker-2] child process calling self.run() | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-3] child process calling self.run() | |
1 | |
2 | |
3 | |
[DEBUG/ForkPoolWorker-2] worker exiting after 1 tasks | |
[DEBUG/ForkPoolWorker-1] worker exiting after 1 tasks | |
[DEBUG/ForkPoolWorker-3] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-2] process shutting down | |
[INFO/ForkPoolWorker-1] process shutting down | |
[DEBUG/ForkPoolWorker-2] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-1] running all "atexit" finalizers with priority >= 0 | |
[INFO/ForkPoolWorker-3] process shutting down | |
[DEBUG/ForkPoolWorker-3] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-2] running the remaining "atexit" finalizers | |
[DEBUG/ForkPoolWorker-1] running the remaining "atexit" finalizers | |
[DEBUG/ForkPoolWorker-3] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-2] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-1] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-3] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 2 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-4] child process calling self.run() | |
4 | |
[DEBUG/ForkPoolWorker-4] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-4] process shutting down | |
[DEBUG/ForkPoolWorker-4] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-4] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-4] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[INFO/ForkPoolWorker-5] child process calling self.run() | |
5 | |
[DEBUG/ForkPoolWorker-5] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-5] process shutting down | |
[DEBUG/ForkPoolWorker-5] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-5] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-5] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[INFO/ForkPoolWorker-6] child process calling self.run() | |
6 | |
[DEBUG/ForkPoolWorker-6] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-6] process shutting down | |
[DEBUG/ForkPoolWorker-6] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-6] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-6] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-8] child process calling self.run() | |
7 | |
[DEBUG/ForkPoolWorker-8] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-8] process shutting down | |
[DEBUG/ForkPoolWorker-8] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-8] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-8] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-7] child process calling self.run() | |
8 | |
[DEBUG/ForkPoolWorker-7] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-7] process shutting down | |
[DEBUG/ForkPoolWorker-7] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/ForkPoolWorker-7] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-7] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-10] child process calling self.run() | |
[INFO/ForkPoolWorker-11] child process calling self.run() | |
9 | |
[DEBUG/ForkPoolWorker-11] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-11] process shutting down | |
[DEBUG/ForkPoolWorker-11] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-11] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-11] process exiting with exitcode 0 | |
10 | |
[DEBUG/MainProcess] cleaning up worker 2 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/ForkPoolWorker-10] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-10] process shutting down | |
[DEBUG/ForkPoolWorker-10] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-10] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-10] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[INFO/ForkPoolWorker-9] child process calling self.run() | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-13] child process calling self.run() | |
[INFO/ForkPoolWorker-12] child process calling self.run() | |
[DEBUG/MainProcess] sleep | |
[DEBUG/MainProcess] terminating pool | |
[DEBUG/MainProcess] finalizing pool | |
[DEBUG/MainProcess] helping task handler/workers to finish | |
[DEBUG/MainProcess] worker handler exiting | |
[DEBUG/MainProcess] removing tasks from inqueue until task handler finished | |
[DEBUG/MainProcess] task handler got sentinel | |
[DEBUG/MainProcess] task handler sending sentinel to result handler | |
[DEBUG/MainProcess] task handler sending sentinel to workers | |
[DEBUG/MainProcess] result handler got sentinel | |
[DEBUG/ForkPoolWorker-9] worker got sentinel -- exiting | |
[DEBUG/ForkPoolWorker-9] worker exiting after 0 tasks | |
[DEBUG/MainProcess] ensuring that outqueue is not full | |
[INFO/ForkPoolWorker-9] process shutting down | |
[DEBUG/ForkPoolWorker-9] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/MainProcess] result handler exiting: len(cache)=0, thread._state=RUN | |
[DEBUG/ForkPoolWorker-9] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-9] process exiting with exitcode 0 | |
[DEBUG/ForkPoolWorker-13] worker got sentinel -- exiting | |
[DEBUG/ForkPoolWorker-13] worker exiting after 0 tasks | |
[INFO/ForkPoolWorker-13] process shutting down | |
[DEBUG/ForkPoolWorker-13] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-13] running the remaining "atexit" finalizers | |
[DEBUG/MainProcess] task handler exiting | |
[INFO/ForkPoolWorker-13] process exiting with exitcode 0 | |
[DEBUG/MainProcess] joining worker handler | |
[DEBUG/MainProcess] terminating workers | |
[DEBUG/MainProcess] joining task handler | |
[DEBUG/MainProcess] joining result handler | |
[DEBUG/MainProcess] joining pool workers | |
[DEBUG/MainProcess] cleaning up worker 30792 | |
[INFO/MainProcess] process shutting down | |
[DEBUG/MainProcess] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/MainProcess] running the remaining "atexit" finalizers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG/MainProcess] created semlock with handle 140230445670400 | |
[DEBUG/MainProcess] created semlock with handle 140230443634688 | |
[DEBUG/MainProcess] created semlock with handle 140230425305088 | |
[DEBUG/MainProcess] created semlock with handle 140230415253504 | |
[DEBUG/MainProcess] created semlock with handle 140230415249408 | |
[DEBUG/MainProcess] created semlock with handle 140230415245312 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-1] child process calling self.run() | |
[INFO/ForkPoolWorker-2] child process calling self.run() | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-3] child process calling self.run() | |
1 | |
[DEBUG/ForkPoolWorker-1] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-1] process shutting down | |
[DEBUG/ForkPoolWorker-1] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-1] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-1] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
3 | |
2 | |
[DEBUG/ForkPoolWorker-3] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-3] process shutting down | |
[DEBUG/ForkPoolWorker-2] worker exiting after 1 tasks | |
[DEBUG/ForkPoolWorker-3] running all "atexit" finalizers with priority >= 0 | |
[INFO/ForkPoolWorker-2] process shutting down | |
[DEBUG/ForkPoolWorker-3] running the remaining "atexit" finalizers | |
[DEBUG/ForkPoolWorker-2] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-2] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-3] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-2] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[INFO/ForkPoolWorker-4] child process calling self.run() | |
4 | |
[DEBUG/ForkPoolWorker-4] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-4] process shutting down | |
[DEBUG/ForkPoolWorker-4] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-4] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-4] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[INFO/ForkPoolWorker-5] child process calling self.run() | |
5 | |
[DEBUG/ForkPoolWorker-5] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-5] process shutting down | |
[DEBUG/ForkPoolWorker-5] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-5] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-5] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-6] child process calling self.run() | |
6 | |
[DEBUG/ForkPoolWorker-6] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-6] process shutting down | |
[DEBUG/ForkPoolWorker-6] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-6] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-6] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-8] child process calling self.run() | |
7 | |
[DEBUG/ForkPoolWorker-8] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-8] process shutting down | |
[DEBUG/ForkPoolWorker-8] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-8] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-8] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[INFO/ForkPoolWorker-9] child process calling self.run() | |
8 | |
[DEBUG/ForkPoolWorker-9] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-9] process shutting down | |
[DEBUG/ForkPoolWorker-9] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-9] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-9] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-7] child process calling self.run() | |
9 | |
[DEBUG/ForkPoolWorker-7] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-7] process shutting down | |
[DEBUG/ForkPoolWorker-7] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-7] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-7] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-11] child process calling self.run() | |
10 | |
[INFO/ForkPoolWorker-10] child process calling self.run() | |
[DEBUG/ForkPoolWorker-11] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-11] process shutting down | |
[DEBUG/ForkPoolWorker-11] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-11] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-11] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[INFO/ForkPoolWorker-12] child process calling self.run() | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-13] child process calling self.run() | |
[DEBUG/MainProcess] sleep | |
[DEBUG/MainProcess] terminating pool | |
[DEBUG/MainProcess] finalizing pool | |
[DEBUG/MainProcess] helping task handler/workers to finish | |
[DEBUG/MainProcess] removing tasks from inqueue until task handler finished | |
[DEBUG/MainProcess] worker handler exiting | |
[DEBUG/MainProcess] task handler got sentinel | |
[DEBUG/MainProcess] task handler sending sentinel to result handler | |
[DEBUG/MainProcess] task handler sending sentinel to workers | |
[DEBUG/MainProcess] task handler exiting | |
[DEBUG/ForkPoolWorker-10] worker got sentinel -- exiting | |
[DEBUG/ForkPoolWorker-10] worker exiting after 0 tasks | |
[INFO/ForkPoolWorker-10] process shutting down | |
[DEBUG/ForkPoolWorker-10] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-12] worker got sentinel -- exiting | |
[DEBUG/ForkPoolWorker-10] running the remaining "atexit" finalizers | |
[DEBUG/ForkPoolWorker-12] worker exiting after 0 tasks | |
[INFO/ForkPoolWorker-12] process shutting down | |
[INFO/ForkPoolWorker-10] process exiting with exitcode 0 | |
[DEBUG/ForkPoolWorker-12] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-12] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-12] process exiting with exitcode 0 | |
[DEBUG/MainProcess] result handler got sentinel | |
[DEBUG/MainProcess] ensuring that outqueue is not full | |
[DEBUG/MainProcess] result handler exiting: len(cache)=0, thread._state=RUN | |
[DEBUG/ForkPoolWorker-13] worker got sentinel -- exiting | |
[DEBUG/ForkPoolWorker-13] worker exiting after 0 tasks | |
[INFO/ForkPoolWorker-13] process shutting down | |
[DEBUG/ForkPoolWorker-13] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-13] running the remaining "atexit" finalizers | |
[DEBUG/MainProcess] joining worker handler | |
[INFO/ForkPoolWorker-13] process exiting with exitcode 0 | |
[DEBUG/MainProcess] terminating workers | |
[DEBUG/MainProcess] joining task handler | |
[DEBUG/MainProcess] joining result handler | |
[DEBUG/MainProcess] joining pool workers | |
[INFO/MainProcess] process shutting down | |
[DEBUG/MainProcess] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/MainProcess] running the remaining "atexit" finalizers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG/MainProcess] created semlock with handle 139875873046528 | |
[DEBUG/MainProcess] created semlock with handle 139875871010816 | |
[DEBUG/MainProcess] created semlock with handle 139875852681216 | |
[DEBUG/MainProcess] created semlock with handle 139875842629632 | |
[DEBUG/MainProcess] created semlock with handle 139875842625536 | |
[DEBUG/MainProcess] created semlock with handle 139875842621440 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-1] child process calling self.run() | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-2] child process calling self.run() | |
[INFO/ForkPoolWorker-3] child process calling self.run() | |
1 | |
2 | |
3 | |
[DEBUG/ForkPoolWorker-1] worker exiting after 1 tasks | |
[DEBUG/ForkPoolWorker-2] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-1] process shutting down | |
[DEBUG/ForkPoolWorker-3] worker exiting after 1 tasks | |
[DEBUG/ForkPoolWorker-1] running all "atexit" finalizers with priority >= 0 | |
[INFO/ForkPoolWorker-2] process shutting down | |
[DEBUG/ForkPoolWorker-2] running all "atexit" finalizers with priority >= 0 | |
[INFO/ForkPoolWorker-3] process shutting down | |
[DEBUG/ForkPoolWorker-1] running the remaining "atexit" finalizers | |
[DEBUG/ForkPoolWorker-3] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-2] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-1] process exiting with exitcode 0 | |
[DEBUG/ForkPoolWorker-3] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-2] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-3] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 2 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-4] child process calling self.run() | |
4 | |
[DEBUG/ForkPoolWorker-4] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-4] process shutting down | |
[DEBUG/ForkPoolWorker-4] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-4] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-4] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-5] child process calling self.run() | |
5 | |
[DEBUG/ForkPoolWorker-5] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-5] process shutting down | |
[DEBUG/ForkPoolWorker-5] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-5] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-5] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-6] child process calling self.run() | |
6 | |
[DEBUG/ForkPoolWorker-6] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-6] process shutting down | |
[DEBUG/ForkPoolWorker-6] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-6] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-6] process exiting with exitcode 0 | |
[INFO/ForkPoolWorker-7] child process calling self.run() | |
7 | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/ForkPoolWorker-7] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-7] process shutting down | |
[DEBUG/ForkPoolWorker-7] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-7] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-7] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-8] child process calling self.run() | |
8 | |
[DEBUG/ForkPoolWorker-8] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-8] process shutting down | |
[DEBUG/ForkPoolWorker-8] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-8] running the remaining "atexit" finalizers | |
[DEBUG/MainProcess] added worker | |
[INFO/ForkPoolWorker-8] process exiting with exitcode 0 | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[INFO/ForkPoolWorker-9] child process calling self.run() | |
9 | |
[INFO/ForkPoolWorker-10] child process calling self.run() | |
[DEBUG/ForkPoolWorker-9] worker exiting after 1 tasks | |
10 | |
[INFO/ForkPoolWorker-9] process shutting down | |
[DEBUG/MainProcess] added worker | |
[DEBUG/ForkPoolWorker-9] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-10] worker exiting after 1 tasks | |
[INFO/ForkPoolWorker-10] process shutting down | |
[DEBUG/ForkPoolWorker-10] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/ForkPoolWorker-10] running the remaining "atexit" finalizers | |
[INFO/ForkPoolWorker-10] process exiting with exitcode 0 | |
[DEBUG/ForkPoolWorker-9] running the remaining "atexit" finalizers | |
[DEBUG/MainProcess] cleaning up worker 1 | |
[INFO/ForkPoolWorker-9] process exiting with exitcode 0 | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] sleep | |
[DEBUG/MainProcess] cleaning up worker 0 | |
[DEBUG/MainProcess] terminating pool | |
[DEBUG/MainProcess] finalizing pool | |
[DEBUG/MainProcess] helping task handler/workers to finish | |
[DEBUG/MainProcess] removing tasks from inqueue until task handler finished | |
[DEBUG/MainProcess] joining worker handler | |
[DEBUG/MainProcess] result handler found thread._state=TERMINATE | |
[DEBUG/MainProcess] ensuring that outqueue is not full | |
[DEBUG/MainProcess] result handler exiting: len(cache)=0, thread._state=TERMINATE | |
[INFO/ForkPoolWorker-12] child process calling self.run() | |
[INFO/ForkPoolWorker-13] child process calling self.run() | |
[INFO/ForkPoolWorker-11] child process calling self.run() | |
[DEBUG/MainProcess] added worker | |
[DEBUG/MainProcess] worker handler exiting | |
[DEBUG/MainProcess] task handler got sentinel | |
[DEBUG/MainProcess] task handler sending sentinel to result handler | |
[DEBUG/MainProcess] task handler sending sentinel to workers | |
[DEBUG/MainProcess] task handler exiting | |
[DEBUG/MainProcess] terminating workers | |
[DEBUG/MainProcess] joining task handler | |
[DEBUG/MainProcess] joining result handler | |
[DEBUG/MainProcess] joining pool workers | |
[DEBUG/MainProcess] cleaning up worker 29981 | |
> kill -9 | |
[INFO/MainProcess] process shutting down | |
[DEBUG/MainProcess] running all "atexit" finalizers with priority >= 0 | |
[DEBUG/MainProcess] running the remaining "atexit" finalizers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment