Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #20866

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 10月 29, 2019 by saxon_zh@saxon_zhGuest

Paddle1.6与Multiprocessing冲突

Created by: Meiyim

运行环境: cuda9.0 cudnn7.3 linux 测试代码:

import paddle as p
import paddle.fluid as f

import multiprocessing as mp


def func(a):
    print('helloworld')
    return a + 1

print(p.__version__)
pool = mp.Pool(3)
pool.map(func, [1,2,3])
pool.terminate()

使用PaddlePaddle1.5运行输出:

1.5.2
helloworld
helloworld
helloworld

使用PaddlePaddle1.6运行输出:

1.6.0
helloworld
helloworld
helloworld
W1029 11:58:31.022197 48625 init.cc:212] *** Aborted at 1572321511 (unix time) try "date -d @1572321511" if you are using GNU date ***
W1029 11:58:31.022197 48624 init.cc:212] *** Aborted at 1572321511 (unix time) try "date -d @1572321511" if you are using GNU date ***
W1029 11:58:31.023936 48625 init.cc:212] PC: @                0x0 (unknown)
W1029 11:58:31.023952 48624 init.cc:212] PC: @                0x0 (unknown)
W1029 11:58:31.024592 48625 init.cc:212] *** SIGTERM (@0x1f40000b7a7) received by PID 48625 (TID 0x7f80151cd700) from PID 47015; stack trace: ***
W1029 11:58:31.024598 48624 init.cc:212] *** SIGTERM (@0x1f40000b7a7) received by PID 48624 (TID 0x7f80151cd700) from PID 47015; stack trace: ***
W1029 11:58:31.025892 48625 init.cc:212]     @     0x7f8014da4160 (unknown)
W1029 11:58:31.025919 48624 init.cc:212]     @     0x7f8014da4160 (unknown)
W1029 11:58:31.027094 48625 init.cc:212]     @     0x7f8014fbfb7a _dl_fixup
W1029 11:58:31.027129 48624 init.cc:212]     @     0x7f8014fbfc70 _dl_fixup
W1029 11:58:31.028278 48625 init.cc:212]     @     0x7f8014fc6105 _dl_runtime_resolve
W1029 11:58:31.028327 48624 init.cc:212]     @     0x7f8014fc6105 _dl_runtime_resolve
W1029 11:58:31.028442 48625 init.cc:212]     @           0x586e7f os__exit
W1029 11:58:31.028475 48624 init.cc:212]     @           0x586e7f os__exit
W1029 11:58:31.028676 48625 init.cc:212]     @           0x4ab673 _PyCFunction_FastCallKeywords
W1029 11:58:31.028695 48624 init.cc:212]     @           0x4ab673 _PyCFunction_FastCallKeywords
W1029 11:58:31.028724 48625 init.cc:212]     @           0x542e84 call_function
W1029 11:58:31.028745 48624 init.cc:212]     @           0x542e84 call_function
W1029 11:58:31.028944 48625 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.028961 48624 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.028991 48625 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.029008 48624 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.029037 48625 init.cc:212]     @           0x542fc7 call_function
W1029 11:58:31.029055 48624 init.cc:212]     @           0x542fc7 call_function
W1029 11:58:31.029260 48625 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.029274 48624 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.029309 48625 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.029321 48624 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.029505 48625 init.cc:212]     @           0x54bd76 _PyFunction_FastCallDict
W1029 11:58:31.029515 48624 init.cc:212]     @           0x54bd76 _PyFunction_FastCallDict
W1029 11:58:31.029692 48625 init.cc:212]     @           0x45304f _PyObject_FastCallDict
W1029 11:58:31.029698 48624 init.cc:212]     @           0x45304f _PyObject_FastCallDict
W1029 11:58:31.029875 48625 init.cc:212]     @           0x45314b _PyObject_Call_Prepend
W1029 11:58:31.029881 48624 init.cc:212]     @           0x45314b _PyObject_Call_Prepend
W1029 11:58:31.030092 48625 init.cc:212]     @           0x452d20 PyObject_Call
W1029 11:58:31.030095 48624 init.cc:212]     @           0x452d20 PyObject_Call
W1029 11:58:31.030200 48625 init.cc:212]     @           0x4c972b slot_tp_init
W1029 11:58:31.030203 48624 init.cc:212]     @           0x4c972b slot_tp_init
W1029 11:58:31.030299 48625 init.cc:212]     @           0x4c0e8a type_call
W1029 11:58:31.030303 48624 init.cc:212]     @           0x4c0e8a type_call
W1029 11:58:31.030493 48625 init.cc:212]     @           0x452f02 _PyObject_FastCallDict
W1029 11:58:31.030495 48624 init.cc:212]     @           0x452f02 _PyObject_FastCallDict
W1029 11:58:31.030544 48625 init.cc:212]     @           0x542bf5 call_function
W1029 11:58:31.030545 48624 init.cc:212]     @           0x542bf5 call_function
W1029 11:58:31.030768 48625 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.030771 48624 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.030817 48625 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.030820 48624 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.030867 48625 init.cc:212]     @           0x542fc7 call_function
W1029 11:58:31.030869 48624 init.cc:212]     @           0x542fc7 call_function
W1029 11:58:31.031098 48625 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.031100 48624 init.cc:212]     @           0x547cdc _PyEval_EvalFrameDefault
W1029 11:58:31.031148 48625 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.031150 48624 init.cc:212]     @           0x541e31 _PyFunction_FastCall
W1029 11:58:31.031206 48625 init.cc:212]     @           0x542fc7 call_function
W1029 11:58:31.031206 48624 init.cc:212]     @           0x542fc7 call_function

请问后面这堆log是什么原因导致的,是不是发生了内存泄露?

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#20866
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7