[Spread-users] Spread daemon crashing

Witold Kręcicki witold.krecicki at firma.o2.pl
Wed Feb 13 16:53:37 EST 2008


Using spread daemon with :
-#define        MAX_SCATTER_ELEMENTS    100
+#define        MAX_SCATTER_ELEMENTS    100000

-#define         MAX_PRIVATE_NAME        10 /* largest possible size of 
private_name field of SP_connect() */
+#define         MAX_PRIVATE_NAME        32 /* largest possible size of 
private_name field of SP_connect() */
these changes, strange things occur under heavy load:

<quote>

Mem[obj_type].bytes_allocated : 1097144    mem_header_ptr(object)->block_len   
1600008       sizeof(mem_header) 16      obj_type 20
spread: memory.c:612: dispose: Assertion `0' failed.
</quote>
This assertion has been changed for debugging purposes, originally it looks 
like:

assert(Mem[obj_type].bytes_allocated >= mem_header_ptr(object)->block_len + 
sizeof(mem_header));

Machine is dual quad-core Opteron, 16GB RAM. "Heavy load" is 3 spread daemons, 
10 groups, in each 4-5 members, ~500 msgs/sec total

-- 
Witold Kręcicki

o2.pl Spółka z o.o., ul. Jutrzenki 177, 02-231 Warszawa,
KRS 0000140518, Sąd Rejonowy dla m.st. Warszawy, Kapitał zakładowy 308.250,00 
zł., NIP 521-31-11-513




More information about the Spread-users mailing list