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

Running via flask run hangs forever #15

Open
ror6ax opened this issue May 14, 2018 · 3 comments
Open

Running via flask run hangs forever #15

ror6ax opened this issue May 14, 2018 · 3 comments

Comments

@ror6ax
Copy link
Contributor

ror6ax commented May 14, 2018

As a workaround, one could run python3 server.py. I suppose it's a side effect of jaegertracing/jaeger-client-python#50.

@ror6ax
Copy link
Contributor Author

ror6ax commented May 29, 2018

@carlosalberto - any ideas why this may be a thing?

@carlosalberto
Copy link
Contributor

@ror6ax I don't have much experience with Jaeger myself, but will take a look later today ;)

@dbernardoj
Copy link

I had the same issue. Pywren's map function appears to use Threadpool. It doesn't appear that Flask is designed for this. One workaround is to put your pywren code into a script and run with subprocess. E.g.:
pw_output = subprocess.check_output(["python", "run_pw.py", args])

Celery seems like it may work but I haven't got around to trying it.

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

No branches or pull requests

3 participants