[Bug 292013] www/py-django-q2: service to star qcluster
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 292013] www/py-django-q2: service to star qcluster"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Dec 2025 16:50:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292013 --- Comment #2 from takeda@takeda.tk --- (In reply to Einar Bjarni Halldórsson from comment #1) > I followed https://docs.mailman3.org/en/latest/config-web.html#running-the-task-queue Notice on the bottom it says: > You will also have to run python manage.py qcluster command along with Hyperkitty. See Hyperkitty’s docs about asynchronous tasks. https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html#asynchronous-tasks Basically in my understanding you need to have three things running for the mailman 3: - mailman service which is doing the actual job - django service (postorius UI + hyperkitty UI for archiving) - but if running apache with mod_wsgi this can be run there (though some people might need it too) - django queue processor (which I'm talking about here) which would be running a command like this in background: `sudo -u mailman /usr/local/mailman/web/manage.py qcluster` So the 2nd one can be avoided with mod_wsgi, but 3rd one still has to be run somehow, if it is not run, the mailing list runs, but archiving of mailing list don't seem to work. Here's example of a run when making a 2 posts on the mailing list: # sudo -u mailman /usr/local/bin/python3.11 /usr/local/mailman/manage.py qcluster 01:05:50 [Q] INFO Q Cluster ohio-football-victor-high starting. 01:05:50 [Q] INFO Process-9296806f423e4415bd0376491aa75cd9 ready for work at 3123 01:05:50 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 ready for work at 3124 01:05:50 [Q] INFO Process-880d8c6b6a2c487c8209461b97c78de3 ready for work at 3125 01:05:50 [Q] INFO Process-acd6dc86eea84cd4b0be814f54a6e8b2 ready for work at 3126 01:05:50 [Q] INFO Process-2cc8dabf8f2c4a72be3dbf5e0c18dec1 monitoring at 3127 01:05:50 [Q] INFO Process-cbcba5401bbe4c0b840e520a5d19f18e guarding cluster ohio-football-victor-high [default] 01:05:50 [Q] INFO Process-834c120a098f49a6af0706f57b8bcaf1 pushing tasks at 3128 01:05:50 [Q] INFO Q Cluster ohio-football-victor-high [default] running. 01:06:20 [Q] INFO Process-9296806f423e4415bd0376491aa75cd9 processing update_from_mailman 'hyperkitty.tasks._update_from_mailman' 01:06:20 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 processing sender_mailman_id 'hyperkitty.tasks._sender_mailman_id' 01:06:20 [Q] INFO Process-880d8c6b6a2c487c8209461b97c78de3 processing rebuild_thread_cache_new_email 'hyperkitty.tasks._rebuild_thread_cache_new_email' 01:06:20 [Q] INFO Process-acd6dc86eea84cd4b0be814f54a6e8b2 processing compute_thread_positions 'hyperkitty.tasks._compute_thread_positions' 01:06:21 [Q] INFO Process-9296806f423e4415bd0376491aa75cd9 processing rebuild_mailinglist_cache_recent 'hyperkitty.tasks._rebuild_mailinglist_cache_recent' 01:06:21 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 processing rebuild_mailinglist_cache_for_month 'hyperkitty.tasks._rebuild_mailinglist_cache_for_month' 01:06:21 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 processing check_orphans 'hyperkitty.tasks._check_orphans' 01:06:21 [Q] INFO Processed 'hyperkitty.tasks._update_from_mailman' (update_from_mailman) 01:06:21 [Q] INFO Processed 'hyperkitty.tasks._sender_mailman_id' (sender_mailman_id) 01:06:21 [Q] INFO Processed 'hyperkitty.tasks._rebuild_mailinglist_cache_for_month' (rebuild_mailinglist_cache_for_month) 01:06:21 [Q] INFO Processed 'hyperkitty.tasks._check_orphans' (check_orphans) 01:06:21 [Q] INFO Processed 'hyperkitty.tasks._rebuild_thread_cache_new_email' (rebuild_thread_cache_new_email) 01:06:22 [Q] INFO Processed 'hyperkitty.tasks._rebuild_mailinglist_cache_recent' (rebuild_mailinglist_cache_recent) 01:06:22 [Q] INFO Processed 'hyperkitty.tasks._compute_thread_positions' (compute_thread_positions) 01:26:32 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 processing update_from_mailman 'hyperkitty.tasks._update_from_mailman' 01:26:32 [Q] INFO Process-880d8c6b6a2c487c8209461b97c78de3 processing sender_mailman_id 'hyperkitty.tasks._sender_mailman_id' 01:26:32 [Q] INFO Process-9296806f423e4415bd0376491aa75cd9 processing rebuild_thread_cache_new_email 'hyperkitty.tasks._rebuild_thread_cache_new_email' 01:26:32 [Q] INFO Process-acd6dc86eea84cd4b0be814f54a6e8b2 processing compute_thread_positions 'hyperkitty.tasks._compute_thread_positions' 01:26:32 [Q] INFO Process-880d8c6b6a2c487c8209461b97c78de3 processing rebuild_mailinglist_cache_recent 'hyperkitty.tasks._rebuild_mailinglist_cache_recent' 01:26:33 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 processing rebuild_mailinglist_cache_for_month 'hyperkitty.tasks._rebuild_mailinglist_cache_for_month' 01:26:33 [Q] INFO Process-242a9529d450456cb81d81eaccd003f2 processing check_orphans 'hyperkitty.tasks._check_orphans' 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._sender_mailman_id' (sender_mailman_id) 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._update_from_mailman' (update_from_mailman) 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._rebuild_mailinglist_cache_for_month' (rebuild_mailinglist_cache_for_month) 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._rebuild_thread_cache_new_email' (rebuild_thread_cache_new_email) 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._check_orphans' (check_orphans) 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._compute_thread_positions' (compute_thread_positions) 01:26:33 [Q] INFO Processed 'hyperkitty.tasks._rebuild_mailinglist_cache_recent' (rebuild_mailinglist_cache_recent) -- You are receiving this mail because: You are the assignee for the bug.