Mark, Actually, this is saying cache_life under mailman:
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/config/docs/config.html#cache-life There is a cache_lifetime under ‘dmarc’. I used your clue about the database to concoct my own solution… 😊. I edited the ‘expires_on’ values in the file_cache table in the database so the files were expired. It looks like the times in that table are UTC. I’m going to ratchet down my cache_life so anyone that is playing with templates doesn’t go bonkers (like me) with why their changes aren’t honored. I have a small site, so not much performance impact. Thank you for your help. Tom Lieuallen From: Mark Sapiro <m...@msapiro.net> Date: Monday, February 10, 2025 at 12:46 PM To: mailman-users@mailman3.org <mailman-users@mailman3.org> Subject: [MM3-users] Re: Pck files stuck in out queue [This email originated from outside of OSU. Use caution with links and attachments.] On 2/10/25 12:09, Lieuallen, Thomas Otis via Mailman-users wrote: > > I haven’t figured out how to work with these cache files. I found some > mention that a runner would clean up cache files after a week (default) and > that one could use ‘cache_life’ to change that default. So, I set the > following and restarted mailman. The cache files hadn’t been removed after > > 4 hours, so I unset it and restarted again. > > Cache_life: 1d The setting is actually `cache_lifetime` in the `[mailman]` section of mailman.cfg, however when a file is cached, it's lifetime is saved in the database and won't be changed by changing that setting. > Without further information or direction, I’m tempted to just remove those > cache files and move on with life. Removing them is OK, but a database entry will still exist pointing to them and attempt to retrieve them will return `Cache content lost`. The way to properly remove them is in Mailman shell ``` $ mailman shell Welcome to the GNU Mailman shell Use commit() to commit changes. Use abort() to discard changes since the last commit. Exit with ctrl+D does an implicit commit() but exit() does not. >>> cm = getUtility(ICacheManager) >>> cm.clear() >>> commit() >>> ``` -- 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Fmailman3%2Flists%2Fmailman-users.mailman3.org%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7Cf1b234cf6788425ca22208dd4a13f5db%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638748171788039141%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=JtY4eYFBUDKLrsAs%2Fur%2F%2BIHGgMMoJeFsMIXbPWuQqfo%3D&reserved=0<https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/> Archived at: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mailman3.org%2Farchives%2Flist%2Fmailman-users%40mailman3.org%2Fmessage%2FKBRIP54RAXWVXZKPRCFNAA3YRTBKSIOG%2F&data=05%7C02%7CTom.Lieuallen%40oregonstate.edu%7Cf1b234cf6788425ca22208dd4a13f5db%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638748171788069755%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=YXlLbo0E%2FycODfxwj2ua5L2PlqWwsHaEyWePeEBBzEk%3D&reserved=0<https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/KBRIP54RAXWVXZKPRCFNAA3YRTBKSIOG/> This message sent to lieua...@oregonstate.edu _______________________________________________ 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/UWLRYA4IQEIEBV3HWET5HXJOT2ZMCRG5/ This message sent to arch...@mail-archive.com