Error on timeout vs retry values
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout, failure to do so will cause the tasks to be retriggered before completion. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote:
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout, failure to do so will cause the tasks to be retriggered before completion. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating.
You shouldn't edit files in site-packages
directory as they are part
of the package itself and could cause issues.
What you want to do is override it in your settings.py (or settings_local.py) file for Django. I am not sure which guide you followed to install Mailman, but it should be somewhere in /opt/mailman/ I suppose (not in venv/ for sure).
It should look something like this
https://mailman-web.readthedocs.io/en/latest/settings.html#mailman_web.setti...
Just the value of retry should be just > than timeout as the error says, so not necessarily same values, but so far 300 and 360 has been working good for us and I haven't seen any report to increase them.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Thanks I will give that a go a bit later today and see what happens.
Get BlueMail for Android
On 19 Jul 2021, 07:34, at 07:34, Abhilash Raj <maxking@asynchronous.in> wrote:
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: UserWarning: Retry and timeout are misconfigured. Set retry larger
timeout, failure to do so will cause the tasks to be retriggered before completion. See https://django-q.readthedocs.io/en/latest/configure.html#retry for
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote: than details.
See https://django-q.readthedocs.io/en/latest/configure.html#retry
for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating.
You shouldn't edit files in
site-packages
directory as they are part of the package itself and could cause issues.What you want to do is override it in your settings.py (or settings_local.py) file for Django. I am not sure which guide you followed to install Mailman, but it should be somewhere in /opt/mailman/ I suppose (not in venv/ for sure).
It should look something like this
https://mailman-web.readthedocs.io/en/latest/settings.html#mailman_web.setti...
Just the value of retry should be just > than timeout as the error says, so not necessarily same values, but so far 300 and 360 has been working good for us and I haven't seen any report to increase them.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Thank you, that's fixed it.
On 19/07/21 7:28 am, Abhilash Raj wrote:
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote:
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout, failure to do so will cause the tasks to be retriggered before completion. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating. You shouldn't edit files in
site-packages
directory as they are part of the package itself and could cause issues.What you want to do is override it in your settings.py (or settings_local.py) file for Django. I am not sure which guide you followed to install Mailman, but it should be somewhere in /opt/mailman/ I suppose (not in venv/ for sure).
It should look something like this
https://mailman-web.readthedocs.io/en/latest/settings.html#mailman_web.settings.mailman.Q_CLUSTER
Just the value of retry should be just > than timeout as the error says, so not necessarily same values, but so far 300 and 360 has been working good for us and I haven't seen any report to increase them.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Hi.
I just received the same error this evening when rebuilding Mailman3 on a new Debian 11 instal. There is a later version of Django on the new install.
I got the original settings from the Mailman-Suite Gitlab project. I have made the modification but does this need to be made in that Gitlab project as well as that is where a lot of folks are getting their base Settings.py from?
Thanks. Andrew.
-----Original Message----- From: Robert Moody <robert@kneedrag.org> Sent: 18 July 2021 22:35 To: mailman-users@mailman3.org Subject: [MM3-users] Re: Error on timeout vs retry values
Thank you, that's fixed it.
On 19/07/21 7:28 am, Abhilash Raj wrote:
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote:
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout, failure to do so will cause the tasks to be retriggered before completion. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating. You shouldn't edit files in
site-packages
directory as they are part of the package itself and could cause issues.What you want to do is override it in your settings.py (or settings_local.py) file for Django. I am not sure which guide you followed to install Mailman, but it should be somewhere in /opt/mailman/ I suppose (not in venv/ for sure).
It should look something like this
https://mailman-web.readthedocs.io/en/latest/settings.html#mailman_web .settings.mailman.Q_CLUSTER
Just the value of retry should be just > than timeout as the error says, so not necessarily same values, but so far 300 and 360 has been working good for us and I haven't seen any report to increase them.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
On Aug 24, 2021, at 1:00 PM, Andrew Hodgson <andrew@hodgson.io> wrote:
Hi.
I just received the same error this evening when rebuilding Mailman3 on a new Debian 11 instal. There is a later version of Django on the new install.
I got the original settings from the Mailman-Suite Gitlab project. I have made the modification but does this need to be made in that Gitlab project as well as that is where a lot of folks are getting their base Settings.py from?
I have just updated the mailman-suite gitlab project with this change.
https://gitlab.com/mailman/mailman-suite/-/commit/7f5dfd4992d4c4543272334536...
Thanks. Andrew.
-----Original Message----- From: Robert Moody <robert@kneedrag.org> Sent: 18 July 2021 22:35 To: mailman-users@mailman3.org Subject: [MM3-users] Re: Error on timeout vs retry values
Thank you, that's fixed it.
On 19/07/21 7:28 am, Abhilash Raj wrote:
On Sat, Jul 17, 2021, at 11:23 PM, Robert Moody wrote:
Hi everyone,
I have recently setup a new mailman3 service using the venv method. Everything is functionally working however I keep getting an error sent to the mailman email every min which I can not seem to figure out why.
/opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py:142: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout, failure to do so will cause the tasks to be retriggered before completion. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details. See https://django-q.readthedocs.io/en/latest/configure.html#retry for details."""
I have edited the timeout and retry values in the /opt/mailman/venv/lib/python3.7/site-packages/django_q/conf.py file and restarted both mailman and mailman-web however this still keeps repeating. You shouldn't edit files in
site-packages
directory as they are part of the package itself and could cause issues.What you want to do is override it in your settings.py (or settings_local.py) file for Django. I am not sure which guide you followed to install Mailman, but it should be somewhere in /opt/mailman/ I suppose (not in venv/ for sure).
It should look something like this
https://mailman-web.readthedocs.io/en/latest/settings.html#mailman_web .settings.mailman.Q_CLUSTER
Just the value of retry should be just > than timeout as the error says, so not necessarily same values, but so far 300 and 360 has been working good for us and I haven't seen any report to increase them.
Any ideas?
Regards,
Robert
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Abhilash Raj wrote:
On Aug 24, 2021, at 1:00 PM, Andrew Hodgson <andrew@hodgson.io> wrote:
I just received the same error this evening when rebuilding Mailman3 on a new Debian 11 instal. There is a later version of Django on the new install.
I got the original settings from the Mailman-Suite Gitlab project. I have made the modification but does this need to be made in that Gitlab project as well as that is where a lot of folks are getting their base Settings.py from?
I have just updated the mailman-suite gitlab project with this change.
Thanks for doing this all working this end.
Andrew.
participants (3)
-
Abhilash Raj
-
Andrew Hodgson
-
Robert Moody