cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

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

Pyagent failing to startup and restarting application

Joshua.Zwiebel
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)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Pyagent failing to startup and restarting application
0 REPLIES 0