[Pacemaker] Where is MAXMSG defined?

Adrian Fita adrian.fita at gmail.com
Wed Feb 8 02:55:19 EST 2012


Yes, found it where you said it was. I haven't search cluster-glue, I
didn't imagine it would be there.

The reason I need it, was to increase its value because I disabled the
bz2 compression (don't know if I did it right either... do you have
any sugestions on how to disable the bz2 compression and if it has any
positive impact on the cluster's convergence?) trying to increase the
performnace of a cluster with
100 primitives. After disabling the compression, I got the following
in the log and thought that I can solve it by increasing the MAXMSG
parameter:

Feb  7 05:38:04 node1 cib: [2394]: ERROR: msg2wirefmt_ll: msg too
big(978250) for string fmt
Feb  7 05:38:04 node1 cib: [2394]: ERROR: hamsg2ipcmsg() failure
Feb  7 05:38:04 node1 cib: [2394]: WARN: send_ipc_message: Could not
send IPC message to 2449
Feb  7 05:38:04 node1 cib: [2394]: WARN: send_via_callback_channel:
Delivery of reply to client
crm_mon/3fc19cd0-a93b-460e-bc46-a785045f429e failed
Feb  7 05:38:04 node1 cib: [2394]: WARN: do_local_notify: Sync reply
to crm_mon failed: reply failed

I didn't had a chance yet  to check how it works after increasing
MAXMSG to 512, I'll try to get back on this after testing.

--
Fita Adrian

On Tue, Feb 7, 2012 at 14:40, Lars Ellenberg <lars.ellenberg at linbit.com> wrote:
> On Tue, Feb 07, 2012 at 01:13:19PM +0200, Adrian Fita wrote:
>> Hi.
>>
>> I can't find any trace of "define MAXMSG" in either pacemaker,
>> corosync, heartbeat's source code. I tried with "grep -R 'MAXMSG' *"
>> and nothing. Where is it defined?!
>
> If you are asking about what I think you do,
> then that would be in glue,
> include/clplumbing/ipc.h
>
> But be careful, when fiddling with it.
>
> What are you trying to solve, btw?
>
> --
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list