[Bug 862683] [NEW] List caching in the qrunners can cause the processes to grow unduly large.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Public bug reported: The qrunners implement a cache of list objects to save reloading the list from the file system when not necessary. This cache is implemented via a weakref dictionary which is intended to free cached objects when they are no longer referenced. However, there is a self reference in the default MemberAdaptor (OldStyleMemberships) that prevents cached list objects from ever being freed. Thus, the qrunners grow until they have a cached copy of every list. This can be quite large in an installation with many lists and/or multiple large lists. ** Affects: mailman Importance: Low Assignee: Mark Sapiro (msapiro) Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/862683 Title: List caching in the qrunners can cause the processes to grow unduly large. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/862683/+subscriptions
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
This is fixed by eliminating the qrunner list cache. It is not clear that this cache offers much benefit with modern file systems. ** Changed in: mailman Status: New => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/862683 Title: List caching in the qrunners can cause the processes to grow unduly large. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/862683/+subscriptions
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
** Changed in: mailman Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/862683 Title: List caching in the qrunners can cause the processes to grow unduly large. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/862683/+subscriptions
participants (1)
-
Mark Sapiro