-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New daemon 2) running as daemon process #1055
Comments
This will also involve, address and potentially solve other issues:
|
I can think of a couple of ways to go:
Because of the heavyweight nature of celeryd and the issues we already have with it requiring a broker with a other than SQLA in recent versions (see requirements file) I would favour ripping it out. |
@DropD is currently looking into |
@DropD will have a look at circus. Things to check:
|
Restarting:
Logging:
|
@DropD good work. I'm happy without exponential backoff for now. |
To have the daemon test script run on Travis, we had to change the JobCalculations to go properly through the Process level. However, that means that the old daemon, currently launched by verdi daemon start, which launches a celery worker, won't be able to run them at all. Instead we temporarily replace the celery worker with a subprocess call to `verdi devel run_daemon` which will run the new daemon in the background. Note that this is not actually daemonized, but just runs a DaemonRunner in a separate process. For the tests this should work for the time being, until issue aiidateam#1055 is fixed, that will implement a properly daemonized version of the daemon runner.
Fixed in #1217 |
The daemon from step 1 (see #1054) needs to be set up to run as a OS daemon service. Either using celeryd or something else.
The text was updated successfully, but these errors were encountered: