Question: Feedback on using uWSGI
0
gravatar for tuto345
4.0 years ago by
tuto345 • 20
France
tuto345 • 20 wrote:

Hi all,

I've been struggling to get Galaxy up and running on a production server tying to do most of the tasks through the interface, like installing the tools exclusively through the tool shed, etc.

I decided to go with a uWSGI server and everything is working till now, but I had to include an extra directive in the nginx.conf file

location / {
    include uwsgi_params;
    uwsgi_param UWSGI_SCHEME $scheme;
    uwsgi_param SCRIPT_NAME '';
    uwsgi_pass 127.0.0.1:8080;
}

The SCRIPT_NAME parameter was giving me problems and I found the answer on the web.

I would like to know how to start the server together with the galaxy startup code. Would you recommend to edit the /etc/init.d/galaxy script or the run.sh? Till now I'm starting the uWSGI by hand but would like to include it in systemd startup process. I think that it makes no sense to start the uWSGI server without the handlers (I configured 2) nor the opposite and that both should be launched together.

 

Any thoughts?

Cheers,

Cristian

software error galaxy • 1.2k views
ADD COMMENT • link • modified 2.6 years ago by romeu.alfred • 10 • written 4.0 years ago by tuto345 • 20
1
gravatar for jmchilton
4.0 years ago by
jmchilton ♦ 1.1k
United States
jmchilton ♦ 1.1k wrote:

usegalaxy.org manages both uwsgi and Galaxy together with supervisord (http://supervisord.org/) - it seems like a good choice. Nate put together a detailed walk through of how to configure everything for the GCC this year at https://wiki.galaxyproject.org/Events/GCC2014/TrainingDay/AdminWalkthrough.

ADD COMMENT • link written 4.0 years ago by jmchilton ♦ 1.1k
1
gravatar for romeu.alfred
2.6 years ago by
romeu.alfred • 10
romeu.alfred • 10 wrote:

I'll include a more updated resource for supervisord configuration

http://pvh.wp.sanbi.ac.za/2015/12/04/faster-galaxy-with-uwsgi/

ADD COMMENT • link written 2.6 years ago by romeu.alfred • 10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 179 users visited in the last hour