mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
d70d7797c8
commit
c0bc156696
@ -228,10 +228,6 @@ static Value ProcessWaitPIDImpl(struct msghdr *msgh, const Dictionary::Ptr& requ
|
|||||||
|
|
||||||
static void ProcessHandler(void)
|
static void ProcessHandler(void)
|
||||||
{
|
{
|
||||||
sigset_t mask;
|
|
||||||
sigfillset(&mask);
|
|
||||||
sigprocmask(SIG_SETMASK, &mask, NULL);
|
|
||||||
|
|
||||||
rlimit rl;
|
rlimit rl;
|
||||||
if (getrlimit(RLIMIT_NOFILE, &rl) >= 0) {
|
if (getrlimit(RLIMIT_NOFILE, &rl) >= 0) {
|
||||||
rlim_t maxfds = rl.rlim_max;
|
rlim_t maxfds = rl.rlim_max;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user