[ https://issues.apache.org/jira/browse/MESOS-8834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454219#comment-16454219 ]
Benno Evers commented on MESOS-8834: ------------------------------------ While I can't really understand the text, judging from the send -> _send -> send -> ... -> coredump sequence this looks like it might be the same issue as MESOS-8594? > libprocess底层internal::send和internal::_send相互调用, > 当outgoing[socket]里一直有数据包要发送时,那么存在栈耗尽 core dump问题 > ------------------------------------------------------------------------------------------------ > > Key: MESOS-8834 > URL: https://issues.apache.org/jira/browse/MESOS-8834 > Project: Mesos > Issue Type: Bug > Components: libprocess > Affects Versions: 1.5.0 > Reporter: liwuqi > Priority: Blocker > Labels: core, libprocess, send > > 如果某个process > while(true)发消息,将导致大量消息缓存在outgoing[socket]里,而在底层由internal::send和internal::_send去执行消息的发送,那么就会出现递归调用: > _send -> send -> _send ->send -> ... ->_send -> send -> .... > 导致调用栈不断增加,最终栈耗尽发生core dump问题. > 我本地测试,发现当栈层次达到40,000+时发生core dump > 为了解决这个问题,需要修改底层消息发送机制 > > 请关注这个问题,谢谢 > -- This message was sent by Atlassian JIRA (v7.6.3#76005)