Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated docs for gunicorn fix

...

  • The default SS gunicorn worker class (gevent) is incompatible with Python's multiprocessing package, which is required for the Sword API. To resolve this:add a line to 

1. Add the line `env SS_GUNICORN_WORKER_CLASS=sync` to the AM SS service config file at /etc/init/archivematica-storage-service.conf

...

  • env SS_GUNICORN_WORKER_CLASS=sync

.

2. Reload the config and restart the SS service:

    $ sudo initctl reload-configuration
    $ sudo service archivematica-storage-service restart

3. Check the SS logs and expect the last Using worker line to be Using worker: sync and NOT Using worker: gevent:

    $ sudo vi /var/log/upstart/

...

archivematica-storage-service.log

Archivematica automation tools:

...