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

Steve Wray stevedwray at gmail.com
Mon Sep 23 13:37:59 CEST 2013


Try using fcgi, it loads a lot faster.

ie where you have smokeping.cgi use smokeping.fcgi instead. You may need to
install some additional packages to make it work.



On 23 September 2013 18:56, Artiflo <artiflo at gmail.com> wrote:

> 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);
> }
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130923/2ae4c352/attachment.htm 


More information about the smokeping-users mailing list