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

Use a production WSGI server instead. #25

Open
elyas101 opened this issue May 5, 2018 · 1 comment
Open

Use a production WSGI server instead. #25

elyas101 opened this issue May 5, 2018 · 1 comment

Comments

@elyas101
Copy link

elyas101 commented May 5, 2018

Hi,

I am trying to run HiCBrowser but keep getting this error message:

  • Serving Flask app "hicbrowser.views" (lazy loading)

  • Environment: production
    WARNING: Do not use the development server in a production environment.
    Use a production WSGI server instead.

  • Debug mode: off

    raise ValueError("cannot have a multithreaded and "
    ValueError: cannot have a multithreaded and multi process server.

I am not sure whether this is due to the port number used.
I was wondering if anyone already experienced this and was able to resolve it?

The command I have been running is the following:

runBrowser --config browserConfig.ini --port 5001 --numProcessors 8
runBrowser --config browserConfig.ini --port 8888 --numProcessors 8

FYI, I am using a cluster to run this command.

@fidelram
Copy link
Contributor

fidelram commented May 9, 2018

you can ignore the Warning. The problem is:

ValueError: cannot have a multithreaded and multi process server.

I am not familiar with that error, but probably is unrelated to HiCBrowser. I recommend you to reach out to flask for help.

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