List size vs. server memory .. and moderation via command prompt..

Dear mailman guys ..
2 questions:
1- does the list members affect the server's memory ? I mean, is it better to split the list to 3 small lists for example rather than put all the members in one big list?
2- is there a way to remove the moderation flag from a certain member via SSH command prompt ??
Thanks ..
More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/

Khalil Abbas wrote:
1- does the list members affect the server's memory ? I mean, is it better to split the list to 3 small lists for example rather than put all the members in one big list?
In Mailman 2.1.x, from the point of view of total memory used by the qrunners, it makes negligible difference. Each qrunner maintains a cache of instantiated list objects. List objects are supposed to be freed when no longer in use, but there is a self reference that effectively locks them permanently in the cache so the cache in the runner grows until it has one instance of every list.
For other purposes such as command line tools and web CGIs, smaller lists would use less memory, but these processes are transient.
This all assumes you are using the default MemberAdaptor. If you are using, e.g, a MySQL or LDAP MemberAdaptor, it would depend on how the MemberAdaptor handles the member list.
2- is there a way to remove the moderation flag from a certain member via SSH command prompt ??
See <http://www.msapiro.net/scripts/set_mod.py> (mirrored at <http://fog.ccsf.cc.ca.us/~msapiro/scripts/set_mod.py>).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Khalil Abbas wrote:
1- does the list members affect the server's memory ? I mean, is it better to split the list to 3 small lists for example rather than put all the members in one big list?
In Mailman 2.1.x, from the point of view of total memory used by the qrunners, it makes negligible difference. Each qrunner maintains a cache of instantiated list objects. List objects are supposed to be freed when no longer in use, but there is a self reference that effectively locks them permanently in the cache so the cache in the runner grows until it has one instance of every list.
For other purposes such as command line tools and web CGIs, smaller lists would use less memory, but these processes are transient.
This all assumes you are using the default MemberAdaptor. If you are using, e.g, a MySQL or LDAP MemberAdaptor, it would depend on how the MemberAdaptor handles the member list.
2- is there a way to remove the moderation flag from a certain member via SSH command prompt ??
See <http://www.msapiro.net/scripts/set_mod.py> (mirrored at <http://fog.ccsf.cc.ca.us/~msapiro/scripts/set_mod.py>).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Khalil Abbas
-
Mark Sapiro