[Spread-users] Problem with spuser on 1 of my nodes

Jonathan Stanton jonathan at spread.org
Thu Oct 23 23:43:55 EDT 2008


This configuration will not work because the broadcast addresses you are using for the Spread_Segnents are in the localhost 
network 127.0.0.1. You need to either use the broadcast network address (10.2.5.255 I would guess) or a IP multicast address 
such as 226.5.6.7 (if using multicast make sure your switches and routers support it and will forward the joins)

Your log shows the membership algorithm working (but slowly -- it appears to be timing out for each stage), at the end of the 
log it has reached the end of the membership algorithm and should start passwing messages, but it also sets a 10 second 
timeout if no messages arrive. Since that's the end of the attached log, I'm not sure what happens then. 

During the membership, user events like the join and send you try will not complete, but ususally membership should take less 
then a second if networking is working so you would not notice normally. 

I would try again with the broadcast configured. In your previous email you had a broadcast configuration set up and it was 
forming a membership and handling some of your events, but it appeared that the groups were partitioned (each sp_user join 
only saw itself in the 'test' group. 

See my response to your other email about the specifics of that configuration.

Cheers,

Jonathan

On Thu, Oct 23, 2008 at 06:26:22PM -0500, Valentino, Paul wrote:
> On one of my nodes spuser does not display any info when I do a join or try
> to send a message - not even locally - also still cannot get even 2 nodes on
> same subnet talking using broadcast or unicast configurations.  input
> appreciated. 
> 
> Current config is unicast
> Spread_Segment 127.0.0.1:3333 {
>         mnsvlwwwt001    10.2.5.40
> }
> Spread_Segment 127.0.0.1:3333 {
>        mnsvlwwwt003    10.2.5.50
> }
> Spread_Segment 127.0.0.1:3333 {
>         noc1    10.3.17.36
> }
> DebugFlags = { ALL }
> EventLogFile = spreadlog_%h.out
> EventTimeStamp = "[%a %d %b %Y %H:%M:%S]"
> DangerousMonitor = false
> DaemonUser = spread
> DaemonGroup = spread
> SocketPortReuse = AUTO
> 
> 
> User: connected to 3333 with private group #r0-9#mnsvlwwwt003
> 
> ==========
> User Menu:
> ----------
> 
>         j <group> -- join a group
>         l <group> -- leave a group
> 
>         s <group> -- send a message
>         b <group> -- send a burst of messages
> 
>         r -- receive a message (stuck)
>         p -- poll for a message
>         e -- enable asynchonous read (default)
>         d -- disable asynchronous read
> 
>         q -- quit
> 
> User> j test
> 
> User> l test
> 
> User> q
> 
> [Thu 23 Oct 2008 18:24:47] Send_join: State is 4
> [Thu 23 Oct 2008 18:24:47] DL_send: sent a message of 64 bytes to
> (10.2.5.40,3333) on channel 5
> [Thu 23 Oct 2008 18:24:47] DL_send: sent a message of 64 bytes to
> (10.2.5.50,3333) on channel 5
> [Thu 23 Oct 2008 18:24:47] new: reusing pointer 0x9ccb408 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:47] E_queue: (first) event queued func 0x80559e8 code
> 0 data 0x0 in future (1:0)
> [Thu 23 Oct 2008 18:24:47] dispose: disposing pointer 0x9ccb3e0 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:47] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:47] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:47] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:47] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:47] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:47] E_handle_events: select with timeout (0, 999845)
> [Thu 23 Oct 2008 18:24:47] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:47] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:47] Net_recv: Received Packet - packet length(64),
> packed message length(64)
> [Thu 23 Oct 2008 18:24:47] Memb_handle_message: handling join message from
> 10.2.5.40, State is 4
> [Thu 23 Oct 2008 18:24:47] new: reusing pointer 0x9ccb3e0 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:47] dispose: disposing pointer 0x9ccb430 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:47] E_queue: dequeued a simillar event
> [Thu 23 Oct 2008 18:24:47] E_queue: (last) event queued func 0x8057058 code
> 0 data 0x0 in future (10:0)
> [Thu 23 Oct 2008 18:24:47] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:47] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:47] E_handle_events: select with timeout (0, 999456)
> [Thu 23 Oct 2008 18:24:48] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:48] E_handle_events: exec time event
> [Thu 23 Oct 2008 18:24:48] Send_join: State is 4
> [Thu 23 Oct 2008 18:24:48] DL_send: sent a message of 64 bytes to
> (10.2.5.40,3333) on channel 5
> [Thu 23 Oct 2008 18:24:48] DL_send: sent a message of 64 bytes to
> (10.2.5.50,3333) on channel 5
> [Thu 23 Oct 2008 18:24:48] new: reusing pointer 0x9ccb430 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:48] E_queue: (first) event queued func 0x80559e8 code
> 0 data 0x0 in future (1:0)
> [Thu 23 Oct 2008 18:24:48] dispose: disposing pointer 0x9ccb408 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:48] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:48] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:48] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:48] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:48] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:48] E_handle_events: select with timeout (0, 999870)
> [Thu 23 Oct 2008 18:24:48] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:48] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:48] Net_recv: Received Packet - packet length(64),
> packed message length(64)
> [Thu 23 Oct 2008 18:24:48] Memb_handle_message: handling join message from
> 10.2.5.40, State is 4
> [Thu 23 Oct 2008 18:24:48] new: reusing pointer 0x9ccb408 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:48] dispose: disposing pointer 0x9ccb3e0 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:48] E_queue: dequeued a simillar event
> [Thu 23 Oct 2008 18:24:48] E_queue: (last) event queued func 0x8057058 code
> 0 data 0x0 in future (10:0)
> [Thu 23 Oct 2008 18:24:48] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:48] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:48] E_handle_events: select with timeout (1, 173)
> [Thu 23 Oct 2008 18:24:49] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:49] E_handle_events: exec time event
> [Thu 23 Oct 2008 18:24:49] Send_join: State is 4
> [Thu 23 Oct 2008 18:24:49] DL_send: sent a message of 64 bytes to
> (10.2.5.40,3333) on channel 5
> [Thu 23 Oct 2008 18:24:49] DL_send: sent a message of 64 bytes to
> (10.2.5.50,3333) on channel 5
> [Thu 23 Oct 2008 18:24:49] new: reusing pointer 0x9ccb3e0 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:49] E_queue: (first) event queued func 0x80559e8 code
> 0 data 0x0 in future (1:0)
> [Thu 23 Oct 2008 18:24:49] dispose: disposing pointer 0x9ccb430 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:49] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:49] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:49] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:49] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:49] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:49] E_handle_events: select with timeout (0, 999839)
> [Thu 23 Oct 2008 18:24:49] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:49] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:49] Net_recv: Received Packet - packet length(64),
> packed message length(64)
> [Thu 23 Oct 2008 18:24:49] Memb_handle_message: handling join message from
> 10.2.5.40, State is 4
> [Thu 23 Oct 2008 18:24:49] new: reusing pointer 0x9ccb430 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:49] dispose: disposing pointer 0x9ccb408 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:49] E_queue: dequeued a simillar event
> [Thu 23 Oct 2008 18:24:49] E_queue: (last) event queued func 0x8057058 code
> 0 data 0x0 in future (10:0)
> [Thu 23 Oct 2008 18:24:49] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:49] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:49] E_handle_events: select with timeout (0, 999449)
> [Thu 23 Oct 2008 18:24:50] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:50] E_handle_events: exec time event
> [Thu 23 Oct 2008 18:24:50] Send_join: State is 4
> [Thu 23 Oct 2008 18:24:50] DL_send: sent a message of 64 bytes to
> (10.2.5.40,3333) on channel 5
> [Thu 23 Oct 2008 18:24:50] DL_send: sent a message of 64 bytes to
> (10.2.5.50,3333) on channel 5
> [Thu 23 Oct 2008 18:24:50] new: reusing pointer 0x9ccb408 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:50] E_queue: (first) event queued func 0x80559e8 code
> 0 data 0x0 in future (1:0)
> [Thu 23 Oct 2008 18:24:50] dispose: disposing pointer 0x9ccb3e0 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:50] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:50] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:50] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:50] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:50] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:50] E_handle_events: select with timeout (0, 999866)
> [Thu 23 Oct 2008 18:24:50] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:50] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:50] Net_recv: Received Packet - packet length(64),
> packed message length(64)
> [Thu 23 Oct 2008 18:24:50] Memb_handle_message: handling join message from
> 10.2.5.40, State is 4
> [Thu 23 Oct 2008 18:24:50] new: reusing pointer 0x9ccb3e0 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:50] dispose: disposing pointer 0x9ccb430 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:50] E_queue: dequeued a simillar event
> [Thu 23 Oct 2008 18:24:50] E_queue: (last) event queued func 0x8057058 code
> 0 data 0x0 in future (10:0)
> [Thu 23 Oct 2008 18:24:50] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:50] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:50] E_handle_events: select with timeout (0, 999274)
> [Thu 23 Oct 2008 18:24:51] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:51] E_handle_events: exec time event
> [Thu 23 Oct 2008 18:24:51] Send_join: State is 4
> [Thu 23 Oct 2008 18:24:51] DL_send: sent a message of 64 bytes to
> (10.2.5.40,3333) on channel 5
> [Thu 23 Oct 2008 18:24:51] DL_send: sent a message of 64 bytes to
> (10.2.5.50,3333) on channel 5
> [Thu 23 Oct 2008 18:24:51] new: reusing pointer 0x9ccb430 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:51] E_queue: (first) event queued func 0x80559e8 code
> 0 data 0x0 in future (1:0)
> [Thu 23 Oct 2008 18:24:51] dispose: disposing pointer 0x9ccb408 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:51] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:51] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:51] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:51] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:51] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:51] E_handle_events: select with timeout (0, 999835)
> [Thu 23 Oct 2008 18:24:51] E_handle_events: exec handler for fd 3, fd_type
> 0, priority 2
> [Thu 23 Oct 2008 18:24:51] DL_recv: received 64 bytes on channel 3
> [Thu 23 Oct 2008 18:24:51] Net_recv: Received Packet - packet length(64),
> packed message length(64)
> [Thu 23 Oct 2008 18:24:51] Memb_handle_message: handling join message from
> 10.2.5.40, State is 4
> [Thu 23 Oct 2008 18:24:51] new: reusing pointer 0x9ccb408 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:51] dispose: disposing pointer 0x9ccb3e0 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:51] E_queue: dequeued a simillar event
> [Thu 23 Oct 2008 18:24:51] E_queue: (last) event queued func 0x8057058 code
> 0 data 0x0 in future (10:0)
> [Thu 23 Oct 2008 18:24:51] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:51] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:51] E_handle_events: select with timeout (0, 999103)
> [Thu 23 Oct 2008 18:24:52] E_handle_events: exec handler for fd 4, fd_type
> 0, priority 1
> [Thu 23 Oct 2008 18:24:52] DL_recv: received 788 bytes on channel 4
> [Thu 23 Oct 2008 18:24:52] Received Token
> [Thu 23 Oct 2008 18:24:52] it is a Form Token.
> [Thu 23 Oct 2008 18:24:52] Memb_handle_token: handling form1 token
> [Thu 23 Oct 2008 18:24:52] Handle_form1 in GATHER
> [Thu 23 Oct 2008 18:24:52] DL_send: sent a message of 624 bytes to
> (10.2.5.40,3334) on channel 5
> [Thu 23 Oct 2008 18:24:52] DL_send: sent a message of 624 bytes to
> (10.2.5.40,3334) on channel 5
> [Thu 23 Oct 2008 18:24:52] dispose: disposing pointer 0x9ccb430 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:52] E_dequeue: first event dequeued func 0x80559e8
> code 0 data 0x0
> [Thu 23 Oct 2008 18:24:52] dispose: disposing pointer 0x9ccb408 to object
> type 35 named time_event
> [Thu 23 Oct 2008 18:24:52] E_dequeue: first event dequeued func 0x8057058
> code 0 data 0x0
> [Thu 23 Oct 2008 18:24:52] E_dequeue: no such event
> [Thu 23 Oct 2008 18:24:52] new: reusing pointer 0x9ccb408 to object type 35
> named time_event
> [Thu 23 Oct 2008 18:24:52] E_queue: (only) event queued func 0x8055fac code
> 0 data 0x0 in future (10:0)
> [Thu 23 Oct 2008 18:24:52] E_dequeue: no such event
> [Thu 23 Oct 2008 18:24:52] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:52] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:52] E_handle_events: exec handler for fd 4, fd_type
> 0, priority 1
> [Thu 23 Oct 2008 18:24:52] DL_recv: received 788 bytes on channel 4
> [Thu 23 Oct 2008 18:24:52] Received Token
> [Thu 23 Oct 2008 18:24:52] it is a Form Token.
> [Thu 23 Oct 2008 18:24:52] Memb_handle_token: handling form1 token
> [Thu 23 Oct 2008 18:24:52] Handle_form1 in FORM
> [Thu 23 Oct 2008 18:24:52] E_handle_events: next event
> [Thu 23 Oct 2008 18:24:52] E_handle_events: poll select
> [Thu 23 Oct 2008 18:24:52] E_handle_events: select with timeout (9, 999785)
> 
> Any pointers are greatly appreciated.
> 
> Thanks



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


-- 
-------------------------------------------------------
Jonathan Stanton         jonathan at spread.org
Spread Group Messaging   www.spread.org
Spread Concepts LLC      www.spreadconcepts.com
-------------------------------------------------------




More information about the Spread-users mailing list