CottageLabs/OpenArticleGauge

Upgrading celery

Closed this issue · 4 comments

A few minor versions after the one OAG uses, a memory leak concerning celery worker timeouts was discovered and fixed. It is probably necessary to upgrade to the latest minor version of celery to avoid this issue.

http://celery.readthedocs.org/en/3.0/changelog.html#version-3-0-24

Ah damn it.

Yeah, celery mem usage is slowly but very surely increasing. Quadrupled it's initial usage by now.

What needs to happen is:

  1. upgrade minor celery version locally
  2. check everything still works with a manual test of an identifier
  3. push to live
  4. watch the graph again

It's not much and I should most probably do it today unless you'd like to @nimphal ?

OK done the upgrade, let's see how the usage holds up now. We might have to run a batch of DOI-s if nobody else is to actually trigger the problem.

Memory is fine although we got a new problem with the upgrade: #119 .