django-admin cron jobs running on multiple units and at the same time

Bug #1843204 reported by Haw Loeung
8
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.

Revision history for this message
Haw Loeung (hloeung) wrote :

Oh, looks like run jobs are needed on both units to perform work on the local cache.

Haw Loeung (hloeung)
Changed in mailman3-web-charm:
status: New → In Progress
assignee: nobody → Haw Loeung (hloeung)
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
Haw Loeung (hloeung) wrote :

Putting this back in the queue. Even with 32GiB, these jobs are killing the mailman3-web units so we'll need to see if upgrading to a newer version of mailman3 will help.

Changed in mailman3-web-charm:
status: In Progress → Triaged
assignee: Haw Loeung (hloeung) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.