Comments (7)
Why would one spawn multiple instances of the same program and only use a single instance at once?
I'm not being ironic, I'm genuinely interested in whether this actually makes sense.
from rsyslog.
As i said... conversion aid to v8. so omprog works with v8 interface. If it
wouldn't support multiple instances, it wouldn't work.
For omfile it makes sense, as you really can't write concurrently.
Rainer
Sent from phone, thus brief.
Am 24.01.2014 13:01 schrieb "Radu Gheorghe" [email protected]:
Why would one spawn multiple instances of the same program and only use a
single instance at once?I'm not being ironic, I'm genuinely interested in whether this actually
makes sense.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-33217398
.
from rsyslog.
OK, then.
+1 to making multiple instances work in parallel by default.
from rsyslog.
I think as long as you have the ability to use a single instance then it would work. I have a program I'm working on getting to work with omprog that would not handle multiple instances do to the nature of how it was designed by the original writers.
from rsyslog.
@radu-gheorghe Sorry... I was a bit confused about which conversation I was replying to ;) In the context of this issue, there are indeed some valid reasons (as @Ralnoc noted) to run in single thread-mode only. One of them is that the script connects to a destination that requires strict sequence (e.g. from a single IP).
It's notworthy that the rsyslog engine starts up workers for rulesets. So it is not possible to restrict a single action to just one worker (except if you create a dedicated ruleset for it, of course, but that's ugly). As such, we must be able to support "non-threadable" plugins in a way that prevents them from being executed concurrently.
from rsyslog.
This is now done, to be released with v8.1.6. It's a series of two commits, this is the last one: f753951
from rsyslog.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from rsyslog.
Related Issues (20)
- Feature request: New input channel for dnstap ( framestream ) messages over network port
- How to get rsyslog to honour msg hostname and timestamp for local connections HOT 1
- When $AllowedSender TCP/UDP changed IP got Error - TCP message from disallowed sender HOT 4
- test suite failure with DTLS support enabled HOT 9
- DTLS build failure: make[2]: *** No rule to make target '../../runtime/lmnsd_ossl.la', needed by 'imdtls.la'. Stop.
- DTLS make install failure: /usr/bin/ld: cannot find -llmnsd_ossl: No such file or directory HOT 4
- Build with old openssl 1.0.1e (el6) since nsd_ossl.c revamp / dtls HOT 2
- rsyslog crash with "double free or corruption (out)" HOT 4
- Debian 11 OBS package doesn't ship `/usr/lib/rsyslog/rsyslog-rotate` HOT 5
- Q: Debian 11 OBS package plugins location
- RFE: Debian 11 OBS package with imkmsg
- Rsyslog and postgresql on same system?
- rsyslogd crashed with SIGABRT with Invalid next size message HOT 2
- imjournal.state file create mode
- We want to use the rfc3339 standard but manually change the timezone HOT 2
- Rsyslog 8.2402.0 does not build with LibreSSL 3.8.3 HOT 2
- clientLog rsyslogd: omrelp: could not connect to remote server, librelp error 10007 HOT 2
- test suite failures on armhf/armel after the switch to 64 bit timestamps
- Compilation error with omhttp enabled HOT 1
- Typo in error message when file in `cat /non/existent/file` does not exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsyslog.