CryoSPARC hangs during 2D classification

Hello,

I am running CryoSPARC v4.2.1 (single workstation) on Ubuntu 22.04 LTS, 256 GB RAM, 112 Xenon (R) gold, and 4 Nvidia RTX A4000 cards. During the final iteration of 2D classification, CryoSPARC hangs and will not restart with the following error:

cryosparcm restart

CryoSPARC is running.
Stopping cryoSPARC 
unix:///tmp/cryosparc-supervisor-f5efbc7972ad2f5d9f2473319cb0216f.sock refused connection

Running cryosparcm status outputs:

cryosparcm status
----------------------------------------------------------------------------
CryoSPARC System master node installed at
/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master
Current cryoSPARC version: v4.2.1+230427
----------------------------------------------------------------------------

CryoSPARC process status:

unix:///tmp/cryosparc-supervisor-f5efbc7972ad2f5d9f2473319cb0216f.sock refused connection

----------------------------------------------------------------------------
*** CommandClient: (http://currie-lab-gpu-sm:39002/api) URL Error [Errno 111] Connection refused
An error ocurred while checking license status
Could not get license verification status. Are all CryoSPARC processes RUNNING?


I also tried cryosparcm test install to get more information which gave: 

**cryosparcm test install**
Running installation tests...
✓ Running as cryoSPARC owner
✓ Running on master node
✓ CryoSPARC is running
*** CommandClient: (http://currie-lab-gpu-sm:39002/api) URL Error [Errno 111] Connection refused
Traceback (most recent call last):
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_tools/cryosparc/command.py", line 104, in func
    with make_json_request(self, "/api", data=data) as request:
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_tools/cryosparc/command.py", line 191, in make_request
    raise CommandClient.Error(client, error_reason, url=url)
cryosparc_tools.cryosparc.command.Error: *** CommandClient: (http://currie-lab-gpu-sm:39002/api) URL Error [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_command/instance_tests/installation_test.py", line 10, in <module>
    import patch
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/patch.py", line 34, in <module>
    CLI = client.CommandClient(
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_compute/client.py", line 36, in __init__
    super().__init__(service, host, port, url, timeout, headers, cls=NumpyEncoder)
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_tools/cryosparc/command.py", line 91, in __init__
    self._reload()  # attempt connection immediately to gather methods
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_tools/cryosparc/command.py", line 118, in _reload
    system = self._get_callable("system.describe")()
  File "/home/cryosparcuser/Desktop/Cryosparc/cryosparc_master/cryosparc_tools/cryosparc/command.py", line 107, in func
    raise CommandClient.Error(
cryosparc_tools.cryosparc.command.Error: *** CommandClient: (http://currie-lab-gpu-sm:39002) Did not receive a JSON response from method "system.describe" with params ()

Any ideas as to how I could get CryoSPARC working again?

Edit: Issue resolved. I had to restart the computer to force cryosparc to shutdown then updated my ssd option from --nossd to a specified path as described here: Add cache/SSD after standalone install.

1 Like