We recently upgraded to AppMon 7.1 (coming from 7.0) and, after the upgrade, our web server agent keeps reporting a licence exhaustion.
Looking at the Agents Overview, we noticed the web server agent is keeping track of multiple instances of the same Nginx process --- note there are multiple instances of the agent for a single PID.
The extra agent instances keep popping in and out of existence. Fundamentally, on 7.0, only one instance would show up for every Nginx process.
Also, looking at the Nginx server itself, we noticed there are multiple instances of the One Agent Process.
While watching these agents, we noticed they come and go, following groups of Nginx workers. It seems like there is a "One Agent companion process" spawning everytime nginx creates a new group of worker threads.
Anyone else having this issue?
Answer by Julio M. ·
Thank you for the follow up!
I did open a support ticket back in sept/2018 and they provided excellent support for this. They were able to diagnose with a remote session into our infrastructure and confirm the new agent platform does have an issue with reloading Nginx and consuming extra licenses. They provided a patch with the release of version 7.1.14.
In this version, there is a debug flag called debugNginxNoAgentRestartOnReloadNative. It can be enabled from the AppMon Client with the following steps:
Below is a screenshot that shows all steps at once.