-
1. Re: Why the metric "max-active-sessions" is reporting -1?
ctomc Apr 21, 2016 4:40 PM (in response to rubenvp)did you enable statistics?
-
2. Re: Why the metric "max-active-sessions" is reporting -1?
rubenvp Apr 21, 2016 4:54 PM (in response to ctomc)Yes, I did.
[standalone@localhost:9990 /] /subsystem=undertow:read-resource
{
"outcome" => "success",
"result" => {
"default-security-domain" => "other",
"default-server" => "default-server",
"default-servlet-container" => "default",
"default-virtual-host" => "default-host",
"instance-id" => expression "${jboss.node.name}",
"statistics-enabled" => true,
"buffer-cache" => {"default" => undefined},
"configuration" => {
"filter" => undefined,
"handler" => undefined
},
"server" => {"default-server" => undefined},
"servlet-container" => {"default" => undefined}
}
}
-
3. Re: Why the metric "max-active-sessions" is reporting -1?
rubenvp Apr 25, 2016 11:34 AM (in response to ctomc)It seems to me like this is really a bug in EAP7, the metric is reporting the maximum number of active sessions allowed (set in the configuration of the deployment) and not the statistic "Maximum number of concurrent active sessions" of the session manager, I saw it in the code but I'm not sure.. Could someone confirm that is really a bug and not an expected behavior?
Thanks!