aboutsummaryrefslogtreecommitdiff
path: root/net/pacemaker1/files/patch-crmd_pengine.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/pacemaker1/files/patch-crmd_pengine.c')
-rw-r--r--net/pacemaker1/files/patch-crmd_pengine.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/net/pacemaker1/files/patch-crmd_pengine.c b/net/pacemaker1/files/patch-crmd_pengine.c
deleted file mode 100644
index 0da0c14b30c0..000000000000
--- a/net/pacemaker1/files/patch-crmd_pengine.c
+++ /dev/null
@@ -1,15 +0,0 @@
-On FreeBSD the maximum IPC buffer size is defined by the kern.ipc.maxsockbuf
-sysctl which defaults to 2M. This patch simply lowers the max message size
-in pengine from 5M to 1M to work out of the box without requiring any tuning.
-
---- crmd/pengine.c.orig 2016-11-30 19:51:58 UTC
-+++ crmd/pengine.c
-@@ -165,7 +165,7 @@ do_pe_control(long long action,
-
- pe_subsystem->source =
- mainloop_add_ipc_client(CRM_SYSTEM_PENGINE, G_PRIORITY_DEFAULT,
-- 5 * 1024 * 1024 /* 5MB */ , NULL, &pe_callbacks);
-+ 1024 * 1024 /* 1MB */ , NULL, &pe_callbacks);
-
- if (pe_subsystem->source == NULL) {
- crm_warn("Setup of client connection failed, not adding channel to mainloop");