Question: how to restart the local galaxy server without cancel the running jobs
0
gravatar for yychangsd
2.3 years ago by
yychangsd30
yychangsd30 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 COMMENTlink modified 2.3 years ago by James Taylor470 • written 2.3 years ago by yychangsd30

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

ADD REPLYlink written 2.3 years ago by Devon Ryan1.9k

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

Thanks..

ADD REPLYlink written 2.3 years ago by yychangsd30

I don't think this is possible.

ADD REPLYlink written 2.3 years ago by Rob50
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 COMMENTlink written 2.3 years ago by Martin Čech ♦♦ 4.9k
1
gravatar for James Taylor
2.3 years ago by
James Taylor470
United States
James Taylor470 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 COMMENTlink written 2.3 years ago by James Taylor470
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