[jira] [Commented] (MESOS-9950) memory cgroup gone before isolator cleaning up
[ https://issues.apache.org/jira/browse/MESOS-9950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17362718#comment-17362718 ] Subhajit Palit commented on MESOS-9950: --- [~carlone] any idea how to get around above issue ? > memory cgroup gone before isolator cleaning up > -- > > Key: MESOS-9950 > URL: https://issues.apache.org/jira/browse/MESOS-9950 > Project: Mesos > Issue Type: Bug > Components: containerization >Reporter: longfei >Priority: Major > > The memcg created by mesos may have been deleted before cgroup/memory > isolator cleaning up. > This would let the termination fail and lose information in the old > termination(before fail). > {code:java} > I0821 15:16:03.025796 3354800 paths.cpp:745] Creating sandbox > '/opt/tiger/mesos_deploy_videoarch/mesos_zeus/slave/slaves/fb5c1a5b-e106-47c1-9fe3-6ebd311b30ee-S628/frameworks/8e4967e5-736e-4a22-90c3-7b32d526914d-/executors/mt:z03584687:1/runs/a0706ca0-fe2c-4477-8161-329b26ea5d89' > for user 'tiger' > I0821 15:16:03.026199 3354800 paths.cpp:748] Creating sandbox > '/opt/tiger/mesos_deploy_videoarch/mesos_zeus/slave/meta/slaves/fb5c1a5b-e106-47c1-9fe3-6ebd311b30ee-S628/frameworks/8e4967e5-736e-4a22-90c3-7b32d526914d-/executors/mt:z03584687:1/runs/a0706ca0-fe2c-4477-8161-329b26ea5d89' > I0821 15:16:03.026304 3354800 slave.cpp:9064] Launching executor > 'mt:z03584687:1' of framework > 8e4967e5-736e-4a22-90c3-7b32d526914d- with resources > [{"allocation_info":{"role":"*"},"name":"cpus","scalar":{"value":0.1},"type":"SCALAR"},{"allocation_info":{"role":"*"},"name":"mem","scalar":{"value":32.0},"type":"SCALAR"}] > in work directory > '/opt/tiger/mesos_deploy_videoarch/mesos_zeus/slave/slaves/fb5c1a5b-e106-47c1-9fe3-6ebd311b30ee-S628/frameworks/8e4967e5-736e-4a22-90c3-7b32d526914d-/executors/mt:z03584687:1/runs/a0706ca0-fe2c-4477-8161-329b26ea5d89' > I0821 15:16:03.051795 3354800 slave.cpp:3520] Launching container > a0706ca0-fe2c-4477-8161-329b26ea5d89 for executor > 'mt:z03584687:1' of framework > 8e4967e5-736e-4a22-90c3-7b32d526914d- > I0821 15:16:03.076608 3354807 containerizer.cpp:1325] Starting container > a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:16:03.076911 3354807 containerizer.cpp:3185] Transitioning the state > of container a0706ca0-fe2c-4477-8161-329b26ea5d89 from PROVISIONING to > PREPARING > I0821 15:16:03.077906 3354802 memory.cpp:478] Started listening for OOM > events for container a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:16:03.079540 3354804 memory.cpp:198] Updated > 'memory.soft_limit_in_bytes' to 4032MB for container > a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:16:03.079587 3354820 cpu.cpp:92] Updated 'cpu.shares' to 1126 (cpus > 1.1) for container a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:16:03.079589 3354804 memory.cpp:227] Updated 'memory.limit_in_bytes' > to 4032MB for container a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:16:03.080901 3354802 switchboard.cpp:316] Container logger module > finished preparing container a0706ca0-fe2c-4477-8161-329b26ea5d89; > IOSwitchboard server is not required > I0821 15:16:03.081593 3354801 linux_launcher.cpp:492] Launching container > a0706ca0-fe2c-4477-8161-329b26ea5d89 and cloning with namespaces > I0821 15:16:03.083823 3354808 containerizer.cpp:2107] Checkpointing > container's forked pid 1857418 to > '/opt/tiger/mesos_deploy_videoarch/mesos_zeus/slave/meta/slaves/fb5c1a5b-e106-47c1-9fe3-6ebd311b30ee-S628/frameworks/8e4967e5-736e-4a22-90c3-7b32d526914d-/executors/mt:z03584687:1/runs/a0706ca0-fe2c-4477-8161-329b26ea5d89/pids/forked.pid' > I0821 15:16:03.084156 3354808 containerizer.cpp:3185] Transitioning the state > of container a0706ca0-fe2c-4477-8161-329b26ea5d89 from PREPARING to ISOLATING > I0821 15:16:03.091468 3354808 containerizer.cpp:3185] Transitioning the state > of container a0706ca0-fe2c-4477-8161-329b26ea5d89 from ISOLATING to FETCHING > I0821 15:16:03.094933 3354808 containerizer.cpp:3185] Transitioning the state > of container a0706ca0-fe2c-4477-8161-329b26ea5d89 from FETCHING to RUNNING > I0821 15:16:03.197753 3354808 memory.cpp:198] Updated > 'memory.soft_limit_in_bytes' to 4032MB for container > a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:16:03.197757 3354801 cpu.cpp:92] Updated 'cpu.shares' to 1126 (cpus > 1.1) for container a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:21:39.692978 3354814 memory.cpp:515] OOM detected for container > a0706ca0-fe2c-4477-8161-329b26ea5d89 > I0821 15:21:39.693182 3354805 containerizer.cpp:3044] Container > a0706ca0-fe2c-4477-8161-329b26ea5d89 has reached its limit for resource [] > and will be terminated > I0821 15:21:39.693192 3354805 containerizer.cpp:2518] Destroying container >
[jira] [Assigned] (MESOS-10222) Build failure in 3rdparty/boost-1.65.0 with -Werror=parentheses
[ https://issues.apache.org/jira/browse/MESOS-10222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Qian Zhang reassigned MESOS-10222: -- Assignee: Charles Natali Resolution: Fixed > Build failure in 3rdparty/boost-1.65.0 with -Werror=parentheses > --- > > Key: MESOS-10222 > URL: https://issues.apache.org/jira/browse/MESOS-10222 > Project: Mesos > Issue Type: Bug > Components: build >Reporter: Martin Tzvetanov Grigorov >Assignee: Charles Natali >Priority: Minor > Attachments: config.log > > > I am trying to build Mesos master but it fails with: > > {code:java} > In file included from > ../3rdparty/boost-1.65.0/boost/mpl/aux_/na_assert.hpp:23, > from ../3rdparty/boost-1.65.0/boost/mpl/arg.hpp:25, > from ../3rdparty/boost-1.65.0/boost/mpl/placeholders.hpp:24, > from > ../3rdparty/boost-1.65.0/boost/iterator/iterator_categories.hpp:17, > from > ../3rdparty/boost-1.65.0/boost/iterator/iterator_facade.hpp:14, > from ../3rdparty/boost-1.65.0/boost/uuid/seed_rng.hpp:38, > from > ../3rdparty/boost-1.65.0/boost/uuid/random_generator.hpp:12, > from ../../3rdparty/stout/include/stout/uuid.hpp:21, > from ../../include/mesos/type_utils.hpp:36, > from ../../src/master/flags.cpp:18: > ../3rdparty/boost-1.65.0/boost/mpl/assert.hpp:188:21: error: unnecessary > parentheses in declaration of ‘assert_arg’ [-Werror=parentheses] > 188 | failed (Pred:: > | ^ > ../3rdparty/boost-1.65.0/boost/mpl/assert.hpp:193:21: error: unnecessary > parentheses in declaration of ‘assert_not_arg’ [-Werror=parentheses] > 193 | failed (boost::mpl::not_:: > | ^ > In file included from > ../3rdparty/boost-1.65.0/boost/mpl/aux_/na_assert.hpp:23, > from ../3rdparty/boost-1.65.0/boost/mpl/arg.hpp:25, > from ../3rdparty/boost-1.65.0/boost/mpl/placeholders.hpp:24, > from > ../3rdparty/boost-1.65.0/boost/iterator/iterator_categories.hpp:17, > from > ../3rdparty/boost-1.65.0/boost/iterator/iterator_facade.hpp:14, > from > ../3rdparty/boost-1.65.0/boost/range/iterator_range_core.hpp:27, > from ../3rdparty/boost-1.65.0/boost/lexical_cast.hpp:30, > from ../../3rdparty/stout/include/stout/numify.hpp:19, > from ../../3rdparty/stout/include/stout/duration.hpp:29, > from ../../3rdparty/libprocess/include/process/time.hpp:18, > from ../../3rdparty/libprocess/include/process/clock.hpp:18, > from ../../3rdparty/libprocess/include/process/future.hpp:29, > from > ../../include/mesos/authentication/secret_generator.hpp:22, > from ../../src/local/local.cpp:24: > ../3rdparty/boost-1.65.0/boost/mpl/assert.hpp:188:21: error: unnecessary > parentheses in declaration of ‘assert_arg’ [-Werror=parentheses] > 188 | failed (Pred:: > | ^ > ../3rdparty/boost-1.65.0/boost/mpl/assert.hpp:193:21: error: unnecessary > parentheses in declaration of ‘assert_not_arg’ [-Werror=parentheses] > 193 | failed (boost::mpl::not_:: > | ^ > In file included from > ../3rdparty/boost-1.65.0/boost/mpl/aux_/na_assert.hpp:23, > from ../3rdparty/boost-1.65.0/boost/mpl/arg.hpp:25, > from ../3rdparty/boost-1.65.0/boost/mpl/placeholders.hpp:24, > from > ../3rdparty/boost-1.65.0/boost/iterator/iterator_categories.hpp:17, > from > ../3rdparty/boost-1.65.0/boost/iterator/iterator_adaptor.hpp:14, > from > ../3rdparty/boost-1.65.0/boost/iterator/indirect_iterator.hpp:11, > from ../../include/mesos/resources.hpp:27, > from ../../src/master/master.hpp:31, > from ../../src/master/framework.cpp:17: > ../3rdparty/boost-1.65.0/boost/mpl/assert.hpp:188:21: error: unnecessary > parentheses in declaration of ‘assert_arg’ [-Werror=parentheses] > 188 | failed (Pred:: > | ^ > ../3rdparty/boost-1.65.0/boost/mpl/assert.hpp:193:21: error: unnecessary > parentheses in declaration of ‘assert_not_arg’ [-Werror=parentheses] > 193 | failed (boost::mpl::not_:: > | ^ > In file included from > ../3rdparty/boost-1.65.0/boost/mpl/aux_/na_assert.hpp:23, > from ../3rdparty/boost-1.65.0/boost/mpl/arg.hpp:25, > from