If you get bad performances with Sympa's web interface, below is a list of possible reasons :
0 in a production environment (log_level 0 does not disable logs but just keep normal operation logs).You can use the Devel::DProf perl module to find out where does Sympa processes spend too much time.
% cpan -i Devel::DProf”wwsympa.fcgi as follows : #!/usr/bin/perl -d:DProfFastCgiServer /usr/local/sympa-os/bin/wwsympa_sudo_wrapper.pl -processes 1% chmod a+w /home/sympa/bin% /etc/init.d/httpd restart
You should now perform whatever actions that you wish to profile on the Sympa web interface. You should perform the actions let's say 10 or 100 times to make the process init process negligible. Once you've simulated things on the web interface, you should put aside the generated tmon.out file : % cp /home/sympa/bin/tmon.out /tmp/
You then use the dprofpp tool to analyze the content of the tmon.out file :
% cd /tmp ; dprofpp -F -O 30
The output of dprofpp will look like this :
Total Elapsed Time = -1.44047 Seconds
User+System Time = 0 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
0.00 1.172 1.548 86 0.0136 0.0180 Template::Parser::_parse
0.00 0.778 0.816 170 0.0046 0.0048 CGI::Cookie::new
0.00 0.419 1.440 26 0.0161 0.0554 main::BEGIN
0.00 0.362 0.390 16664 0.0000 0.0000 Log::do_log
0.00 0.232 1.204 1106 0.0002 0.0011 List::load
0.00 0.221 0.577 36 0.0061 0.0160 List::_load_admin_file
0.00 0.220 0.220 85 0.0026 0.0026 Template::Document::new
0.00 0.169 0.319 86 0.0020 0.0037 Template::Parser::split_text
0.00 0.155 0.172 958 0.0002 0.0002 List::_load_scenario
0.00 0.150 0.149 2942 0.0001 0.0001 Template::Parser::tokenise_directi
ve
0.00 0.149 0.747 27 0.0055 0.0277 List::BEGIN
0.00 0.133 0.288 958 0.0001 0.0003 List::_load_scenario_file
0.00 0.124 0.320 21034 0.0000 0.0000 Template::Grammar::__ANON__
0.00 0.110 0.110 14 0.0079 0.0079 Locale::gettext_pp::__load_catalog
0.00 0.100 0.134 1491 0.0001 0.0001 Lock::new
Be aware that dprofpp output truncates the #Calls information to 6 digits !