On 5/28/25 08:27, roughnecks via Mailman-users wrote:
It's the manage.py qcluster whatever is called. I have shut down MM for
the time being, because I'm not fully motivated to have it running, so I
can't be more accurate right now.
I don't know how qcluster is configured in the Debian packages (which
are out of date and possibly buggy anyway). You may be using django-q
<https://django-q.readthedocs.io/en/latest/> and if so, you should
migrate to django-q2 <https://django-q2.readthedocs.io/en/master/>. Both
typically use memcached as a backend.
Settings that control this are typically
```
# Set retry > timeout.
Q_CLUSTER = {
'timeout': 300,
'retry': 360,
'save_limit': 100,
'orm': 'default',
}
```
and possibly a setting like `'workers': 2,` (default is the CPU count of
the system but see
<https://django-q2.readthedocs.io/en/master/configure.html#f1>).
```
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
'LOCATION': '127.0.0.1:11211',
}
}
```
although the default if not set is
```
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
}
}
```
It is the `'orm': 'default'` setting that says to use Django's CACHES.
See <https://django-q2.readthedocs.io/en/master/brokers.html#django-orm>.
You can get info about what qcluster is doing with `manage.py qinfo` and
monitor things with `manage.py qmemory` and `manage.py qmonitor`.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/7ABYA5SYTVX2VFAQ4REWXM3ZKMTNBHNC/
This message sent to arch...@mail-archive.com