[
https://issues.apache.org/jira/browse/QPID-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Broadstone updated QPID-6517:
----------------------------------
Description:
I have a service using the C++ Messaging API which connects to a single
instance of qpidd (currently on the same machine), which seems to crash out
with this exception every couple of days under moderate load:
{code}
qpidd[68257]: 2015-04-28 11:56:38 [Broker] error
qpid.192.168.2.225:5672-192.168.2.148:60492: resource-limit-exceeded: Maximum
depth exceeded on
b1386bee-a36c-449d-953f-c25f4842e76d_hive.guest.metadata_7bf9355b-524b-4853-89bd-1848366cd21f:
current=[count: 389438, size: 104857546], max=[size: 104857600]
(/build/buildd/qpid-cpp-0.28/src/qpid/broker/Queue.cpp:1575)
{code}
Using qpid-stat I don't see the queue depth ever increase from 0 (which I
gather is why the exception is thrown, from reading the code), however I -do-
notice that the "acquired" count is increasing with every message with no
corresponding "release" (release count is always 0).
My service currently looks a lot like the "Receiving Messages from Multiple
Sources" on [this
page|https://qpid.apache.org/releases/qpid-0.28/messaging-api/cpp/api/index.html],
and I am definitely calling the message agnostic "session.acknowledge()" in my
main event loop, so I'm not sure why the messages are never released (presuming
that messages would be released about settling/acknowledgement).
was:
I have a service using the C++ Messaging API which connects to a single
instance of qpidd (currently on the same machine), which seems to crash out
with this exception every couple of days under moderate load:
```
qpidd[68257]: 2015-04-28 11:56:38 [Broker] error
qpid.192.168.2.225:5672-192.168.2.148:60492: resource-limit-exceeded: Maximum
depth exceeded on
b1386bee-a36c-449d-953f-c25f4842e76d_hive.guest.metadata_7bf9355b-524b-4853-89bd-1848366cd21f:
current=[count: 389438, size: 104857546], max=[size: 104857600]
(/build/buildd/qpid-cpp-0.28/src/qpid/broker/Queue.cpp:1575)
```
Using qpid-stat I don't see the queue depth ever increase from 0 (which I
gather is why the exception is thrown, from reading the code), however I -do-
notice that the "acquired" count is increasing with every message with no
corresponding "release" (release count is always 0).
My service currently looks a lot like the "Receiving Messages from Multiple
Sources" on [this
page](https://qpid.apache.org/releases/qpid-0.28/messaging-api/cpp/api/index.html),
and I am definitely calling the message agnostic "session.acknowledge()" in my
main event loop, so I'm not sure why the messages are never released (presuming
that messages would be released about settling/acknowledgement).
> qpidd crashes with "resource-limit-exceeded" exception
> ------------------------------------------------------
>
> Key: QPID-6517
> URL: https://issues.apache.org/jira/browse/QPID-6517
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker, C++ Client
> Affects Versions: 0.28
> Environment: Ubuntu 14.04 LTS
> Reporter: Matt Broadstone
>
> I have a service using the C++ Messaging API which connects to a single
> instance of qpidd (currently on the same machine), which seems to crash out
> with this exception every couple of days under moderate load:
> {code}
> qpidd[68257]: 2015-04-28 11:56:38 [Broker] error
> qpid.192.168.2.225:5672-192.168.2.148:60492: resource-limit-exceeded: Maximum
> depth exceeded on
> b1386bee-a36c-449d-953f-c25f4842e76d_hive.guest.metadata_7bf9355b-524b-4853-89bd-1848366cd21f:
> current=[count: 389438, size: 104857546], max=[size: 104857600]
> (/build/buildd/qpid-cpp-0.28/src/qpid/broker/Queue.cpp:1575)
> {code}
> Using qpid-stat I don't see the queue depth ever increase from 0 (which I
> gather is why the exception is thrown, from reading the code), however I -do-
> notice that the "acquired" count is increasing with every message with no
> corresponding "release" (release count is always 0).
> My service currently looks a lot like the "Receiving Messages from Multiple
> Sources" on [this
> page|https://qpid.apache.org/releases/qpid-0.28/messaging-api/cpp/api/index.html],
> and I am definitely calling the message agnostic "session.acknowledge()" in
> my main event loop, so I'm not sure why the messages are never released
> (presuming that messages would be released about settling/acknowledgement).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]