You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Yuri Roncella (JIRA)" <ji...@apache.org> on 2012/05/10 16:25:47 UTC
[jira] [Created] (SMX4-1136) Producer Flow Control tempUsage limit
doesn't work
Yuri Roncella created SMX4-1136:
-----------------------------------
Summary: Producer Flow Control tempUsage limit doesn't work
Key: SMX4-1136
URL: https://issues.apache.org/jira/browse/SMX4-1136
Project: ServiceMix 4
Issue Type: Bug
Affects Versions: 4.4.1
Environment: Ubuntu 12.04 x64 / Debian Stable x64
Reporter: Yuri Roncella
tempUsage limit doesn't stop the producer. I've tried the same settings on activemq 5.5.1 standalone (the same version that I have installed in servicemix) and it works.
According to http://activemq.apache.org/producer-flow-control.html the broker must stop the producer when the temp_storage_file size is bigger than 200 mb but it doesn't happen.
This is the Producer Flow Control setting:
[...]
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry topic=">" producerFlowControl="false" memoryLimit="1mb">
<pendingSubscriberPolicy>
<vmCursor />
</pendingSubscriberPolicy>
</policyEntry>
<policyEntry queue=">" producerFlowControl="true">
<pendingQueuePolicy>
<fileQueueCursor/>
</pendingQueuePolicy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
[...]
<systemUsage>
<systemUsage>
<memoryUsage>
<memoryUsage limit="100 mb"/>
</memoryUsage>
<storeUsage>
<storeUsage limit="5 gb"/>
</storeUsage>
<tempUsage>
<tempUsage limit="200 mb"/>
</tempUsage>
</systemUsage>
</systemUsage>
[...]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira