Hi Risto,
That makes sense as apparently the problem is that a shellcmd is
trying to write to the nagios command pipe and is hanging.

Cheers,
-Joe


On Thu, Mar 8, 2012 at 4:46 AM, Risto Vaarandi <[email protected]> wrote:
> On 03/08/2012 05:54 AM, Joe Prosser wrote:
>> Hi Folks,
>> I'm seeing a situation where somehow multiple instances of a sec
>> process are getting spawned when there should only be one.
>>
>> The extra copies most of the time disappear, but sometimes they don't
>> and there are hundreds of them and they bring the box to its knees.
>>
>> I think this is load-related.  Has anyone else ever seen this?
>>
>> Cheers,
>> -Joe
>
> Are you invoking external commands from rules with actions like
> 'shellcmd' or 'pipe'? If your command lines contain shell
> metacharacters, an extra process is started which interprets these
> characters (see the following FAQ entry for details:
> http://simple-evcorr.sourceforge.net/FAQ.html#22). Also, with actions
> that expect input from SEC (like the 'pipe' action), a separate control
> process is started which feeds the command with necessary data.
> As a result, you could see several SEC processes in the process table.
> If you are seeing many such processes, my guess is that the started
> commands are running too long for some reason (maybe these commands are
> waiting after some system resource). There is no other explanation for
> this, since SEC itself never forks another copy of itself, unless an
> external command line action is triggered.
> hope this helps,
> risto
>
>>
>> ------------------------------------------------------------------------------
>> Virtualization&  Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> _______________________________________________
>> Simple-evcorr-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Simple-evcorr-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to