Dear AiiDA developers,
I am experiencing an issue with running AiiDA v2.7.3 on my macOS computer.
I initially installed AiiDA with PostgreSQL v14.21 (using Homebrew) and RabbitMQ v4.2.4 (using via the Generic Unix Binary Build*).
When I start the server, everything appears to work correctly, and the daemon successfully submits jobs, sometimes running for several minutes. However, after some time, the daemons, which are surprisingly slow, crash. The Circus log file contains the following error:
2026-02-26 16:01:35 circus[18649] [INFO] Starting master on pid 18649
2026-02-26 16:01:35 circus[18649] [INFO] Arbiter now waiting for commands
2026-02-26 16:01:35 circus[18649] [INFO] aiida-aiida started
2026-02-26 16:01:35 circus[18649] [INFO] circusd-stats started
2026-02-26 16:01:35 circus[18651] [INFO] Starting the stats streamer
2026-02-26 16:04:33 circus[18649] [INFO] Arbiter exiting
2026-02-26 16:04:33 circus[18651] [INFO] Stats streamer stopped
2026-02-26 16:04:33 tornado.general[18651] [WARNING] Got events for stream <zmq.eventloop.zmqstream.ZMQStream object at 0x104766ea0> attached to closed socket: Socket operation on non-socket
2026-02-26 16:04:33 circus[18651] [INFO] Stats streamer stopped
2026-02-26 16:04:33 circus[18651] [INFO] Stats streamer stopped
2026-02-26 16:04:33 circus[18649] [INFO] circusd-stats stopped
2026-02-26 16:04:34 circus[18649] [INFO] aiida-aiida stopped
2026-02-26 16:04:35 circus[19070] [INFO] Starting master on pid 19070
2026-02-26 16:04:35 circus[19070] [INFO] Arbiter now waiting for commands
2026-02-26 16:04:35 circus[19070] [INFO] aiida-aiida started
2026-02-26 16:04:35 circus[19070] [INFO] circusd-stats started
2026-02-26 16:04:35 circus[19072] [INFO] Starting the stats streamer
2026-02-26 16:05:00 circus[19070] [INFO] Arbiter exiting
2026-02-26 16:05:00 circus[19072] [INFO] Stats streamer stopped
2026-02-26 16:05:00 tornado.general[19072] [WARNING] Got events for stream <zmq.eventloop.zmqstream.ZMQStream object at 0x111b33770> attached to closed socket: Socket operation on non-socket
2026-02-26 16:05:00 circus[19072] [INFO] Stats streamer stopped
2026-02-26 16:05:00 circus[19072] [INFO] Stats streamer stopped
2026-02-26 16:05:00 circus[19070] [INFO] circusd-stats stopped
2026-02-26 16:05:01 tornado.application[19070] [ERROR] Exception in callback <bound method Arbiter.manage_watchers of <circus.arbiter.Arbiter object at 0x114500b00>>
Traceback (most recent call last):
File “/Users/gjoalland/Library/Python/3.12/lib/python/site-packages/tornado/ioloop.py”, line 945, in _run
val = self.callback()
^^^^^^^^^^^^^^^
…
File “/Users/gjoalland/Library/Python/3.12/lib/python/site-packages/circus/util.py”, line 1038, in wrapper
raise ConflictError(“arbiter is already running %s command”
circus.exc.ConflictError: arbiter is already running watcher_decr command
2026-02-27 14:14:00 tornado.application[20783] [ERROR] Exception in callback <bound method Arbiter.manage_watchers of <circus.arbiter.Arbiter object at 0x10b45d430>>
Traceback (most recent call last):
File “/Users/gjoalland/Library/Python/3.12/lib/python/site-packages/tornado/ioloop.py”, line 945, in _run
val = self.callback()
^^^^^^^^^^^^^^^
File “/Users/gjoalland/Library/Python/3.12/lib/python/site-packages/circus/util.py”, line 1038, in wrapper
raise ConflictError(“arbiter is already running %s command”
circus.exc.ConflictError: arbiter is already running arbiter_stop command
2026-03-02 14:40:42 circus[20783] [INFO] aiida-aiida stopped
Could someone please help me find a solution to this error?
Thank you in advance.
*I also attempted to install RabbitMQ directly via Homebrew, but encountered Erlang compatibility issues (as mentioned here). This led me to switch to the Generic Unix Binary Build.