Question: how to restart the local galaxy server without cancel the running jobs
0
gravatar for yychangsd
2.3 years ago by
yychangsd • 30
yychangsd • 30 wrote:

I set up a local galaxy server.

And I am wondering that whether there is a way to restart the server without canceling the running jobs.

Thanks..

galaxy • 909 views
ADD COMMENT • link • modified 2.3 years ago by James Taylor ♦ 470 • written 2.3 years ago by yychangsd • 30

Are you using a local job runner? Are you restarting the physical server or just Galaxy?

ADD REPLY • link written 2.3 years ago by Devon Ryan • 1.9k

I'm using a local job and would like to restart only galaxy.

Thanks..

ADD REPLY • link written 2.3 years ago by yychangsd • 30

I don't think this is possible.

ADD REPLY • link written 2.3 years ago by Rob • 50
1
gravatar for Martin Čech
2.3 years ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

This is not only possible this is also the default. You can turn it off by setting the following config option to False: https://github.com/galaxyproject/galaxy/blob/dev/config/galaxy.ini.sample#L1094

ADD COMMENT • link written 2.3 years ago by Martin Čech ♦♦ 4.9k
1
gravatar for James Taylor
2.3 years ago by
James Taylor ♦ 470
United States
James Taylor ♦ 470 wrote:

I believe when using the local job runner running jobs will be cancelled.

Jobs that have not yet run (e.g. queued or gray) will still be started after the server restarts as long as track_jobs_in_database is set as Martin said.

For running jobs to survive a restart you need to use a separate DRM such as SLURM.

ADD COMMENT • link written 2.3 years ago by James Taylor ♦ 470
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: 167 users visited in the last hour