Re: [Linux-HA] the maximum message size which bcast can handle

2008-09-09 Thread Lars Marowsky-Bree
On 2008-09-09T10:46:01, Junko IKEDA [EMAIL PROTECTED] wrote: net/ipv4/udp.c(2.6.18-92.el5)   495 int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct \ msghdr *msg,   496 size_t len)   497 {   511 if (len 0x)   512 return

RE: [Linux-HA] the maximum message size which bcast can handle

2008-09-09 Thread Junko IKEDA
net/ipv4/udp.c(2.6.18-92.el5)   495 int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct \ msghdr *msg,   496 size_t len)   497 {   511 if (len 0x)   512 return -EMSGSIZE; in line 511, the limit for UDP packet is 65535

Re: [Linux-HA] the maximum message size which bcast can handle

2008-09-09 Thread Andrew Beekhof
2008/9/9 Junko IKEDA [EMAIL PROTECTED]: net/ipv4/udp.c(2.6.18-92.el5) 495 int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct \ msghdr *msg, 496 size_t len) 497 { 511 if (len 0x) 512 return -EMSGSIZE; in line 511, the

RE: [Linux-HA] the maximum message size which bcast can handle

2008-09-08 Thread Junko IKEDA
Hmm. Perhaps this (the maximum packet size) has been checked by somebody before, then forgotten and it never got into discussion about the message compression. When I started working on the compression, the MAXMSG was already temporarily set to 2MB. Also, I can distinctly recall that Lars

RE: [Linux-HA] the maximum message size which bcast can handle

2008-09-08 Thread Junko IKEDA
It means that heartbeat can't deliver a message if the uncompressed size is bigger than 2MB. It also means that heartbeat can't deliver a message if, after compressing the message, the size is still bigger than 256kB. I see, First control gate is 2MB, second is 256kB. If MAXMSG(256kbyte)

Re: [Linux-HA] the maximum message size which bcast can handle

2008-09-08 Thread Lars Marowsky-Bree
On 2008-09-08T17:24:30, Junko IKEDA [EMAIL PROTECTED] wrote: It also means that heartbeat can't deliver a message if, after compressing the message, the size is still bigger than 256kB. I see, First control gate is 2MB, second is 256kB. Yes. it, because the max size for sendto() is

RE: [Linux-HA] the maximum message size which bcast can handle

2008-09-08 Thread Junko IKEDA
it, because the max size for sendto() is 64kbyte. 256kbyte message should be split into pieces before sending as packet. by the way, I set bcast in ha.cf as media. I assume you're working on a patch for this? That means, heartbeat doesn't care for 256kB message before putting it

Re: [Linux-HA] the maximum message size which bcast can handle

2008-09-07 Thread Andrew Beekhof
alternatively, consider using openais which is less likely to run into these sorts of limits On Fri, Sep 5, 2008 at 17:08, Dejan Muhamedagic [EMAIL PROTECTED] wrote: Hi Junko-san, On Fri, Sep 05, 2008 at 05:53:53PM +0900, Junko IKEDA wrote: Hi, I encountered the following error. There are

Re: [Linux-HA] the maximum message size which bcast can handle

2008-09-05 Thread Dejan Muhamedagic
Hi Junko-san, On Fri, Sep 05, 2008 at 05:53:53PM +0900, Junko IKEDA wrote: Hi, I encountered the following error. There are 9 nodes ( 8 actives + 1 standby) and each active node has 16 resources. heartbeat[23545]: 2008/09/02_17:12:10 ERROR: glib: Unable to send bcast [-1]