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

psutil.NoSuchProcess error caused by MemoryReporter class on certain types of distributed environments #58

Open
chrisgoddard opened this issue Jan 16, 2019 · 1 comment

Comments

@chrisgoddard
Copy link

I'm running tap-braintree with target-stitch on PythonAnywhere.com which is a simple Python hosting platform (with a simple bash command scheduler) built on AWS EC2.

Apparently because they operate on a shared environment with a large cluster, normal Linux process management doesn't really work.

Maybe a command line option to disable memory reporting would be helpful if anyone runs into this? It might be too much of a fringe case to worry about - although other than this issue, PythonAnywhere is actually a great environment for running singer because you can schedule bash commands daily or hourly.

If anyone else runs into this issue, I created a fork here with the extremely inelegant solution of commenting out the MemoryReporter.start() line. You can install pip install git+https://github.com/chrisgoddard/target-stitch

@KAllan357
Copy link
Contributor

I think a command-line option would work well here.

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

No branches or pull requests

2 participants