Question: How To Clear Job Queue?
0
gravatar for very
9.4 years ago by
very • 70
very • 70 wrote:
I accidentally shut down my galaxy server in the middle of an job execution, after that I try to restart my galaxy server, it always shows the error that a job is in new state, and I can't start my galaxy server at all. I guess I have to clear that job out of the queue, so my galaxy server can start. Does anyone know how to clear the job queue? or any idea how to fix the problem? Thanks a lot!
galaxy • 1.1k views
ADD COMMENT • link • modified 9.4 years ago • written 9.4 years ago by very • 70
0
gravatar for Nate Coraor
9.4 years ago by
Nate Coraor ♦ 3.2k
United States
Nate Coraor ♦ 3.2k wrote:
Hello, Can you provide us with any relevant terminal output or errors? Galaxy attempts to manage new/queued/running jobs upon startup and should not hang or crash during this process. --nate
ADD COMMENT • link written 9.4 years ago by Nate Coraor ♦ 3.2k
0
gravatar for very
9.4 years ago by
very • 70
very • 70 wrote:
thanks for help! the error log as below: galaxy.jobs.runners.local INFO 2009-07-13 17:30:21,924 starting workers galaxy.jobs.runners.local DEBUG 2009-07-13 17:30:21,945 5 workers ready galaxy.jobs.runners.local INFO 2009-07-13 17:30:21,950 starting workers galaxy.jobs.runners.local DEBUG 2009-07-13 17:30:21,969 5 workers ready galaxy.jobs.schedulingpolicy.roundrobin INFO 2009-07-13 17:30:21,992 RoundRobin policy: initialized galaxy.jobs INFO 2009-07-13 17:30:21,992 job scheduler policy is galaxy.jobs.schedulingpolicy.roundrobin:UserRoundRobin galaxy.jobs INFO 2009-07-13 17:30:22,005 job manager started galaxy.jobs DEBUG 2009-07-13 17:30:22,202 no runner: 326 is still in new state, adding to the jobs queue galaxy.jobs DEBUG 2009-07-13 17:30:22,202 no runner: 330 is still in new state, adding to the jobs queue Traceback (most recent call last):   File "/media/Applications/work/spring2009/galaxy/galaxy3/lib/galaxy /web/buildapp.py", line 56, in app_factory     app = UniverseApplication( global_conf = global_conf, **kwargs )   File "/media/Applications/work/spring2009/galaxy/galaxy3/lib/galaxy /app.py", line 66, in __init__     self.job_manager = jobs.JobManager( self )   File "/media/Applications/work/spring2009/galaxy/galaxy3/lib/galaxy /jobs/__init__.py", line 33, in __init__     self.job_queue = JobQueue( app, self.dispatcher )   File "/media/Applications/work/spring2009/galaxy/galaxy3/lib/galaxy /jobs/__init__.py", line 110, in __init__     self.__check_jobs_at_startup()   File "/media/Applications/work/spring2009/galaxy/galaxy3/lib/galaxy /jobs/__init__.py", line 127, in __check_jobs_at_startup     job_wrapper = JobWrapper( job, self.app.toolbox.tools_by_id[ job.tool_id ], self ) KeyError: u'xslt_converter_16' Subject: Re: [galaxy-user] how to clear job queue? To: "R" <riververy@yahoo.com> Cc: "galaxy" <galaxy-user@bx.psu.edu> Date: Monday, July 13, 2009, 9:36 AM Hello, Can you provide us with any relevant terminal output or errors?  Galaxy attempts to manage new/queued/running jobs upon startup and should not hang or crash during this process. --nate
ADD COMMENT • link written 9.4 years ago by very • 70
... Did you remove this tool from your tool_conf.xml when you restarted? I've added handling for this case to the job recovery code. This fix should be in the Galaxy source repository shortly. --nate
ADD REPLY • link written 9.4 years ago by Nate Coraor ♦ 3.2k
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: 181 users visited in the last hour