I think that I found a important information in the debug log

[2014-03-07 13:02:04 -0300] <Q #0x7f932233bf18 W #0x7f932233c078>
warning/icinga: Exception occured during check for service
'Node-1-Master!ping4': ../../../lib/base/process-unix.cpp(124): Throw in
function icinga::ProcessResult icinga::Process::Run()
Dynamic exception type:
boost::exception_detail::clone_impl<icinga::posix_error>
std::exception::what: std::exception
[icinga::StackTrace*] =
        (0) libbase.so: void
boost::throw_exception<icinga::posix_error>(icinga::posix_error const&)
(+0xa6) [0x7f93219d8066] (RVA: 548966)
        (1) libbase.so: void
boost::exception_detail::throw_exception_<icinga::posix_error>(icinga::posix_error
const&, char const*, char const*, int) (+0x3c) [0x7f93219d810c] (RVA:
549132)
        (2) libbase.so: icinga::Process::Run() (+0x1332)
[0x7f9321a0edb2] (RVA: 773554)
        (3) libmethods.so:
icinga::PluginCheckTask::ScriptFunc(boost::shared_ptr<icinga::Service>
const&) (+0x78e) [0x7f931ea5b19e] (RVA: 65950)
        (4) libmethods.so: icinga::Value
icinga::ScriptFunctionWrapperR<boost::shared_ptr<icinga::CheckResult>,
boost::shared_ptr<icinga::Service>
const&>(boost::shared_ptr<icinga::CheckResult>
(*)(boost::shared_ptr<icinga::Service> const&),
std::vector<icinga::Value, std::allocator<icinga::Value> > const&)
(+0x64) [0x7f931ea5a274] (RVA: 62068)
        (5) libmethods.so:
boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<icinga::Value,
icinga::Value (*)(boost::shared_ptr<icinga::CheckResult>
(*)(boost::shared_ptr<icinga::Service> const&),
std::vector<icinga::Value, std::allocator<icinga::Value> > const&),
boost::_bi::list2<boost::_bi::value<boost::shared_ptr<icinga::CheckResult>
(*)(boost::shared_ptr<icinga::Service> const&)>, boost::arg<1> > >,
icinga::Value, std::vector<icinga::Value, std::allocator<icinga::Value>
> const&>::invoke(boost::detail::function::function_buffer&,
std::vector<icinga::Value, std::allocator<icinga::Value> > const&)
(+0xd) [0x7f931ea57b0d] (RVA: 51981)
        (6) libbase.so:
icinga::ScriptFunction::Invoke(std::vector<icinga::Value,
std::allocator<icinga::Value> > const&) (+0x1c) [0x7f9321a14d7c] (RVA:
798076)
        (7) libbase.so:
icinga::DynamicObject::InvokeMethod(icinga::String const&,
std::vector<icinga::Value, std::allocator<icinga::Value> > const&)
(+0x121) [0x7f93219f34b1] (RVA: 660657)
        (8) libicinga.so:
icinga::CheckCommand::Execute(boost::shared_ptr<icinga::Service> const&)
(+0x16d) [0x7f931ed15bed] (RVA: 711661)
        (9) libicinga.so: icinga::Service::ExecuteCheck() (+0x265)
[0x7f931edaa885] (RVA: 1321093)
        (10) libchecker.so:
icinga::CheckerComponent::ExecuteCheckHelper(boost::shared_ptr<icinga::Service>
const&) (+0x19) [0x7f931b7dffc9] (RVA: 217033)
        (11) libbase.so:
icinga::ThreadPool::WorkerThread::ThreadProc(icinga::ThreadPool::Queue&)
(+0x39c) [0x7f9321a4025c] (RVA: 975452)
        (12) libboost_thread.so.1.46.1: thread_proxy (+0x69)
[0x7f93209eece9] (RVA: 52457)
        (13) libpthread.so.0: <unknown function> (+0x7e9a)
[0x7f9321f2be9a] (RVA: 32410)
        (14) libc.so.6: clone (+0x6d) [0x7f9320ef33fd] (RVA: 1000445)


[icinga::ContextTrace*] =
        (0) Executing service check for service 'ping4' on host
'Node-1-Master'

[boost::errinfo_errno_*] = 11, "Resource temporarily unavailable"
[boost::errinfo_api_function_*] = fork

Context:
        (0) Executing service check for service 'ping4' on host
'Node-1-Master'





Em 07-03-2014 16:42, Carlos Cesario escreveu:
> After 2 hours
>
> .......
> 2736 ?        Z      0:00 [sh] <defunct>
> 32738 ?        Z      0:00 [sh] <defunct>
> 32740 ?        Z      0:00 [sh] <defunct>
> 32742 ?        Z      0:00 [sh] <defunct>
> 32744 ?        Z      0:00 [sh] <defunct>
> 32746 ?        Z      0:00 [sh] <defunct>
> 32748 ?        Z      0:00 [sh] <defunct>
> 32750 ?        Z      0:00 [sh] <defunct>
> 32752 ?        Z      0:00 [sh] <defunct>
> 32754 ?        Z      0:00 [sh] <defunct>
> 32756 ?        Z      0:00 [sh] <defunct>
> 32758 ?        Z      0:00 [sh] <defunct>
> 32760 ?        Z      0:00 [sh] <defunct>
> 32762 ?        Z      0:00 [sh] <defunct>
> 32764 ?        Z      0:00 [sh] <defunct>
> 32766 ?        Z      0:00 [sh] <defunct>
> root@localhost:/var/src/icinga2-next# ps ax | grep "\\[sh\\]
> <defunct>" | wc -l
> *16299*
> root@localhost:/var/src/icinga2-next#
>
> root@localhost:/var/src/icinga2-next# ps ax | grep -i icinga
> *10895* ?        Ssl    1:19 /usr/sbin/icinga2 -c
> /etc/icinga2/icinga2.conf -u nagios -g nagios -d -e
> /var/log/icinga2/icinga2.err
> root@pandoranew:/var/src/icinga2-next# pstree -a  *10895* | more
> icinga2 -c /etc/icinga2/icinga2.conf -u nagios -g nagios -d -e
> /var/log/icinga2/icinga2.err
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
>   |-(sh)
> .........
>
> Em 07-03-2014 08:15, Carlos Cesario escreveu:
>> Hello, after the last upgrade form icinga2 (by icinga-precise-snapshots)
>> I'm getting a lot of sh process.
>>
>>
>> 23951 ?        Ssl    0:00 /usr/sbin/icinga2 -c
>> /etc/icinga2/icinga2.conf -u nagios -g nagios -d -e
>> /var/log/icinga2/icinga2.err
>> 24003 ?        Z      0:00 [sh] <defunct>
>> 24005 ?        Z      0:00 [sh] <defunct>
>> 24007 ?        Z      0:00 [sh] <defunct>
>> 24009 ?        Z      0:00 [sh] <defunct>
>> 24011 ?        Z      0:00 [sh] <defunct>
>> 24013 ?        Z      0:00 [sh] <defunct>
>> 24015 ?        Z      0:00 [sh] <defunct>
>> 24017 ?        Z      0:00 [sh] <defunct>
>> 24019 ?        Z      0:00 [sh] <defunct>
>> 24021 ?        Z      0:00 [sh] <defunct>
>> 24023 ?        Z      0:00 [sh] <defunct>
>> 24025 ?        Z      0:00 [sh] <defunct>
>> 24027 ?        Z      0:00 [sh] <defunct>
>> 24029 ?        Z      0:00 [sh] <defunct>
>> 24031 ?        Z      0:00 [sh] <defunct>
>> 24033 ?        Z      0:00 [sh] <defunct>
>> ......
>>
>>
>> At around 600 processes.
>>
>> But I don't nothing in log or debug files.
>>
>> Somebody has any idea ?
>>
>>
>> # icinga2 -V
>> icinga2 - The Icinga 2 network monitoring daemon. (Version:
>> v0.0.7-48-g3b8c1a0)
>>
>>
>>
>> Greats
>>
>> -- Carlos
>>
>>
>> _______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.icinga.org
>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>
>
>
> -- 
>
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users


-- 

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to