[ 
https://issues.apache.org/jira/browse/UIMA-4643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik updated UIMA-4643:
--------------------------------
    Fix Version/s:     (was: 2.0.1-Ducc)

> DUCC Agent logs exceptions while collecting metrics from dead process 
> ----------------------------------------------------------------------
>
>                 Key: UIMA-4643
>                 URL: https://issues.apache.org/jira/browse/UIMA-4643
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.1.0-Ducc
>
>
> The agent tries to access /proc/PID/statm and also tries to collect metrics 
> via JMX from a process that may no longer be running producing exceptions in 
> an agent log. The process metric collector runs at regular interval in a 
> dedicated thread driven by a camel timer route. There seems to be a race 
> condition when a process exits and before an agent can change its internal 
> state, the metric collector thread attempts to access statm which is no 
> longer in there.
> When an exception is caught, check the state of the process and if it is not 
> running dont log an exception



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to