Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurring issue with vizion, pm2 calling git status -s a ton of times #3403

Closed
joshribakoff opened this issue Jan 13, 2018 · 2 comments
Closed
Labels

Comments

@joshribakoff
Copy link

joshribakoff commented Jan 13, 2018

pm2 completely takes down my dev box (Vagrant) because running git status there is slow. I don't want my process manager to run git status, I just want it to launch my process that's it. I tried the --no-vizion flag & also putting vision: false in the JSON, both have no effect on v2.9.1 of pm2.

To replicate, insert an error into a JS file. Each time pm2 attempts to restart the process, it also calls git status -s and calls npm a bunch of times (visible in output of ps aux). Furthermore, replace git with a process that just sleeps to observe them stacking up. This will simulate Vagrant, which has a slow filesystem due to Virtual Box. In a fast environment, it will complete quickly & exit.

This seems to be a recurring issue, any way to get a permanent long term fix?

#924
#1074
#1735
#2867
#3105

@joshribakoff joshribakoff changed the title Recurring issue with vizion Recurring issue with vizion, pm2 calling git status -s a ton of times Jan 13, 2018
@neilrogers
Copy link

make sure you stop and delete the pm2 jobs then use --no-vizion flag. worked for me.
I used

pm2 stop all ; pm2 delete all ; pm2 flush

@stale
Copy link

stale bot commented May 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants