[Spread-users] Leader crashing often
eholyat at olf.com
Fri Nov 2 14:29:16 EDT 2007
John in my case, I have my MAX_GROUP_NAME==255 which is a requirement
for our app.
All daemons are at this size. Everything works fine until this buffer
is blown, which is < 200 members. John, I understand why it is
happening, I just would like to know if the truncation is ok.
From: spread-users-bounces at lists.spread.org
[mailto:spread-users-bounces at lists.spread.org] On Behalf Of John Schultz
Sent: Friday, November 02, 2007 11:54 AM
To: spread-users at lists.spread.org
Subject: RE: [Spread-users] Leader crashing often
I believe Ed is correct. This problem can occur when the daemon tries
construct a message that is too large to fit in a single message. This
can occur if the number of members in a group is too large to fit in a
message -- but, by default (MAX_GROUP_SIZE=32), this should take
like having a group with at least 1500 members in it (worst case).
The only other way I can think this could happen is if you changed the
default MAX_GROUP_SIZE, as Ed pointed out, or if the client and daemon
were compiled and have different ideas of what MAX_MESSAGE_SIZE are.
Normally, clients shouldn't be able to inject any messages that would
cause the daemon to run out of space in allocating a user message.
So, if you have messages that you send to lots and lots of private
this could be the problem if the client and daemon have different
conceptions of MAX_GROUP_SIZE.
Phn: 443 838 2200
On Fri, 2 Nov 2007, Ed Holyat wrote:
> It is not necessarily the number of members in the group. The crash
> related to the number of members * the size of the private names
> associated with that group. This can not exceed the vector space that
> sends this information out which will hold maximum
> 100 ( num_elements ) * MAX_PACKET_SIZE
> -----Original Message-----
> From: Nico Meyer [mailto:nmeyer at virtualminds.de]
> Sent: Friday, November 02, 2007 10:31 AM
> To: Ed Holyat
> Cc: spread-users at lists.spread.org
> Subject: Re: [Spread-users] Leader crashing often
> But does this relate to the total number of members summed over all
> groups, or
> only the number of groups a certain message is directed to? Because we
> have a high number of clients which are in no group (aside from their
> group of course), but we certainly have no group with 100 members.
> On Friday 02 November 2007 15:13:30 Ed Holyat wrote:
>> This seems to be related to the issue I am also experiencing.
>> See subject RE: [Spread-users] To protect against SEGV in scatter on
>> mailing list.
>> I attached a fix, the fix truncates the member list when the number
>> elements is exceeded.
>> I am waiting to find out what the side effects of truncating the
>> list is. The correct fix may be to send two messages so the member
>> is not truncated.
>> -----Original Message-----
>> From: spread-users-bounces at lists.spread.org
>> [mailto:spread-users-bounces at lists.spread.org] On Behalf Of Nico
>> Sent: Friday, November 02, 2007 4:45 AM
>> To: spread-users at lists.spread.org
>> Subject: [Spread-users] Leader crashing often
>> lately one of our spread daemons started to crash very often with the
>> following log message:
>> spread: message.c:398: Message_add_scat_element: Assertion
>> 100' failed.
>> The only thing special about this one daemon is that it normally is
>> Does anbody know, what can cause this?
>> Thank you,
>> Spread-users mailing list
>> Spread-users at lists.spread.org
> Spread-users mailing list
> Spread-users at lists.spread.org
Spread-users mailing list
Spread-users at lists.spread.org
More information about the Spread-users