You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Philippe Mouawad (JIRA)" <ji...@apache.org> on 2009/09/17 18:40:12 UTC
[jira] Created: (AMQ-2397) Strange behaviour of Store Percent Usage
and associated Memory Usage controls : Abnormal SystemUsage memory limit
reached
Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached
--------------------------------------------------------------------------------------------------------------------------
Key: AMQ-2397
URL: https://issues.apache.org/activemq/browse/AMQ-2397
Project: ActiveMQ
Issue Type: Bug
Components: Broker, Message Store
Environment: JDK 5 1.5.0_14 / Windows XP / Linux
Reporter: Philippe Mouawad
I attached the full scenario as a PDF to reproduce the issue.
In the attached configuration notice the following:
- org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store
- Advisory messages are activated
- sendFailIfNoSpace is set to true
- loggingBrokerPlugin is activated
Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message:
- Store percent used continuously increase
- Memory limit is reached while it was at 0
See attached files
Philippe
www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQ-2397) Strange behaviour of Store Percent Usage
and associated Memory Usage controls : Abnormal SystemUsage memory limit
reached
Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philippe Mouawad updated AMQ-2397:
----------------------------------
Attachment: activemq.xml
activemq.zip
activemq520-bug.pdf
> Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-2397
> URL: https://issues.apache.org/activemq/browse/AMQ-2397
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, Message Store
> Environment: JDK 5 1.5.0_14 / Windows XP / Linux
> Reporter: Philippe Mouawad
> Attachments: activemq.xml, activemq.zip, activemq520-bug.pdf
>
>
> I attached the full scenario as a PDF to reproduce the issue.
> In the attached configuration notice the following:
> - org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store
> - Advisory messages are activated
> - sendFailIfNoSpace is set to true
> - loggingBrokerPlugin is activated
> Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message:
> - Store percent used continuously increase
> - Memory limit is reached while it was at 0
> See attached files
> Philippe
> www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2397) Strange behaviour of Store Percent
Usage and associated Memory Usage controls : Abnormal SystemUsage memory
limit reached
Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54317#action_54317 ]
Philippe Mouawad commented on AMQ-2397:
---------------------------------------
I tested removing :
<loggingBrokerPlugin/>
plugin,
"Store percent used" increases to around 100% then naturally goes down to 8% and no error occurs
so bug seems to come from <loggingBrokerPlugin>
Philippe
www.ubik-ingenierie.com
> Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-2397
> URL: https://issues.apache.org/activemq/browse/AMQ-2397
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, Message Store
> Environment: JDK 5 1.5.0_14 / Windows XP / Linux
> Reporter: Philippe Mouawad
> Attachments: activemq.xml, activemq.zip, activemq520-bug.pdf
>
>
> I attached the full scenario as a PDF to reproduce the issue.
> In the attached configuration notice the following:
> - org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store
> - Advisory messages are activated
> - sendFailIfNoSpace is set to true
> - loggingBrokerPlugin is activated
> Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message:
> - Store percent used continuously increase
> - Memory limit is reached while it was at 0
> See attached files
> Philippe
> www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2397) Strange behaviour of Store Percent
Usage and associated Memory Usage controls : Abnormal SystemUsage memory
limit reached
Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54320#action_54320 ]
Philippe Mouawad commented on AMQ-2397:
---------------------------------------
Investigating a little more , "Store percent used" behaviour seems ok.
As I understand the size may vary in the following cases:
- CleanupTask run
- storage of a new message that induces file creation (when file is unused for example ...)
Variations depend on periodicCleanupTask execution which merges files.
Maybe a little note in docs would be helpful.
So bug is more related to <loggingBrokerPlugin>
Is it a normal that reference store size is taken into account in the size of "Store percent used" beside the normal Journal ?
Philippe
www.ubik-ingenierie.com
> Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-2397
> URL: https://issues.apache.org/activemq/browse/AMQ-2397
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, Message Store
> Environment: JDK 5 1.5.0_14 / Windows XP / Linux
> Reporter: Philippe Mouawad
> Attachments: activemq.xml, activemq.zip, activemq520-bug.pdf
>
>
> I attached the full scenario as a PDF to reproduce the issue.
> In the attached configuration notice the following:
> - org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store
> - Advisory messages are activated
> - sendFailIfNoSpace is set to true
> - loggingBrokerPlugin is activated
> Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message:
> - Store percent used continuously increase
> - Memory limit is reached while it was at 0
> See attached files
> Philippe
> www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (AMQ-2397) Strange behaviour of Store
Percent Usage and associated Memory Usage controls : Abnormal SystemUsage
memory limit reached
Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54317#action_54317 ]
Philippe Mouawad edited comment on AMQ-2397 at 9/17/09 9:56 AM:
----------------------------------------------------------------
I tested removing :
<loggingBrokerPlugin/>
plugin,
"Store percent used" increases to around 100% then naturally goes down to 8% and no error occurs
so there is at least a bug due to <loggingBrokerPlugin>
And maybe another in this indicator that kind of worries the administrator although limits are far from being reache.
Thanks for your help.
Philippe
www.ubik-ingenierie.com
was (Author: pmouawad):
I tested removing :
<loggingBrokerPlugin/>
plugin,
"Store percent used" increases to around 100% then naturally goes down to 8% and no error occurs
so bug seems to come from <loggingBrokerPlugin>
Philippe
www.ubik-ingenierie.com
> Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-2397
> URL: https://issues.apache.org/activemq/browse/AMQ-2397
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, Message Store
> Environment: JDK 5 1.5.0_14 / Windows XP / Linux
> Reporter: Philippe Mouawad
> Attachments: activemq.xml, activemq.zip, activemq520-bug.pdf
>
>
> I attached the full scenario as a PDF to reproduce the issue.
> In the attached configuration notice the following:
> - org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store
> - Advisory messages are activated
> - sendFailIfNoSpace is set to true
> - loggingBrokerPlugin is activated
> Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message:
> - Store percent used continuously increase
> - Memory limit is reached while it was at 0
> See attached files
> Philippe
> www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQ-2397) Strange behaviour of Store Percent Usage
and associated Memory Usage controls : Abnormal SystemUsage memory limit
reached
Posted by "Philippe Mouawad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philippe Mouawad updated AMQ-2397:
----------------------------------
Affects Version/s: 5.2.0
> Strange behaviour of Store Percent Usage and associated Memory Usage controls : Abnormal SystemUsage memory limit reached
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-2397
> URL: https://issues.apache.org/activemq/browse/AMQ-2397
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, Message Store
> Affects Versions: 5.2.0
> Environment: JDK 5 1.5.0_14 / Windows XP / Linux
> Reporter: Philippe Mouawad
> Attachments: activemq.xml, activemq.zip, activemq520-bug.pdf
>
>
> I attached the full scenario as a PDF to reproduce the issue.
> In the attached configuration notice the following:
> - org.apache.activemq.store.amq.AMQPersistenceAdapter is declared as a bean to allow Memory usage control on store
> - Advisory messages are activated
> - sendFailIfNoSpace is set to true
> - loggingBrokerPlugin is activated
> Since I have a listener that consumes messages I don't understand why although AMQ indicated 0 pending message:
> - Store percent used continuously increase
> - Memory limit is reached while it was at 0
> See attached files
> Philippe
> www.ubik-ingenierie.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.