Skip to Content.
Sympa Menu

devel - [sympa-dev] member count

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Thomas Berry <address@concealed>
  • To: sympa dev <address@concealed>
  • Subject: [sympa-dev] member count
  • Date: Tue, 09 Mar 2010 10:09:57 -0800


We synchronize the list members--those that aren't self-subscribed--of our lists with LDAP. Often, when checking the member total for a list, the count returns 0. Although, when a list of member email addresses is retrieved, the list has over 7000 members.

The count can be restored if a refresh of the list (with its source) is initiated. But, for lists as large as this, it is not practical to do this every time the count is zero.


I've been using the List.pm method get_total.

my $list = List->new($listname, $robot);
my $total = $list->get_total();
printf "$listname has $total members\n";

I've also tried using the "nocache" option, but that returns no value.

I looked at the Sympa 6.0 code, and the method hasn't changed.

Any ideas?



Archive powered by MHonArc 2.6.19+.

Top of Page