403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/net/pacemaker1/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/pacemaker1/files/patch-crmd_pengine.c
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");

Youez - 2016 - github.com/yon3zu
LinuXploit