Question: Galaxy stalled at startup when "Loading tool panel finished"
gravatar for david.roquis
10 months ago by
david.roquis30 wrote:

Dear Galaxy Community

I have a small production instance of galaxy, installed following the tutorials from the galaxy team (using PostGres, NGINX, supervisord, virtualenv, etc.). Lately, I noticed that my galaxy was slow and laggy. Sometimes, it would not even refresh properly. I decided to restart Galaxy through supervisord (systemctl restart supervisord) and since them, I have a lot of issues.

First of all, restarting or stopping supervisord do not work properly (it freezes my terminal). Starting supervisord works, but galaxy is never available through my browser (and supervisorctl status states that the processes are running). Looking at the uwsgi.log file, I noticed that galaxy seems stalled while loading, as nothing happens after doing the following step: DEBUG 2018-01-11 13:56:25,837 Loading tool panel finished (60.742 ms)

Trying to launch galaxy manually through "sh" lead the the same result. Nothing was done on our cluster lately: no updates, no config file changes. I only recently installed some galaxy tools, through the toolshed. I noticed also some very strange behaviors when galaxy is in this "stalled" process: I can not list files in the galaxy folder (using "ls"); it freezes, or access/copy files somewhere else (it also freezes).

If I launch galaxy manually, and kill it manually (sh, and then crtl+c when it is stalled), I get the following traceback DEBUG 2018-01-11 13:56:25,837 Loading section: Sandbox Tools DEBUG 2018-01-11 13:56:25,837 Loading tool panel finished (60.742 ms) ^C^C^C^C^CTraceback (most recent call last): File "/mnt/extStorage/galaxy-app/lib/galaxy/webapps/galaxy/", line 58, in paste_app_factory app =, **kwargs) File "/mnt/extStorage/galaxy-app/lib/galaxy/", line 117, in __init__ self._configure_toolbox() File "/mnt/extStorage/galaxy-app/lib/galaxy/", line 955, in _configure_toolbox self.toolbox = tools.ToolBox(tool_configs, self.config.tool_path, self) File "/mnt/extStorage/galaxy-app/lib/galaxy/tools/", line 226, in __init__ app=app, File "/mnt/extStorage/galaxy-app/lib/galaxy/tools/toolbox/", line 1053, in __init__ super(BaseGalaxyToolBox, self).__init__(config_filenames, tool_root_dir, app) File "/mnt/extStorage/galaxy-app/lib/galaxy/tools/toolbox/", line 85, in __init__ self._save_integrated_tool_panel() File "/mnt/extStorage/galaxy-app/lib/galaxy/tools/toolbox/", line 46, in _save_integrated_tool_panel self._write_integrated_tool_panel_config_file() File "/mnt/extStorage/galaxy-app/lib/galaxy/tools/toolbox/", line 105, in _write_integrated_tool_panel_config_file shutil.move(filename, destination) File "/usr/lib64/python2.7/", line 293, in move os.rename(src, real_dst) KeyboardInterrupt

I have never seen this kind of issues before, and it really puzzles me. Anyone may have an idea?



tool panel startup galaxy • 419 views
ADD COMMENTlink modified 9 months ago • written 10 months ago by david.roquis30
gravatar for david.roquis
9 months ago by
david.roquis30 wrote:


Sorry for my late answer. I finally figured out what the problem was and it was absolutely not related to Galaxy. It was a faulty disk controller that was messing up. Once fixed, galaxy was working normally agai. Thanks for your help.

ADD COMMENTlink written 9 months ago by david.roquis30
gravatar for Bjoern Gruening
10 months ago by
Bjoern Gruening5.1k
Bjoern Gruening5.1k wrote:

Can you check if some other processes are running? After you killed supervisord are there still python processes running?

ADD COMMENTlink written 10 months ago by Bjoern Gruening5.1k
Please log in to add an answer.


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