Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent)

cancel
Showing results for 
Search instead for 
Did you mean: 

Pyagent failing to startup and restarting application

Highlighted
New Poster

Pyagent failing to startup and restarting application

Hi,

 

I have a python application I am starting to use the appdynamics pyagent. The run command is pyagent run -c ./devops/appdynamics_than.cfg gunicorn -b'0.0.0.0:5000' -t 5000 -w=1 --log-level debug vps.src.api.resources:app.

 

The application continuously restarts every few minutes and I believe it is because of a process that the application goes through on startup before actually starting up the app. When the run command is used the first thing the application does is download a lot of prerequisite data for the app which can take a minute or two. I believe the pyagent sees this time as inactivity and decides to restart. How do I prevent this timeout?

Tags (1)
Pyagent failing to startup and restarting application