Subject: The mailing list for listmasters using Sympa
List archive
- From: "McLaren, Terry" <address@concealed>
- To: Kazim Koybasi <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] Slowness at sympa web interface
- Date: Wed, 16 Oct 2019 14:35:12 +0000
Kazim - Attached is a summary of the settings that optimize mysql for sympa.
Hope it helps,
Terry McLaren University of Illinois
From: address@concealed <address@concealed>
On Behalf Of Steve Shipway
On Mon, 2019-10-14 at 22:04 +0300, Kazim Koybasi wrote:
If the web interface is responding slowly due to slow queries on the database, then you can sometimes add an additional index that will help speed up the query. Occasionally, an index is missing and as a result the database needs to scan all items rather than use an index to quickly identify the ones wanted. If this is the case, then your database Slow Query log should be able to point out the queries taking time. Which index to create and how to tune your database depends on your situation; check with your DBA.
Another possibility is that you have your external datasources TTL set incorrectly. If you have the ttl and distribution_ttl settings too low (ttl defaults to default_ttl) then this can cause the external datasource to be polled to refresh the membership when you try to access the list. If the datasource is extremely slow to respond this can slow things down. These should be fairly high - 1 hour is normal, but I used 1 day for some lists with membership that rarely changes. If the list is low-activity, then maybe set ttl to a day or more and have distribution_ttl to something lower, like an hours or less. You might also consider having a periodic job to automatically refresh these overnight. Finally, you can set a time limit on external queries if you want; you might like to do this to limit the time taken by external queries.
Steve
-- This email has been filtered by SMX. For more information visit smxemail.com. |
Attachment:
my.cnf-MySQL config optimized for Sympa.pdf
Description: my.cnf-MySQL config optimized for Sympa.pdf
-
[sympa-users] Slowness at sympa web interface,
Kazim Koybasi, 10/10/2019
-
Re: [sympa-users] Slowness at sympa web interface,
Steve Shipway, 10/10/2019
-
Re: [sympa-users] Slowness at sympa web interface,
Kazim Koybasi, 10/14/2019
-
Re: [sympa-users] Slowness at sympa web interface,
Steve Shipway, 10/15/2019
- RE: [sympa-users] Slowness at sympa web interface, McLaren, Terry, 10/16/2019
-
Re: [sympa-users] Slowness at sympa web interface,
Steve Shipway, 10/15/2019
-
Re: [sympa-users] Slowness at sympa web interface,
Kazim Koybasi, 10/14/2019
-
Re: [sympa-users] Slowness at sympa web interface,
Steve Shipway, 10/10/2019
Archive powered by MHonArc 2.6.19+.