diff options
| author | Florian Smeets <flo@FreeBSD.org> | 2018-05-24 18:24:50 +0000 |
|---|---|---|
| committer | Florian Smeets <flo@FreeBSD.org> | 2018-05-24 18:24:50 +0000 |
| commit | ce5d6d0b91fa05a02202ed6e88acbea8bcdc1ec0 (patch) | |
| tree | a793dfc3544527fe94e724352edcf8fe22cf2bdc /net/pacemaker1/files/patch-crmd_pengine.c | |
| parent | java/visualvm: update to 1.4.1 (diff) | |
- add net/corosync3 (2.99.2)
- add net/pacemaker2 (2.0.0-rc4)
- net/corosync -> net/corosync2 (update to 2.4.4)
- net/pacemaker -> net/pacemaker1 (update to 1.1.18)
- add USES=corosync to deal with multiple versions
PR: 228164, 228165
Submitted by: David Shane Holden <dpejesh@yahoo.com>
Notes
Notes:
svn path=/head/; revision=470799
Diffstat (limited to 'net/pacemaker1/files/patch-crmd_pengine.c')
| -rw-r--r-- | net/pacemaker1/files/patch-crmd_pengine.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/pacemaker1/files/patch-crmd_pengine.c b/net/pacemaker1/files/patch-crmd_pengine.c new file mode 100644 index 000000000000..0da0c14b30c0 --- /dev/null +++ b/net/pacemaker1/files/patch-crmd_pengine.c @@ -0,0 +1,15 @@ +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"); |
