hello John, My current setup has queue.workerThreads set at 20, but whenever I check processes or I add some testing delays it shows only one process being executed.
Thanks, Eudald On Thu, Jan 9, 2020, 01:24 John Chivian via rsyslog < [email protected]> wrote: > From the documentation... > > "By default, the omprog action will start an instance (process) of the > external program *per worker thread.* > (the maximum number of worker threads can be specified with the > queue.workerThreads > <https://www.rsyslog.com/doc/v8-stable/rainerscript/queue_parameters.html> > > parameter)." > > Give your pipeline a few more workers and see if that helps. > > Regards, > > > On 1/8/20 5:39 PM, Eudald Valcàrcel via rsyslog wrote: > > Hello! > > I've a kind of slow python plugin being fed from rsyslog. > > I'm using omprog, but I'd like to be able to launch another instance of > the > > plugin if the current one is in use. > > The problem is that by using sys.stdin.readline() and feeding it through > > omprog with a template ending in "\n" the plugin never gets an EOF and > > waits to process the next batch of data. > > > > Is there any way to accomplish that? > > > > Thank you! > > Eudald > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

