> > > > 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
to
> > sendto()...
> 
> Where did you find the 64kb limit here?
> 
> > > > and, openais...
> > > > Unfortunately, we don't have enough experience to select this.
> > > I highly suggest you rectify that.
> > It's hard to convince many managers in a moment.
> 
> Then you may have to recompile with larger limits, but UDP is not very
> efficient at transmitting such large messages.


Yes, it's UDP.

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 > 0xFFFF) 
  512                 return -EMSGSIZE;


in line 511, the limit for UDP packet is 65535 kbyte.
I got "EMSGSIZE" from here, so I suspect heartbeat as the cause of this.
If heartbeat send 256 kbyte message as it is,
UDP layer could not handle it.

Thanks,
Junko

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to