Question: Feedback on using uWSGI
0
gravatar for tuto345
4.0 years ago by
tuto34520
France
tuto34520 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 COMMENTlink modified 2.6 years ago by romeu.alfred10 • written 4.0 years ago by tuto34520
1
gravatar for jmchilton
4.0 years ago by
jmchilton1.1k
United States
jmchilton1.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 COMMENTlink written 4.0 years ago by jmchilton1.1k
1
gravatar for romeu.alfred
2.6 years ago by
romeu.alfred10
romeu.alfred10 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 COMMENTlink written 2.6 years ago by romeu.alfred10
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