hi Nicolas,
I created a simple test setup: syslog-ng 3.0.7 on Linux, with SEC being started 
from a program() destination driver. 
In my case, syslog-ng correctly sends the SIGTERM signal to SEC process when 
syslog-ng it is restarted with SIGHUP. (On the reception of SIGTERM, SEC 
terminates.)
What version of syslog-ng are you using, is SEC also started from a destination 
driver? If your syslog-ng fails to send SIGTERM to SEC (and all other child 
processes), or does not notify its child processes in any other reasonable way, 
it is somewhat hard to tackle this problem. 
One way is to configure SEC to monitor syslog-ng's own log and write a rule to 
call exit(0) from eval action if restart message appears in the log. This is, 
however, a cumbersome approach -- if you are running older syslog-ng and the 
new version does not have the problem you have described, it might be simpler 
to upgrade syslog-ng.
with kind regards,
risto


> Hi,
> 
> I observed that when I reload or restart syslog-ng, an
> other instance of 
> sec.pl is starting and remain in sleeping mode. As a
> result, after many 
> reloads of syslog-ng, server ressources workload increase.
> 
> Why does an instance of SEC starting for each reload of
> syslog-ng ? How 
> I can stop it automatically ?
> 
> Thanks in advance,
> 
> Nicolas.
> 
> PS : Sorry for my English
> 
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use
> the
> Plug-In Development Kit to bring their C/C++ apps to Palm
> for a share 
> of $1 Million in cash or HP Products. Visit us here for
> more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> Simple-evcorr-users mailing list
> Simple-evcorr-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
> 


      

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to