[
https://issues.apache.org/jira/browse/MESOS-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950480#comment-14950480
]
Diana Arroyo commented on MESOS-3487:
-------------------------------------
When running the test above it failed with the following error. Will
investigate this error below to determine if it is a root cause of this JIRA
item or if the error below is a separate problem.
../../../3rdparty/libprocess/src/tests/subprocess_tests.cpp:668: Failure
s: Failed to create pipe: Too many open files
*** Aborted at 1444396878 (unix time) try "date -d @1444396878" if you are
using GNU date ***
PC: @ 0x6636aa testing::UnitTest::AddTestPartResult()
*** SIGSEGV (@0x0) received by PID 9679 (TID 0x7ff297880780) from PID 0; stack
trace: ***
@ 0x7ff297462340 (unknown)
@ 0x6636aa testing::UnitTest::AddTestPartResult()
@ 0x6583a9 testing::internal::AssertHelper::operator=()
@ 0x61e3eb SubprocessTest_Environment_Test::TestBody()
@ 0x681ae0
testing::internal::HandleSehExceptionsInMethodIfSupported<>()
@ 0x67c4dc
testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x65d611 testing::Test::Run()
@ 0x65dd94 testing::TestInfo::Run()
@ 0x65e3da testing::TestCase::Run()
@ 0x664b22 testing::internal::UnitTestImpl::RunAllTests()
@ 0x68289f
testing::internal::HandleSehExceptionsInMethodIfSupported<>()
@ 0x67d1ac
testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x6638be testing::UnitTest::Run()
@ 0x4e1e8f RUN_ALL_TESTS()
@ 0x4e1ca8 main
@ 0x7ff29646dec5 (unknown)
@ 0x40be6b (unknown)
> Running libprocess tests in a loop leads to unbounded memory growth.
> --------------------------------------------------------------------
>
> Key: MESOS-3487
> URL: https://issues.apache.org/jira/browse/MESOS-3487
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: Benjamin Mahler
> Assignee: Diana Arroyo
> Labels: newbie
>
> Was doing some repeat testing on a patch to check for flakiness and noticed
> that the libprocess tests appear to have a leak that leads to unbounded
> memory growth.
> I checked the stout tests as well, they appear ok.
> Notice the large RSS for the libprocess tests:
> {noformat}
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 55133 root 20 0 479m 9.9m 6860 S 56.8 0.0 0:02.36 tests
> 16410 root 20 0 575m 152m 6864 S 60.1 0.2 6:09.70 tests
> 61363 root 20 0 606m 304m 6948 R 74.7 0.4 15:50.11 tests
> 32836 root 20 0 116m 9032 5580 S 88.3 0.0 3:46.32 stout-tests
> {noformat}
> Commands to reproduce:
> {noformat}
> $ sudo ./3rdparty/libprocess/tests --gtest_repeat=-1 --gtest_break_on_failure
> $ sudo ./3rdparty/libprocess/3rdparty/stout-tests --gtest_repeat=-1
> --gtest_break_on_failure
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)