Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

训练中途失败Check failed: len > 0 peer=10.73.227.36 curIov=33 iovCnt=93 iovs

Open lyp2github opened this issue 9 years ago • 10 comments

Check failed: len > 0 peer=10.73.227.36 curIov=33 iovCnt=93 iovs

lyp2github avatar Aug 28 '17 07:08 lyp2github

@lyp2github 请注意保密内网地址

typhoonzero avatar Aug 28 '17 07:08 typhoonzero

@lyp2github 有两个相似的问题。#1503 和 #1451 #1503 是由于混布导致的端口冲突,可以排查一下集群是否也是混布的。

hedaoyuan avatar Aug 28 '17 08:08 hedaoyuan

master train.log:

Sun Aug 27 09:08:27 2017[1,8]<stderr>:F0827 09:08:27.095723 25428 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.35 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.101034 25438 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.31 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.102723 25434 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.39 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.105250 25430 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.36 curIov=61 iovCnt=93 iovs[curIov].base=F0827 09:08:27.106235 25423 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.34 curIov=62 iovCnt=93 iovs[curIov].base=0x7fe8df45f4a50x7fe8df51f6b780x7fe8df2ec22fiov_len= iovs[curIov].iov_len= iovs[curIov].iov_len=0x49880x7fe8df0dc3a3 iovs[curIov].iov_len=0x37e11 iovs[curIov].iov_len=0x7c9d: SuSucce [Succe [ [0]0]0]] Success [0]
Sun Aug 27 09:08:27 2017[1,8]<stderr>:

对应节点【10.73.217.31】psever2.FATAL

F0827 09:08:27.089238 15206 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.30 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.091019 15216 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.36 curIov=61 iovCnt=93 iovs[curIov].base=F0827 09:08:27.094491 15210 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.34 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.097599 15214 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.35 curIov=61 iovCnt=93 iovs[curIov].base=0x7f900751f6b7 iovs[curIov].iov_len=31897 iovs[curIov].iov_len=188250x7f900749f6b8 iovs[curIov].iov_len=188240x7f90070dc3a3 iovs[curIov].iov_len=31901: SuccessSuccess [ [0]]0827 09:08:27.110950 15220 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.39 curIov=62 iovCnt=93 iovs[curIov].base=0x7f90073df6b8 iovs[curIov].iov_len=18824: Success [0]
F0827 09:08:27.089238 15206 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.30 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.091019 15216 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.36 curIov=61 iovCnt=93 iovs[curIov].base=F0827 09:08:27.094491 15210 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.34 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.097599 15214 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.35 curIov=61 iovCnt=93 iovs[curIov].base=0x7f900751f6b7 iovs[curIov].iov_len=31897 iovs[curIov].iov_len=188250x7f900749f6b8 iovs[curIov].iov_len=188240x7f90070dc3a3 iovs[curIov].iov_len=31901: SuccessSuccess [ [0]]0827 09:08:27.110950 15220 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.39 curIov=62 iovCnt=93 iovs[curIov].base=0x7f90073df6b8 iovs[curIov].iov_len=18824: Success [0]

peer节点【10.73.217.30 】psever2.FATAL

F0827 09:08:27.095723 25428 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.35 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.101034 25438 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.31 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.102723 25434 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.217.39 curIov=62 iovCnt=93 iovs[curIov].base=F0827 09:08:27.105250 25430 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.36 curIov=61 iovCnt=93 iovs[curIov].base=F0827 09:08:27.106235 25423 SocketChannel.cpp:101] Check failed: len > 0  peer=10.73.227.34 curIov=62 iovCnt=93 iovs[curIov].base=0x7fe8df45f4a50x7fe8df51f6b780x7fe8df2ec22fiov_len= iovs[curIov].iov_len= iovs[curIov].iov_len=0x49880x7fe8df0dc3a3 iovs[curIov].iov_len=0x37e11 iovs[curIov].iov_len=0x7c9d: SuSucce [Succe [ [0]0]0]] Success [0]
F0827 09:08:36.042271 17928 SocketChannel.cpp:54] Check failed: len >= 0  peer=10.73.217.39: Connection reset by peer [104]
F0827 09:08:36.087374 23056 SocketChannel.cpp:54] Check failed: len >= 0  peer=10.73.217.37: Connection reset by peer [104]
F0827 09:08:36.087374 23056 SocketChannel.cpp:54] Check failed: len >= 0  peer=10.73.217.37: Connection reset by peer [104]F0827 09:08:36.127861 10753 SocketChannel.cpp:54] Check failed: len >= 0  peer=10.73.217.31: Connection reset by peer [104]

节点【10.73.217.37】=》【10.73.217.39】=》【10.73.227.35|10.73.217.38】=》【10.73.227.36】=》【10.73.217.38】=》【10.73.217.39】 ...

lyp2github avatar Aug 28 '17 08:08 lyp2github

昨天看了下job的日志,train.log和server.log最早的位置都显示了通信获得了错误的数据,很有可能是混部或者有其他程序使用了相同的端口。建议以集群独占方式提交任务。

typhoonzero avatar Aug 29 '17 03:08 typhoonzero

Wed Aug 30 12:13:22 2017[1,1]:F0830 12:13:21.977901 24740 SocketChannel.cpp:101] Check failed: len > 0 peer=10.73.228.52 curIov=74 iovCnt=92 iovs[curIov].base=0x7f150d33b797 iovs[curIov].iov_len=166057: Success [0] Wed Aug 30 12:13:22 2017[1,0]:F0830 12:13:21.974337 3498 SocketChannel.cpp:101] Check failed: len > 0 peer=10.73.228.52 curIov=34 iovCnt=92 iovs[curIov].base=0x7fbf22f5314f iovs[curIov].iov_len=69361: Connection reset by peer [104] Wed Aug 30 12:13:22 2017[1,4]:F0830 12:13:22.043447 15883 SocketChannel.cpp:101] Check failed: len > 0 peer=10.73.228.52 curIov=50 iovCnt=92 iovs[curIov].base=0x7f0fad7341cf iovs[curIov].iov_len=196209: Success [0] Wed Aug 30 12:13:22 2017[1,1]:*** Check failure stack trace: *** Wed Aug 30 12:13:22 2017[1,1]: @ 0x91316d google::LogMessage::Fail() Wed Aug 30 12:13:22 2017[1,1]: @ 0x916c1c google::LogMessage::SendToLog() Wed Aug 30 12:13:22 2017[1,1]: @ 0x912c93 google::LogMessage::Flush() Wed Aug 30 12:13:22 2017[1,1]: @ 0x912e99 google::LogMessage::~LogMessage() Wed Aug 30 12:13:22 2017[1,1]: @ 0x916147 google::ErrnoLogMessage::~ErrnoLogMessage() Wed Aug 30 12:13:22 2017[1,1]: @ 0x769b9c paddle::readwritev<>() Wed Aug 30 12:13:22 2017[1,1]: @ 0x76a8b4 paddle::MsgReader::readBlocks() Wed Aug 30 12:13:22 2017[1,1]: @ 0xf0b83f paddle::ParameterClient2::recv() Wed Aug 30 12:13:22 2017[1,1]: @ 0x7f1524b238a0 execute_native_thread_routine

lyp2github avatar Aug 30 '17 08:08 lyp2github

当前已经是集群独占方式运行,继续训练还是报错

lyp2github avatar Aug 30 '17 08:08 lyp2github

@lyp2github 请问这个问题解决了吗?

LiuJiaqiang89 avatar Nov 08 '17 10:11 LiuJiaqiang89

没解决,换了个集群运行后,目前没出现该问题了 刘亚萍 商业平台研发部 | fc-opt Baidu Fc-opt Tel: 010-59928075 | Mobile:187-0152-4401 | Hi: hnlslyp

发件人: LiuJiaqiang89 <[email protected]mailto:[email protected]> 答复: PaddlePaddle/Paddle <[email protected]mailto:[email protected]> 日期: 2017年11月8日 星期三 18:59 至: PaddlePaddle/Paddle <[email protected]mailto:[email protected]> 抄送: baidu baidu <[email protected]mailto:[email protected]>, Mention <[email protected]mailto:[email protected]> 主题: Re: [PaddlePaddle/Paddle] 训练中途失败Check failed: len > 0 peer=10.73.227.36 curIov=33 iovCnt=93 iovs (#3720)

@lyp2githubhttps://github.com/lyp2github 请问这个问题解决了吗?

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PaddlePaddle/Paddle/issues/3720#issuecomment-342783491, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ac7iv5379NKoZA7mvdOG1umFbi71DBDzks5s0YmXgaJpZM4PEKic.

lyp2github avatar Nov 08 '17 11:11 lyp2github

我先关闭这个不活跃的issue了,如果还有问题可以再打开它。

Yancey0623 avatar Jan 25 '18 07:01 Yancey0623