[smokeping-users] 12 secondes to show a page on smokeping ?

Artiflo artiflo at gmail.com
Mon Sep 23 12:56:05 CEST 2013


Hello,

On smokeping 2.6.8, I have 2600 devices on 90 FPING probe.

Each time I try to show a page or when I click on menu that took ~12
secondes !!!

Why is so long ?

(0.5 load on 4 XEON server)

# time /usr/local/smokeping/bin/smokeping_cgi
/usr/local/smokeping/etc/config
real    0m12.763s
user    0m11.519s
sys     0m0.710s

# cat /usr/local/smokeping/bin/smokeping_cgi

#!/usr/bin/perl
# -*-perl-*-

use strict;
use warnings;

use FindBin;
use lib qw(); # PERL5LIB
use lib "$FindBin::Bin/../thirdparty/lib/perl5";
use lib "$FindBin::Bin/../lib";

# don't bother with zombies
$SIG{CHLD} = 'IGNORE';

use CGI::Carp qw(fatalsToBrowser);

use Smokeping;

use CGI::Fast;

my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";


while (my $q = new CGI::Fast) {
   Smokeping::cgi($cfg,$q);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130923/4c8ad3ff/attachment.htm 


More information about the smokeping-users mailing list