Re: "Connected closed by Spread" on receiving
Lisa Vitolo <[email protected]> Fri, 20 Apr 2012 21:36:56 +0200
| Newsgroups | gmane.network.spread.user |
|---|---|
| Message-ID | <CAJy2vLFwDfkFSWXE1b5xObROHWbNnSDYqEstq3HNVjhA=X6iyg@mail.gmail.com> |
Il giorno 20 aprile 2012 21:28, John Schultz <[email protected]>ha scritto: > > > Maybe if you tell us more about your Spread version and OS environments > that might shed some more light? > Of course, I completely forgot. I'm using the Spread binary release version 4.0.0 and the OS is a 64 bit Chakra GNU/Linux installation with kernel v3.2 (it's the same for both applications). Lisa > > Cheers! > > ----- > John Lane Schultz > Spread Concepts LLC > Phn: 301 830 8100 > Cell: 443 838 2200 > > On Apr 20, 2012, at 3:10 PM, Lisa Vitolo wrote: > > Yes, after the sender sends the first message it waits for input from the > user, while SP_disconnect is called only when it terminates. > By the way, after SP_multicast returns with success isn't the sender able > to close the connection without problems anyway? > > About the receiving mailbox, it's closed only when a SIGINT signal arrives. > > Thanks for your patience :) > > Il giorno 20 aprile 2012 20:56, John Schultz <[email protected]> > ha scritto: > That is strange. The daemon's OS is claiming that the receiving client's > socket was closed abruptly for some reason. > > Are you 100% sure that the mailbox you are receiving on couldn't be closed > somehow (e.g. - by the sender calling SP_disconnect)? > > Cheers! > > ----- > John Lane Schultz > Spread Concepts LLC > Phn: 301 830 8100 > Cell: 443 838 2200 > > On Apr 20, 2012, at 2:35 PM, Lisa Vitolo wrote: > > Sorry! Gmail failed me and sent the message privately :D I'll repeat it > here. > > Thanks for the suggestion. It prints more useful debug messages now, but I > still can't figure out what they really mean. > > - The receiver connects: > Sess_accept: set sndbuf/rcvbuf to 204800 > Setting TCP_NODELAY on socket 9 > Sess_recv_client_auth: Client requested NULL type authentication > Sess_session_authorized: Accepting from 127.0.0.1 with private name get on > mailbox 9 > Sess_read: Message has type field 0x80010080 > Sess_read: queueing message of type 8 with len 0 to the protocol <-- is > "len 0" here the issue? > > - The sender connects: > Sess_accept: set sndbuf/rcvbuf to 204800 > Setting TCP_NODELAY on socket 10 > Sess_recv_client_auth: Client requested NULL type authentication > Sess_session_authorized: Accepting from 127.0.0.1 with private name send > on mailbox 10 > > - The sender sends the message: > Sess_read: Message has type field 0x80000081 > Sess_read: queueing message of type 2 with len 0 to the protocol > Sess_read: Message has type field 0x800000a0 > Sess_read: queueing message of type 16 with len 0 to the protocol > Sess_read: failed receiving header on session 9: ret -1: error: Connection > reset by peer > Sess_kill: killing session get ( mailbox 9 ) > > Cheers, > Lisa > > Il giorno 20 aprile 2012 20:17, John Schultz <[email protected]> > ha scritto: > > What does the daemon output around the time your receiver is disconnected? > > If nothing, then I would add the SESSION flag to your daemon's DebugFlags > in its configuration file and re-run to try to see why the daemon is > closing your receiver. > > Cheers! > > ----- > John Lane Schultz > Spread Concepts LLC > Phn: 301 830 8100 > Cell: 443 838 2200 > > > -- > They say a little knowledge is a dangerous thing, but it's not one half so > bad as a lot of ignorance. > > _______________________________________________ > Spread-users mailing list > [email protected] > http://lists.spread.org/mailman/listinfo/spread-users > > > _______________________________________________ > Spread-users mailing list > [email protected] > http://lists.spread.org/mailman/listinfo/spread-users > > > > > -- > They say a little knowledge is a dangerous thing, but it's not one half so > bad as a lot of ignorance. > _______________________________________________ > Spread-users mailing list > [email protected] > http://lists.spread.org/mailman/listinfo/spread-users > > > _______________________________________________ > Spread-users mailing list > [email protected] > http://lists.spread.org/mailman/listinfo/spread-users > > -- They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance. _______________________________________________ Spread-users mailing list [email protected] http://lists.spread.org/mailman/listinfo/spread-users