<div dir="ltr">Hello,<div><br></div><div>On smokeping 2.6.8, I have 2600 devices on 90 FPING probe.</div><div><br></div><div>Each time I try to show a page or when I click on menu that took ~12 secondes !!!</div><div><br></div>
<div>Why is so long ?</div><div><br></div><div>(0.5 load on 4 XEON server)</div><div><br></div><div># time /usr/local/smokeping/bin/smokeping_cgi /usr/local/smokeping/etc/config<br></div><div><div>real 0m12.763s</div>
<div>
user 0m11.519s</div><div>sys 0m0.710s</div></div><div><br></div><div># cat /usr/local/smokeping/bin/smokeping_cgi</div><div><br></div><div><div>#!/usr/bin/perl</div><div># -*-perl-*-</div><div><br></div><div>use strict;</div>
<div>use warnings;</div><div><br></div><div>use FindBin;</div><div>use lib qw(); # PERL5LIB</div><div>use lib "$FindBin::Bin/../thirdparty/lib/perl5";</div><div>use lib "$FindBin::Bin/../lib";</div><div>
<br></div><div># don't bother with zombies</div><div>$SIG{CHLD} = 'IGNORE';</div><div><br></div><div>use CGI::Carp qw(fatalsToBrowser);</div><div><br></div><div>use Smokeping;</div><div><br></div><div>use CGI::Fast;</div>
<div><br></div><div>my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";</div><div><br></div><div><br></div><div>while (my $q = new CGI::Fast) {</div><div> Smokeping::cgi($cfg,$q);</div><div>}</div></div>
</div>