FreeBSD Bugzilla – Attachment 162077 Details for
Bug 201919
sysutils/monit delay of several minutes on "monit stop"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for monit-5.14
signal.patch (text/plain), 834 bytes, created by
Martin Pala
on 2015-10-15 16:04:55 UTC
(
hide
)
Description:
fix for monit-5.14
Filename:
MIME Type:
Creator:
Martin Pala
Created:
2015-10-15 16:04:55 UTC
Size:
834 bytes
patch
obsolete
>diff -Naur monit-5.14/src/http.c monit-5.14-signal/src/http.c >--- monit-5.14/src/http.c 2015-06-02 12:09:34.000000000 +0200 >+++ monit-5.14-signal/src/http.c 2015-10-15 18:02:38.000000000 +0200 >@@ -137,6 +137,8 @@ > > > static void *thread_wrapper(void *arg) { >+ sigset_t ns; >+ set_signal_block(&ns, NULL); > Engine_start(); > #ifdef HAVE_OPENSSL > Ssl_threadCleanup(); >diff -Naur monit-5.14/src/monit.c monit-5.14-signal/src/monit.c >--- monit-5.14/src/monit.c 2015-06-08 14:24:39.000000000 +0200 >+++ monit-5.14-signal/src/monit.c 2015-10-15 18:02:38.000000000 +0200 >@@ -819,6 +819,8 @@ > * M/Monit heartbeat thread > */ > static void *heartbeat(void *args) { >+ sigset_t ns; >+ set_signal_block(&ns, NULL); > LogInfo("M/Monit heartbeat started\n"); > LOCK(heartbeatMutex) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 201919
: 162077