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

Flask process randomly, consistently dies #19

Open
lewismc opened this issue Oct 25, 2016 · 0 comments
Open

Flask process randomly, consistently dies #19

lewismc opened this issue Oct 25, 2016 · 0 comments

Comments

@lewismc
Copy link
Contributor

lewismc commented Oct 25, 2016

I am seeing many instances of the following whilst running the project over a Joshua language bundle

lmcgibbn@LMC-056430 /usr/local/joshua_translation_engine(PYTHON-3) $ python app.py -b /usr/local/joshua_resources/apache-joshua-es-en-2016-10-06 -s es -t en -p 5674
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
Exception in thread "main" java.lang.RuntimeException: Could not listen on port: 5674.
    at org.apache.joshua.server.TcpServer.start(TcpServer.java:61)
    at org.apache.joshua.decoder.JoshuaDecoder.main(JoshuaDecoder.java:80)

The Exception will result after a number of minutes and before around 10 minutes. Need to profile this to see why it is dying.

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

1 participant