Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4031

slave crashed in cgroupstatistics()

Details

    Description

      Hi all,
      I have built a mesos cluster with three slaves. Any slave may sporadically crash when I get the summary through mesos master ui. Here is the stack trace.

       slave.sh[13336]: I1201 11:54:12.827975 13338 slave.cpp:3926] Current disk usage 79.71%. Max allowed age: 17.279577136390834hrs
       slave.sh[13336]: I1201 11:55:12.829792 13342 slave.cpp:3926] Current disk usage 79.71%. Max allowed age: 17.279577136390834hrs
       slave.sh[13336]: I1201 11:55:38.389614 13342 http.cpp:189] HTTP GET for /slave(1)/state from 192.168.100.1:64870 with User-Agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0'
       docker[8409]: time="2015-12-01T11:55:38.934148017+08:00" level=info msg="GET /v1.20/containers/mesos-b25be32d-41e1-4e14-9b84-d33d733cef51-S3.79c206a6-d6b5-487b-9390-e09292c5b53a/json"
       docker[8409]: time="2015-12-01T11:55:38.941489332+08:00" level=info msg="GET /v1.20/containers/mesos-b25be32d-41e1-4e14-9b84-d33d733cef51-S3.1e01a4b3-a76e-4bf6-8ce0-a4a937faf236/json"
       slave.sh[13336]: ABORT: (../../3rdparty/libprocess/3rdparty/stout/include/stout/result.hpp:110): Result::get() but state == NONE*** Aborted at 1448942139 (unix time) try "date -d @1448942139" if you are using GNU date ***
       slave.sh[13336]: PC: @     0x7f295218a107 (unknown)
       slave.sh[13336]: *** SIGABRT (@0x3419) received by PID 13337 (TID 0x7f2948992700) from PID 13337; stack trace: ***
       slave.sh[13336]: @     0x7f2952a2e8d0 (unknown)
       slave.sh[13336]: @     0x7f295218a107 (unknown)
       slave.sh[13336]: @     0x7f295218b4e8 (unknown)
       slave.sh[13336]: @           0x43dc59 _Abort()
       slave.sh[13336]: @           0x43dc87 _Abort()
       slave.sh[13336]: @     0x7f2955e31c86 Result<>::get()
       slave.sh[13336]: @     0x7f295637f017 mesos::internal::slave::DockerContainerizerProcess::cgroupsStatistics()
       slave.sh[13336]: @     0x7f295637dfea _ZZN5mesos8internal5slave26DockerContainerizerProcess5usageERKNS_11ContainerIDEENKUliE_clEi
       slave.sh[13336]: @     0x7f295637e549 _ZZN5mesos8internal5slave26DockerContainerizerProcess5usageERKNS_11ContainerIDEENKUlRKN6Docker9ContainerEE0_clES9_
       slave.sh[13336]: @     0x7f295638453b
      ZN5mesos8internal5slave26DockerContainerizerProcess5usageERKNS1_11ContainerIDEEUlRKN6Docker9ContainerEE0_EcvSt8functionIFT_T0_EEINS_6FutureINS1_18ResourceStatisticsEEESB_EEvENKUlSB_E_clESB_ENKUlvE_clEv
       slave.sh[13336]: @     0x7f295638751d
      FN7process6FutureIN5mesos18ResourceStatisticsEEEvEZZNKS0_9_DeferredIZNS2_8internal5slave26DockerContainerizerProcess5usageERKNS2_11ContainerIDEEUlRKN6Docker9ContainerEE0_EcvSt8functionIFT_T0_EEIS4_SG_EEvENKUlSG_E_clESG_EUlvE_E9_M_invoke
      
       slave.sh[13336]: @     0x7f29563b53e7 std::function<>::operator()()
       slave.sh[13336]: @     0x7f29563aa5dc _ZZN7process8dispatchIN5mesos18ResourceStatisticsEEENS_6FutureIT_EERKNS_4UPIDERKSt8functionIFS5_vEEENKUlPNS_11ProcessBaseEE_clESF_
       slave.sh[13336]: @     0x7f29563bd667 _ZNSt17_Function_handlerIFvPN7process11ProcessBaseEEZNS0_8dispatchIN5mesos18ResourceStatisticsEEENS0_6FutureIT_EERKNS0_4UPIDERKSt8functionIFS9_vEEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_
       slave.sh[13336]: @     0x7f2956b893c3 std::function<>::operator()()
       slave.sh[13336]: @     0x7f2956b72ab0 process::ProcessBase::visit()
       slave.sh[13336]: @     0x7f2956b7588e process::DispatchEvent::visit()
       slave.sh[13336]: @     0x7f2955d7f972 process::ProcessBase::serve()
       slave.sh[13336]: @     0x7f2956b6ef8e process::ProcessManager::resume()
       slave.sh[13336]: @     0x7f2956b63555 process::internal::schedule()
       slave.sh[13336]: @     0x7f2956bc0839 _ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE
       slave.sh[13336]: @     0x7f2956bc0781 std::_Bind_simple<>::operator()()
       slave.sh[13336]: @     0x7f2956bc06fe std::thread::_Impl<>::_M_run()
       slave.sh[13336]: @     0x7f29527ca970 (unknown)
       slave.sh[13336]: @     0x7f2952a270a4 start_thread
       slave.sh[13336]: @     0x7f295223b04d (unknown)
      

      Attachments

        Issue Links

          Activity

            mciolek Maciej Ciołek added a comment -

            I have also setup cluster of 5 slaves, and when I am trying to check sandbox of any kind of tasks from mesos UI, the slave sporadically crashes.

            mciolek Maciej Ciołek added a comment - I have also setup cluster of 5 slaves, and when I am trying to check sandbox of any kind of tasks from mesos UI, the slave sporadically crashes.
            tnachen Timothy Chen added a comment -

            commit ee94b5259c1df95c000f6158c21df0956bdc0916
            Author: Timothy Chen <tnachen@apache.org>
            Date: Tue Jan 12 10:39:57 2016 -0800

            Fixed docker containerizer usage to check for cgroup result.

            Review: https://reviews.apache.org/r/41906/

            tnachen Timothy Chen added a comment - commit ee94b5259c1df95c000f6158c21df0956bdc0916 Author: Timothy Chen <tnachen@apache.org> Date: Tue Jan 12 10:39:57 2016 -0800 Fixed docker containerizer usage to check for cgroup result. Review: https://reviews.apache.org/r/41906/

            People

              tnachen Timothy Chen
              xt Steven
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: