djangoplay-web / Runbooks / Runbook — Celery
DocsDjangoPlay WebRunbooksRunbook — Celery

Runbook — Celery

Check:

1 min readApplies to v1.2.2
On this page ▾
  1. Check
  2. Logs
  3. Restart
  4. If Tasks Stall
  5. Settings

Check

bash
sudo systemctl status djangoplay-celery

Logs

bash
sudo journalctl -u djangoplay-celery -n 200 --no-pager

Restart

bash
sudo systemctl restart djangoplay-celery

If Tasks Stall

text
Redis availability
Celery process state
RAM
CPU
database connectivity
task logs

On the constrained production VM, avoid increasing concurrency without measuring actual memory headroom.

Settings

Celery must resolve the same settings module as Django.

The source of truth is:

text
paystream.settings.bootstrap.resolve_settings_module()