problem with multiple senders

2013-04-04 Thread Michael Goulish
Is this a bug, or am I Doing Something Wrong ? Scenario { My sender sends a single message, and hopes to see that the receiver has accepted it. I launch 3 copies of the sender very close together-- they all talk to the same address. My receiver receives in a loop, accepts

Re: problem with multiple senders

2013-04-04 Thread Ted Ross
Any clues from a trace of the receiver? $ PN_TRACE_FRM=1 ./receiver -Ted On 04/04/2013 02:09 PM, Michael Goulish wrote: Is this a bug, or am I Doing Something Wrong ? Scenario { My sender sends a single message, and hopes to see that the receiver has accepted it. I

Re: problem with multiple senders

2013-04-04 Thread Michael Goulish
OK, I'm looking at trace from receiver, and I thought I would post it here so I can't be accused of hogging all the fun for myself. ( Remember, three senders all send to same receiver address, only two get 'accepted' replies. Last sender ends up hanging in send(), while receiver (in

Re: problem with multiple senders

2013-04-04 Thread Ted Ross
Looks like all three credits were given to the first link. Once one message arrived, its credit was given to the second link. The second link then transferred a message but the credit was given back to the second link where there were no more messages to transfer. On 04/04/2013 03:06 PM,

Re: problem with multiple senders

2013-04-04 Thread Rafael Schloming
I think this is the same bug we've seen before with passing fixed (positive) credit limits to recv. The implementation isn't smart enough to pay attention to who actually is offering messages when it allocates credit, and so it ends up giving out all of its credit to a sender that has no use for

Re: problem with multiple senders

2013-04-04 Thread Michael Goulish
Yes! -1 did it. Thanks! - Original Message - I think this is the same bug we've seen before with passing fixed (positive) credit limits to recv. The implementation isn't smart enough to pay attention to who actually is offering messages when it allocates credit, and so it ends up

Re: problem with multiple senders

2013-04-04 Thread Ken Giusti
FWIW: there's a JIRA that's tracking this: - Original Message - From: Michael Goulish mgoul...@redhat.com To: proton@qpid.apache.org Sent: Thursday, April 4, 2013 4:45:03 PM Subject: Re: problem with multiple senders Yes! -1 did it. Thanks! - Original Message

Re: problem with multiple senders

2013-04-04 Thread Ken Giusti
5:46:04 PM Subject: Re: problem with multiple senders FWIW: there's a JIRA that's tracking this: - Original Message - From: Michael Goulish mgoul...@redhat.com To: proton@qpid.apache.org Sent: Thursday, April 4, 2013 4:45:03 PM Subject: Re: problem with multiple senders