On Sat, 13 Aug 2011, John P. Rouillard wrote:

> In message <alpine.deb.2.02.1108130922050.6...@asgard.lang.hm>,
> da...@lang.hm writes:
>
>> SEC works just fine reading from named pipe or stdin from a socket. I have
>> this working with rsyslog with the only problem being that when I want to
>> change the SEC rules, it involves a restart of rsyslog.
>
> Hmm, that's annoying to have to restart rsyslog? I assume it's the
> reopen logfile logic for the signals that requires this? Risto, for
> SIGHUP and SIGABRT can you tell if the filehandle is stdin and not
> close/reopen it? Maybe make it a command line option --no-close-stdin?

I'm actually having rsyslog write to a named pipe and having SEC reading 
from that named pip, the problem is that under load, the time it takes to 
restart SEC is enough for rsyslog to fill the pipe and die (at least with 
the version of rsyslog I'm running, a year or so old on that box)

David Lang

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to