[ 
https://issues.apache.org/jira/browse/ARTEMIS-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454700#comment-17454700
 ] 

Justin Bertram commented on ARTEMIS-3587:
-----------------------------------------

When Clebert said to "Use Logger and ignore the logs" he meant you need to 
configure the critical analyzer to use {{LOG}} instead of {{HALT}}. For example 
set this in {{broker.xml}}:

{code:xml}
<critical-analyzer-policy>LOG</critical-analyzer-policy>{code}

If the critical analyzer is misbehaving there's no need for it to halt the 
broker. It's configurable so you can change it to suit your needs. You can read 
more about configuration for the critical analyzer in [the 
documentation|https://activemq.apache.org/components/artemis/documentation/latest/critical-analysis.html].

> After upgrade: AMQ224107: The Critical Analyzer detected slow paths on the 
> broker.
> ----------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3587
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3587
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.19.0
>            Reporter: Sebastian T
>            Priority: Major
>              Labels: performance
>         Attachments: log_with_stacktrace.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After upgrading from Artemis 2.16.0 to 2.19.0 we now receive the following 
> message a few times a day:
> 2021-11-05 05:32:53.641 WARN 3850 --- [eduled-threads)] 
> o.a.a.a.u.c.CriticalMeasure              : Component 
> org.apache.activemq.artemis.core.server.impl.QueueImpl is expired on path 4
> 2021-11-05 05:32:53.642 INFO 3850 --- [eduled-threads)] o.a.a.a.c.server      
>                    : AMQ224107: The Critical Analyzer detected slow paths on 
> the broker.  It is recommended that you enable trace logs on 
> org.apache.activemq.artemis.utils.critical while you troubleshoot this issue. 
> You should disable the trace logs when you have finished troubleshooting.
> This message is also logged via ActiveMQServerCriticalPlugin#criticalFailure 
> however the javadoc says: "This will be called before the broker is stopped." 
> The broker however is not stopped. So I think the javadoc and the behaviour 
> of the callback are not in line anymore too.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to