Python多进程 struct.error i格式
发布时间
阅读量:
阅读量
在对多个文件实施统一的预处理操作时,为提升处理效率通常会采用Python多进程技术。各个子进程将处理结果反馈至主进程,由其完成最终的数据整合工作。
问题描述与分析
在处理体积较大的文件时,代码会触发相应的错误提示,而当所处理的文件规模较小时,系统运行则保持稳定状态。
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/dxi/software/python3.7.9/lib/python3.7/concurrent/futures/process.py", line 205, in _sendback_result
exception=exception))
File "/home/dxi/software/python3.7.9/lib/python3.7/multiprocessing/queues.py", line 364, in put
self._writer.send_bytes(obj)
File "/home/dxi/software/python3.7.9/lib/python3.7/multiprocessing/connec
全部评论 (0)
还没有任何评论哟~
