<div dir="ltr"><div>Thanks for your quick answer :)</div><div><br></div>I think I have already FCGI.<div><br></div><div>How to know to be sure if I use CGI or FCGI for smokeping ?<br><div><br></div><div>This is my smokeping.conf for Apache :</div>
<div><br></div><div><div>ScriptAlias /smokeping/smokeping.cgi "/usr/local/smokeping/htdocs/smokeping.fcgi"<br></div><div><br></div><div>Alias /smokeping "/usr/local/smokeping/htdocs/"</div><div><Directory "/usr/local/smokeping/htdocs/"></div>
<div> Options Indexes Includes FollowSymLinks ExecCGI</div><div> AllowOverride All</div><div> AddHandler php5-fastcgi .php .php5 .php4</div><div> Action php5-fastcgi smokeping.fcgi</div><div>
Order allow,deny</div><div> Allow from All</div><div></Directory></div></div></div><div><br></div><div><div>Alias /smokeping/cache "/usr/local/smokeping/work/cache/"</div><div><Directory "/usr/local/smokeping/work/cache/"></div>
<div> Options Indexes FollowSymLinks</div><div> AllowOverride None</div><div> Order allow,deny</div><div> Allow from all</div><div></Directory></div></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/23 Steve Wray <span dir="ltr"><<a href="mailto:stevedwray@gmail.com" target="_blank">stevedwray@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Try using fcgi, it loads a lot faster.<div><br></div><div>ie where you have smokeping.cgi use smokeping.fcgi instead. You may need to install some additional packages to make it work.</div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 23 September 2013 18:56, Artiflo <span dir="ltr"><<a href="mailto:artiflo@gmail.com" target="_blank">artiflo@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<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>
<br></div></div>_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>