Subject: Developers of Sympa
List archive
- From: Sergiy Zhuk <address@concealed>
- To: Aumont <address@concealed>
- Cc: address@concealed
- Subject: delete_user() bug in List.pm, also other issues
- Date: Thu, 5 Sep 2002 17:03:42 -0700 (PDT)
hi
Follow up to my message about incorrect total counters:
The bug is in List.pm delete_user().
You're starting with $total=0, then decreasing the value for each removed
user, so $total is negative.
Then you're trying to substract a negative number which gives you '+' in
total.
I've changed the following:
--- List.pm.orig Thu Sep 5 16:55:51 2002
+++ List.pm Thu Sep 5 16:56:08 2002
@@ -2666,7 +2666,7 @@
}
}
- $self->{'total'} -= $total;
+ $self->{'total'} += $total;
$self->savestats();
return $total;
}
Everything seems to work fine now.
There're other problems though:
1. memory consumption is still way too high.
even when I've switched to 'include2', task_manager and wwsympa.fcgi each
take about 100Mb of RAM.
I'm not sure yet what's causing it.
I have about 1,600 lists, majority of them in sympa dbase, some (about a
100)
with 'include2' type (SQL queries and include other sympa lists)
2. start-up is very slow and related to (1)
it takes sympa several minutes to start responding on http requests
3. list search page is very slow, no matter what you specify, i.e. a list or
a category (topic)
I think all 3 may be related.
I'm looking for a way to find the problem and fix it, since it's becoming a
huge issue as the number of lists grows.
--
rgds,
serge
-
Re: include_remote_sympa_list,
Sergiy Zhuk, 09/05/2002
- delete_user() bug in List.pm, also other issues, Sergiy Zhuk, 09/06/2002
Archive powered by MHonArc 2.6.19+.