[Spread-users] max message size

Yuval Lifshitz yuvalif at yahoo.com
Mon Jul 16 05:34:53 EDT 2007


Thanks John, it is working.
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:

[Mon 16 Jul 2007 10:39:57] E_handle_events: next event 
[Mon 16 Jul 2007 10:39:57] E_handle_events: exec time event 
[Mon 16 Jul 2007 10:39:57] DL_send: sent a message of 784 bytes to (172.16.0.57,4804) on channel 5
[Mon 16 Jul 2007 10:39:57] DL_send: sent a message of 784 bytes to (172.16.0.57,4804) on channel 5
[Mon 16 Jul 2007 10:39:57] dispose: disposing pointer 0x81aafa0 to object type 35 named time_event
[Mon 16 Jul 2007 10:39:57] E_dequeue: first event dequeued func 0x8055830 code 0 data 0x0
[Mon 16 Jul 2007 10:39:57] new: reusing pointer 0x81aafa0 to object type 35 named time_event
[Mon 16 Jul 2007 10:39:57] E_queue: (only) event queued func 0x8055118 code 0 data 0x0 in future (5:0)
[Mon 16 Jul 2007 10:39:57] E_dequeue: no such event
[Mon 16 Jul 2007 10:39:57] dispose: disposing pointer 0x81a8b68 to object type 35 named time_event
[Mon 16 Jul 2007 10:39:57] E_handle_events: poll select
[Mon 16 Jul 2007 10:39:57] E_handle_events: exec handler for fd 4, fd_type 0, priority 1
[Mon 16 Jul 2007 10:39:57] DL_recv: received 588 bytes on channel 4
[Mon 16 Jul 2007 10:39:57] Received Token
[Mon 16 Jul 2007 10:39:57] it is a Form Token.
[Mon 16 Jul 2007 10:39:57] Memb_handle_token: handling form2 token
[Mon 16 Jul 2007 10:39:57] Handle_form2 in FORM
[Mon 16 Jul 2007 10:39:57] Net_set_membership: I am a Segment leader
[Mon 16 Jul 2007 10:39:57] Net_set_membership: Token_address : (-1408237528, 4804)
[Mon 16 Jul 2007 10:39:57] Read_form2: num_rings = 1, num_bytes = 560, Memb_id = (-1408237528 1184571586)
Exit caused by Alarm(EXIT)

John Schultz <jschultz at spreadconcepts.com> wrote: The Java interface performs its own integrity checks before sending to the 
daemon and it doesn't base its checks off of the header files that you 
modified.

Trying modifying MAX_MESSAGE_LENGTH in SpreadConnection.java to something 
like 580000 and see if that solves your problem.

Cheers!

---
John Schultz
Spread Concepts
Phn: 443 838 2200

On Mon, 9 Jul 2007, Yuval Lifshitz wrote:

> hi all,
> I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.
> I followed a response by John Schultz, and defined:
> #define  MAX_PACKET_SIZE                  5888 /* 1472    1472 = 1536-64 (of udp)*/
> assuming that: MAX_MESSAGE_BODY_LEN  should be (100 * (5888 - 32) ) = 585600
> 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".
> Do you think I should change the MAX_SCATTER_ELEMENTS instead?
>
> thanks,
>
> Yuval
>
>
> ---------------------------------
> Shape Yahoo! in your own image.  Join our Network Research Panel today!

_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users




John Schultz <jschultz at spreadconcepts.com> wrote: The Java interface performs its own integrity checks before sending to the 
daemon and it doesn't base its checks off of the header files that you 
modified.

Trying modifying MAX_MESSAGE_LENGTH in SpreadConnection.java to something 
like 580000 and see if that solves your problem.

Cheers!

---
John Schultz
Spread Concepts
Phn: 443 838 2200

On Mon, 9 Jul 2007, Yuval Lifshitz wrote:

> hi all,
> I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.
> I followed a response by John Schultz, and defined:
> #define  MAX_PACKET_SIZE                  5888 /* 1472    1472 = 1536-64 (of udp)*/
> assuming that: MAX_MESSAGE_BODY_LEN  should be (100 * (5888 - 32) ) = 585600
> 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".
> Do you think I should change the MAX_SCATTER_ELEMENTS instead?
>
> thanks,
>
> Yuval
>
>
> ---------------------------------
> Shape Yahoo! in your own image.  Join our Network Research Panel today!

_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users


John Schultz <jschultz at spreadconcepts.com> wrote: The Java interface performs its own integrity checks before sending to the 
daemon and it doesn't base its checks off of the header files that you 
modified.

Trying modifying MAX_MESSAGE_LENGTH in SpreadConnection.java to something 
like 580000 and see if that solves your problem.

Cheers!

---
John Schultz
Spread Concepts
Phn: 443 838 2200

On Mon, 9 Jul 2007, Yuval Lifshitz wrote:

> hi all,
> I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.
> I followed a response by John Schultz, and defined:
> #define  MAX_PACKET_SIZE                  5888 /* 1472    1472 = 1536-64 (of udp)*/
> assuming that: MAX_MESSAGE_BODY_LEN  should be (100 * (5888 - 32) ) = 585600
> 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".
> Do you think I should change the MAX_SCATTER_ELEMENTS instead?
>
> thanks,
>
> Yuval
>
>
> ---------------------------------
> Shape Yahoo! in your own image.  Join our Network Research Panel today!

_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users


 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20070716/5c81a74c/attachment.html 


More information about the Spread-users mailing list