Re: [Dispatch-Router] max message size

2018-09-24 Thread Ganesh Murthy
Glad to know it is working and thanks for testing.

On Mon, Sep 24, 2018 at 8:21 AM VERMEULEN Olivier <
olivier.vermeu...@murex.com> wrote:

> Hello,
>
> We tested against the master and it is now working fine.
>
> Thanks,
> Olivier
>
> -Original Message-
> From: Ganesh Murthy 
> Sent: jeudi 20 septembre 2018 17:59
> To: users@qpid.apache.org
> Subject: Re: [Dispatch-Router] max message size
>
> Here is the sequence of events we gleaned from the log file (btw, it looks
> like you sent your router config file but we did not get it, it was
> stripped)
>
> The Router has two Java brokers attached to it and autolinks on the same
> address to those two brokers
>
> 1. A message over 10kb is sent and the router forwards it to Broker 1 over
> the autolink. The message exceeds the max message size set by the broker
> and so the broker detaches the  autolink and closes the session. The
> autolink from Router to Broker 1 is now destroyed. The only remaining
> autolink is to Broker2 2. A message smaller than 10kb is sent and the
> router sends it on the autolink to Broker 2. (all good here) 3. Once again,
> a message over 10kb is sent, and that is forwarded to Broker
> 2 and Broker 2 rejects that messages because it is too big and detaches
> the link and closes the session. Now the autolinks on Broker 2 are
> destroyed as well. Now, since both autolinks are gone, any further messages
> sent to that address 'myQueue' have nowhere to go and hence the final send
> hangs (the router does not issue a flow to the sender because there are no
> consumers for the message)
>
> On the master branch, we added an enhancement -
> https://issues.apache.org/jira/browse/DISPATCH-1103 - which would retry
> and re-establish failed autolinks. This new feature will fix your issue.
> Unfortunately, this new feature will only be available in Qpid Dispatch
> 1.4.0 which is scheduled to go out mid to late October.
>
> Is it possible for you to get Dispatch running with the latest master
> branch code and see if this problem goes away?
>
> Thanks.
>
> On Thu, Sep 20, 2018 at 10:22 AM VERMEULEN Olivier <
> olivier.vermeu...@murex.com> wrote:
>
> > Here are the files.
> >
> > Thanks,
> > Olivier
> >
> > -Original Message-
> > From: Ganesh Murthy 
> > Sent: jeudi 20 septembre 2018 15:19
> > To: users@qpid.apache.org
> > Subject: Re: [Dispatch-Router] max message size
> >
> > Can you please enable trace logging on the router and share the log file?
> >
> > To enable trace logging add the following to your router configuration
> > file.
> >
> > log {
> > module: DEFAULT
> > enable: trace+
> > output: qdrouterd.log
> > }
> >
> > Also please share your router config file if possible and which broker
> > you are using to test.
> >
> >
> > On Thu, Sep 20, 2018 at 8:47 AM VERMEULEN Olivier <
> > olivier.vermeu...@murex.com> wrote:
> >
> > > Hello,
> > >
> > > We did a test with 1 dispatch-router and 2 brokers.
> > > On the brokers we configured a maximum message size of 10KB.
> > > The use case is the following:
> > >
> > >   *   We send a message above 10 KB: we receive a "failure at remote"
> > > exception from the dispatch-router
> > >   *   We send a message under 10KB: send is successful
> > >   *   We send a message above 10 KB again: we receive a "failure at
> > > remote" exception from the dispatch-router
> > >   *   We send a message under 10KB again: the send hangs...
> > >
> > > This was reproduced with the latest version of the dispatch-router.
> > > Do you have any idea what is going on and is it a known issue?
> > >
> > > Thanks,
> > > Olivier
> > >
> > > ***
> > >
> > > This e-mail contains information for the intended recipient only. It
> > > may contain proprietary material or confidential information. If you
> > > are not the intended recipient you are not authorised to distribute,
> > > copy or use this e-mail or any attachment to it. Murex cannot
> > > guarantee that it is virus free and accepts no responsibility for
> > > any loss or damage arising from its use. If you have received this
> > > e-mail in error please notify immediately the sender and delete the
> > > original email received, any attachments and all copies from your
> system.
> > >
> > ***
> >
> > This e-mail contains information for the inte

RE: [Dispatch-Router] max message size

2018-09-24 Thread VERMEULEN Olivier
Hello,

We tested against the master and it is now working fine.

Thanks,
Olivier

-Original Message-
From: Ganesh Murthy  
Sent: jeudi 20 septembre 2018 17:59
To: users@qpid.apache.org
Subject: Re: [Dispatch-Router] max message size

Here is the sequence of events we gleaned from the log file (btw, it looks like 
you sent your router config file but we did not get it, it was
stripped)

The Router has two Java brokers attached to it and autolinks on the same 
address to those two brokers

1. A message over 10kb is sent and the router forwards it to Broker 1 over the 
autolink. The message exceeds the max message size set by the broker and so the 
broker detaches the  autolink and closes the session. The autolink from Router 
to Broker 1 is now destroyed. The only remaining autolink is to Broker2 2. A 
message smaller than 10kb is sent and the router sends it on the autolink to 
Broker 2. (all good here) 3. Once again, a message over 10kb is sent, and that 
is forwarded to Broker
2 and Broker 2 rejects that messages because it is too big and detaches the 
link and closes the session. Now the autolinks on Broker 2 are destroyed as 
well. Now, since both autolinks are gone, any further messages sent to that 
address 'myQueue' have nowhere to go and hence the final send hangs (the router 
does not issue a flow to the sender because there are no consumers for the 
message)

On the master branch, we added an enhancement -
https://issues.apache.org/jira/browse/DISPATCH-1103 - which would retry and 
re-establish failed autolinks. This new feature will fix your issue.
Unfortunately, this new feature will only be available in Qpid Dispatch
1.4.0 which is scheduled to go out mid to late October.

Is it possible for you to get Dispatch running with the latest master branch 
code and see if this problem goes away?

Thanks.

On Thu, Sep 20, 2018 at 10:22 AM VERMEULEN Olivier < 
olivier.vermeu...@murex.com> wrote:

> Here are the files.
>
> Thanks,
> Olivier
>
> -Original Message-
> From: Ganesh Murthy 
> Sent: jeudi 20 septembre 2018 15:19
> To: users@qpid.apache.org
> Subject: Re: [Dispatch-Router] max message size
>
> Can you please enable trace logging on the router and share the log file?
>
> To enable trace logging add the following to your router configuration 
> file.
>
> log {
> module: DEFAULT
> enable: trace+
> output: qdrouterd.log
> }
>
> Also please share your router config file if possible and which broker 
> you are using to test.
>
>
> On Thu, Sep 20, 2018 at 8:47 AM VERMEULEN Olivier < 
> olivier.vermeu...@murex.com> wrote:
>
> > Hello,
> >
> > We did a test with 1 dispatch-router and 2 brokers.
> > On the brokers we configured a maximum message size of 10KB.
> > The use case is the following:
> >
> >   *   We send a message above 10 KB: we receive a "failure at remote"
> > exception from the dispatch-router
> >   *   We send a message under 10KB: send is successful
> >   *   We send a message above 10 KB again: we receive a "failure at
> > remote" exception from the dispatch-router
> >   *   We send a message under 10KB again: the send hangs...
> >
> > This was reproduced with the latest version of the dispatch-router.
> > Do you have any idea what is going on and is it a known issue?
> >
> > Thanks,
> > Olivier
> >
> > ***
> >
> > This e-mail contains information for the intended recipient only. It 
> > may contain proprietary material or confidential information. If you 
> > are not the intended recipient you are not authorised to distribute, 
> > copy or use this e-mail or any attachment to it. Murex cannot 
> > guarantee that it is virus free and accepts no responsibility for 
> > any loss or damage arising from its use. If you have received this 
> > e-mail in error please notify immediately the sender and delete the 
> > original email received, any attachments and all copies from your system.
> >
> ***
>
> This e-mail contains information for the intended recipient only. It 
> may contain proprietary material or confidential information. If you 
> are not the intended recipient you are not authorised to distribute, 
> copy or use this e-mail or any attachment to it. Murex cannot 
> guarantee that it is virus free and accepts no responsibility for any 
> loss or damage arising from its use. If you have received this e-mail 
> in error please notify immediately the sender and delete the original 
> email received, any attachments and all copies from your system.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@qp

Re: [Dispatch-Router] max message size

2018-09-20 Thread Ganesh Murthy
Here is the sequence of events we gleaned from the log file (btw, it looks
like you sent your router config file but we did not get it, it was
stripped)

The Router has two Java brokers attached to it and autolinks on the same
address to those two brokers

1. A message over 10kb is sent and the router forwards it to Broker 1 over
the autolink. The message exceeds the max message size set by the broker
and so the broker detaches the  autolink and closes the session. The
autolink from Router to Broker 1 is now destroyed. The only remaining
autolink is to Broker2
2. A message smaller than 10kb is sent and the router sends it on the
autolink to Broker 2. (all good here)
3. Once again, a message over 10kb is sent, and that is forwarded to Broker
2 and Broker 2 rejects that messages because it is too big and detaches the
link and closes the session. Now the autolinks on Broker 2 are destroyed as
well. Now, since both autolinks are gone, any further messages sent to that
address 'myQueue' have nowhere to go and hence the final send hangs (the
router does not issue a flow to the sender because there are no consumers
for the message)

On the master branch, we added an enhancement -
https://issues.apache.org/jira/browse/DISPATCH-1103 - which would retry and
re-establish failed autolinks. This new feature will fix your issue.
Unfortunately, this new feature will only be available in Qpid Dispatch
1.4.0 which is scheduled to go out mid to late October.

Is it possible for you to get Dispatch running with the latest master
branch code and see if this problem goes away?

Thanks.

On Thu, Sep 20, 2018 at 10:22 AM VERMEULEN Olivier <
olivier.vermeu...@murex.com> wrote:

> Here are the files.
>
> Thanks,
> Olivier
>
> -Original Message-
> From: Ganesh Murthy 
> Sent: jeudi 20 septembre 2018 15:19
> To: users@qpid.apache.org
> Subject: Re: [Dispatch-Router] max message size
>
> Can you please enable trace logging on the router and share the log file?
>
> To enable trace logging add the following to your router configuration
> file.
>
> log {
> module: DEFAULT
> enable: trace+
> output: qdrouterd.log
> }
>
> Also please share your router config file if possible and which broker you
> are using to test.
>
>
> On Thu, Sep 20, 2018 at 8:47 AM VERMEULEN Olivier <
> olivier.vermeu...@murex.com> wrote:
>
> > Hello,
> >
> > We did a test with 1 dispatch-router and 2 brokers.
> > On the brokers we configured a maximum message size of 10KB.
> > The use case is the following:
> >
> >   *   We send a message above 10 KB: we receive a "failure at remote"
> > exception from the dispatch-router
> >   *   We send a message under 10KB: send is successful
> >   *   We send a message above 10 KB again: we receive a "failure at
> > remote" exception from the dispatch-router
> >   *   We send a message under 10KB again: the send hangs...
> >
> > This was reproduced with the latest version of the dispatch-router.
> > Do you have any idea what is going on and is it a known issue?
> >
> > Thanks,
> > Olivier
> >
> > ***
> >
> > This e-mail contains information for the intended recipient only. It
> > may contain proprietary material or confidential information. If you
> > are not the intended recipient you are not authorised to distribute,
> > copy or use this e-mail or any attachment to it. Murex cannot
> > guarantee that it is virus free and accepts no responsibility for any
> > loss or damage arising from its use. If you have received this e-mail
> > in error please notify immediately the sender and delete the original
> > email received, any attachments and all copies from your system.
> >
> ***
>
> This e-mail contains information for the intended recipient only. It may
> contain proprietary material or confidential information. If you are not
> the intended recipient you are not authorised to distribute, copy or use
> this e-mail or any attachment to it. Murex cannot guarantee that it is
> virus free and accepts no responsibility for any loss or damage arising
> from its use. If you have received this e-mail in error please notify
> immediately the sender and delete the original email received, any
> attachments and all copies from your system.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org


RE: [Dispatch-Router] max message size

2018-09-20 Thread VERMEULEN Olivier
Here are the files.

Thanks,
Olivier

-Original Message-
From: Ganesh Murthy  
Sent: jeudi 20 septembre 2018 15:19
To: users@qpid.apache.org
Subject: Re: [Dispatch-Router] max message size

Can you please enable trace logging on the router and share the log file?

To enable trace logging add the following to your router configuration file.

log {
module: DEFAULT
enable: trace+
output: qdrouterd.log
}

Also please share your router config file if possible and which broker you are 
using to test.


On Thu, Sep 20, 2018 at 8:47 AM VERMEULEN Olivier < 
olivier.vermeu...@murex.com> wrote:

> Hello,
>
> We did a test with 1 dispatch-router and 2 brokers.
> On the brokers we configured a maximum message size of 10KB.
> The use case is the following:
>
>   *   We send a message above 10 KB: we receive a "failure at remote"
> exception from the dispatch-router
>   *   We send a message under 10KB: send is successful
>   *   We send a message above 10 KB again: we receive a "failure at
> remote" exception from the dispatch-router
>   *   We send a message under 10KB again: the send hangs...
>
> This was reproduced with the latest version of the dispatch-router.
> Do you have any idea what is going on and is it a known issue?
>
> Thanks,
> Olivier
>
> ***
>
> This e-mail contains information for the intended recipient only. It 
> may contain proprietary material or confidential information. If you 
> are not the intended recipient you are not authorised to distribute, 
> copy or use this e-mail or any attachment to it. Murex cannot 
> guarantee that it is virus free and accepts no responsibility for any 
> loss or damage arising from its use. If you have received this e-mail 
> in error please notify immediately the sender and delete the original 
> email received, any attachments and all copies from your system.
>
***

This e-mail contains information for the intended recipient only. It may 
contain proprietary material or confidential information. If you are not the 
intended recipient you are not authorised to distribute, copy or use this 
e-mail or any attachment to it. Murex cannot guarantee that it is virus free 
and accepts no responsibility for any loss or damage arising from its use. If 
you have received this e-mail in error please notify immediately the sender and 
delete the original email received, any attachments and all copies from your 
system.
2018-09-21 04:09:36 Using configuration file: dispatchWith2brokers.conf
2018-09-21 04:09:36 Starting dispatch router with work directory: 
/nfshome/murex/alhadi/dispatch_dir_default
2018-09-21 04:09:36 /src/new/alhadi/qpid-dispatch-linux-1.3.0/sbin/qdrouterd -c 
/nfshome/murex/alhadi/dispatch_dir_default/dispatch.conf -I 
/src/new/alhadi/qpid-dispatch-linux-1.3.0/lib/qpid-dispatch/python
2018-09-21 04:09:36.122405 +0200 AGENT (debug) Add entity: 
LogEntity(enable=trace+, identity=log/DEFAULT, includeSource=False, 
includeTimestamp=True, module=DEFAULT, name=log/DEFAULT, outputFile=stdout, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.122778 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/HTTP, module=HTTP, name=log/HTTP, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.123048 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/ROUTER_LS, module=ROUTER_LS, name=log/ROUTER_LS, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.123301 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/PYTHON, module=PYTHON, name=log/PYTHON, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.123579 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/ROUTER_MA, module=ROUTER_MA, name=log/ROUTER_MA, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.123822 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/CONN_MGR, module=CONN_MGR, name=log/CONN_MGR, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.124110 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/ROUTER_HELLO, module=ROUTER_HELLO, 
name=log/ROUTER_HELLO, type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.124357 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/SERVER, module=SERVER, name=log/SERVER, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.124634 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/POLICY, module=POLICY, name=log/POLICY, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.124920 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/CONTAINER, module=CONTAINER, name=log/CONTAINER, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.125220 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/AGENT, module=AGENT, name=log/AGENT, 
type=org.apache.qpid.dispatch.log)
2018-09-21 04:09:36.125502 +0200 AGENT (debug) Add entity: 
LogEntity(identity=log/ERROR, module=ERROR, name=log/ERROR, 
type=org.apache.qpid.

Re: [Dispatch-Router] max message size

2018-09-20 Thread Ganesh Murthy
Can you please enable trace logging on the router and share the log file?

To enable trace logging add the following to your router configuration file.

log {
module: DEFAULT
enable: trace+
output: qdrouterd.log
}

Also please share your router config file if possible and which broker you
are using to test.


On Thu, Sep 20, 2018 at 8:47 AM VERMEULEN Olivier <
olivier.vermeu...@murex.com> wrote:

> Hello,
>
> We did a test with 1 dispatch-router and 2 brokers.
> On the brokers we configured a maximum message size of 10KB.
> The use case is the following:
>
>   *   We send a message above 10 KB: we receive a "failure at remote"
> exception from the dispatch-router
>   *   We send a message under 10KB: send is successful
>   *   We send a message above 10 KB again: we receive a "failure at
> remote" exception from the dispatch-router
>   *   We send a message under 10KB again: the send hangs...
>
> This was reproduced with the latest version of the dispatch-router.
> Do you have any idea what is going on and is it a known issue?
>
> Thanks,
> Olivier
>
> ***
>
> This e-mail contains information for the intended recipient only. It may
> contain proprietary material or confidential information. If you are not
> the intended recipient you are not authorised to distribute, copy or use
> this e-mail or any attachment to it. Murex cannot guarantee that it is
> virus free and accepts no responsibility for any loss or damage arising
> from its use. If you have received this e-mail in error please notify
> immediately the sender and delete the original email received, any
> attachments and all copies from your system.
>