django-admin cron jobs running on multiple units and at the same time
Bug #1843204 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mailman 3 Web Charm |
Triaged
|
High
|
Unassigned |
Bug Description
Hi,
Had an issue with sluggish experience with the mailman3 UI. It seems on both mailman3-web units, the django-admin runjobs minutely and daily jobs were running at the same time (both units 2 CPU cores).
We should:
* figure out if multiple units needs to run these jobs or just one of them. I suspect it's just one, so is_leader() to ship out the crontab and remove if not.
* if it needs to run on multiple units, try splay the cron jobs.
Changed in mailman3-web-charm: | |
status: | New → In Progress |
assignee: | nobody → Haw Loeung (hloeung) |
importance: | Undecided → Critical |
importance: | Critical → High |
To post a comment you must log in.
Oh, looks like run jobs are needed on both units to perform work on the local cache.