run date: 2026-10-07 UTC
cwd: /home/admin/workspace/my-blogs/examples/python-language
interpreter: /usr/bin/python3.12 CPython 3.12.3 (Ubuntu python3.12-minimal 3.12.3-1ubuntu0.17)
platform: Linux 5.10.134-013.16.kangaroo.al8.x86_64 x86_64
pool: ProcessPoolExecutor(max_workers=2) with explicit multiprocessing.get_context('spawn'); initializer _initialize_worker records actual PID
input: same word_count text "One two one" and cpu_work iterations=20000 as chapter 27/29; no performance conclusion from this single run
worker interpreter/PID and parent PID: recorded in stdout.log; child memory store independent of parent store
pickling error: local lambda submitted to ProcessPoolExecutor raises at Future.result; parent runner rejects nonserializable iterations through TaskExecutionError.__cause__
failed initial targeted test due to wrong outer exception assertion saved in ../20261007-process-failed/; later cumulative run PASS
official docs verified HTTP 200:
https://docs.python.org/3.12/library/multiprocessing.html#contexts-and-start-methods
https://docs.python.org/3.12/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor
https://docs.python.org/3.12/library/pickle.html#what-can-be-pickled-and-unpickled
Hexo isolated runtime: Node v22.16.0; full-site build NOT_RUN
force termination/recovery and non-Linux platform: NOT_RUN
