Thanks John, it is working.<br>But.. when I'm using the newly compiled daemon, it shuts down from time to time (could not find the exact scenario), with the following messages in the log:<br><br>[Mon 16 Jul 2007 10:39:57] E_handle_events: next event <br>[Mon 16 Jul 2007 10:39:57] E_handle_events: exec time event <br>[Mon 16 Jul 2007 10:39:57] DL_send: sent a message of 784 bytes to (172.16.0.57,4804) on channel 5<br>[Mon 16 Jul 2007 10:39:57] DL_send: sent a message of 784 bytes to (172.16.0.57,4804) on channel 5<br>[Mon 16 Jul 2007 10:39:57] dispose: disposing pointer 0x81aafa0 to object type 35 named time_event<br>[Mon 16 Jul 2007 10:39:57] E_dequeue: first event dequeued func 0x8055830 code 0 data 0x0<br>[Mon 16 Jul 2007 10:39:57] new: reusing pointer 0x81aafa0 to object type 35 named time_event<br>[Mon 16 Jul 2007 10:39:57] E_queue: (only) event queued func 0x8055118 code 0 data 0x0 in future (5:0)<br>[Mon 16 Jul 2007 10:39:57] E_dequeue: no such event<br>[Mon 16 Jul
2007 10:39:57] dispose: disposing pointer 0x81a8b68 to object type 35 named time_event<br>[Mon 16 Jul 2007 10:39:57] E_handle_events: poll select<br>[Mon 16 Jul 2007 10:39:57] E_handle_events: exec handler for fd 4, fd_type 0, priority 1<br>[Mon 16 Jul 2007 10:39:57] DL_recv: received 588 bytes on channel 4<br>[Mon 16 Jul 2007 10:39:57] Received Token<br>[Mon 16 Jul 2007 10:39:57] it is a Form Token.<br>[Mon 16 Jul 2007 10:39:57] Memb_handle_token: handling form2 token<br>[Mon 16 Jul 2007 10:39:57] Handle_form2 in FORM<br>[Mon 16 Jul 2007 10:39:57] Net_set_membership: I am a Segment leader<br>[Mon 16 Jul 2007 10:39:57] Net_set_membership: Token_address : (-1408237528, 4804)<br>[Mon 16 Jul 2007 10:39:57] Read_form2: num_rings = 1, num_bytes = 560, Memb_id = (-1408237528 1184571586)<br>Exit caused by Alarm(EXIT)<br><br><b><i>John Schultz <jschultz@spreadconcepts.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left:
5px; padding-left: 5px;"> The Java interface performs its own integrity checks before sending to the <br>daemon and it doesn't base its checks off of the header files that you <br>modified.<br><br>Trying modifying MAX_MESSAGE_LENGTH in SpreadConnection.java to something <br>like 580000 and see if that solves your problem.<br><br>Cheers!<br><br>---<br>John Schultz<br>Spread Concepts<br>Phn: 443 838 2200<br><br>On Mon, 9 Jul 2007, Yuval Lifshitz wrote:<br><br>> hi all,<br>> I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.<br>> I followed a response by John Schultz, and defined:<br>> #define MAX_PACKET_SIZE 5888 /* 1472 1472 = 1536-64 (of udp)*/<br>> assuming that: MAX_MESSAGE_BODY_LEN should be (100 * (5888 - 32) ) = 585600<br>> I'm using the Java interface, and when I try to send a message larger than 100K, I still get the error of "buffer to small".<br>> Do you think I should
change the MAX_SCATTER_ELEMENTS instead?<br>><br>> thanks,<br>><br>> Yuval<br>><br>><br>> ---------------------------------<br>> Shape Yahoo! in your own image. Join our Network Research Panel today!<br><br>_______________________________________________<br>Spread-users mailing list<br>Spread-users@lists.spread.org<br>http://lists.spread.org/mailman/listinfo/spread-users<br></blockquote><br><br><br><br><b><i>John Schultz <jschultz@spreadconcepts.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> The Java interface performs its own integrity checks before sending to the <br>daemon and it doesn't base its checks off of the header files that you <br>modified.<br><br>Trying modifying MAX_MESSAGE_LENGTH in SpreadConnection.java to something <br>like 580000 and see if that solves your problem.<br><br>Cheers!<br><br>---<br>John Schultz<br>Spread Concepts<br>Phn: 443
838 2200<br><br>On Mon, 9 Jul 2007, Yuval Lifshitz wrote:<br><br>> hi all,<br>> I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.<br>> I followed a response by John Schultz, and defined:<br>> #define MAX_PACKET_SIZE 5888 /* 1472 1472 = 1536-64 (of udp)*/<br>> assuming that: MAX_MESSAGE_BODY_LEN should be (100 * (5888 - 32) ) = 585600<br>> I'm using the Java interface, and when I try to send a message larger than 100K, I still get the error of "buffer to small".<br>> Do you think I should change the MAX_SCATTER_ELEMENTS instead?<br>><br>> thanks,<br>><br>> Yuval<br>><br>><br>> ---------------------------------<br>> Shape Yahoo! in your own image. Join our Network Research Panel today!<br><br>_______________________________________________<br>Spread-users mailing
list<br>Spread-users@lists.spread.org<br>http://lists.spread.org/mailman/listinfo/spread-users<br></blockquote><br><br><b><i>John Schultz <jschultz@spreadconcepts.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> The Java interface performs its own integrity checks before sending to the <br>daemon and it doesn't base its checks off of the header files that you <br>modified.<br><br>Trying modifying MAX_MESSAGE_LENGTH in SpreadConnection.java to something <br>like 580000 and see if that solves your problem.<br><br>Cheers!<br><br>---<br>John Schultz<br>Spread Concepts<br>Phn: 443 838 2200<br><br>On Mon, 9 Jul 2007, Yuval Lifshitz wrote:<br><br>> hi all,<br>> I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.<br>> I followed a response by John Schultz, and defined:<br>> #define MAX_PACKET_SIZE 5888 /* 1472
1472 = 1536-64 (of udp)*/<br>> assuming that: MAX_MESSAGE_BODY_LEN should be (100 * (5888 - 32) ) = 585600<br>> I'm using the Java interface, and when I try to send a message larger than 100K, I still get the error of "buffer to small".<br>> Do you think I should change the MAX_SCATTER_ELEMENTS instead?<br>><br>> thanks,<br>><br>> Yuval<br>><br>><br>> ---------------------------------<br>> Shape Yahoo! in your own image. Join our Network Research Panel today!<br><br>_______________________________________________<br>Spread-users mailing list<br>Spread-users@lists.spread.org<br>http://lists.spread.org/mailman/listinfo/spread-users<br></blockquote><br><p> 
<hr size=1><a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367">Food fight?</a> Enjoy some healthy debate<br>in the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367">Yahoo! Answers Food & Drink Q&A.</a>