Hi Ramon,

 this was added January 5th 2006. There was a complaint from a non-HPC
user that all his nodes with load "5" were marked red, although that
load was absolutely normal for his deployment.

 The value is set in conf.php (default 1.). The load is divided by it,
resulting in a more apropriate coloring of the nodes for non-HPC loads.
The issue was discussed on the list.

$load_scale *is* set to 1 as default. This is in the 3.0.3 conf.php and
was tested. Did you take conf.php from your 3.0.1 installation without
checking for changes?

 One known bug is that the scaling is global and affects all nodes in a
Grid. We should add a fixed per-node load-scale metric to be more
flexible.

Cheers
Martin

--- Ramon Bastiaans <[EMAIL PROTECTED]> wrote:

> I get a whole load of these all over the place once I upgraded to 
> 3.0.3's web frontend:
> 
> Warning: Division by zero in /var/www/ganglia/functions.php on line
> 121
> Warning: Division by zero in /var/www/ganglia/functions.php on line
> 121
> Warning: Division by zero in /var/www/ganglia/functions.php on line
> 121
> 
> When I have a look at the php:
> ----
> ganglia.irc.sara.nl:/var/www/ganglia
> root# grep -n load_scale *
> functions.php:119:   global $load_scale;
> functions.php:121:   $scaled_load = $value / $load_scale;
> functions.php:147:   global $load_scale;
> functions.php:149:   $scaled_load = $value / $load_scale;
> 
> ganglia.irc.sara.nl:/var/www/ganglia
> root#
> ----
> 
> This variable 'load_scale' never seems to be assigned. Is this value 
> supposed to be specified in conf.php or what is the idea here?
> 
> When I do a diff between 3.0.1 and 3.0.3 it seems this was added as a
> 
> minor change to load_image in functions.php, but i seems incomplete.
> 
> What is it meant for? I think there might be a little bug left here,
> or 
> am I the only one having this issue?
> 
> Cheers,
> - Ramon.
> -- 
> ing. R. Bastiaans            HPC - Systems Programmer
> 
> SARA - Computing and Networking Services
> Kruislaan 415                PO Box 194613
> 1098 SJ Amsterdam            1090 GP Amsterdam
> Tel. +31 (0) 20 592 3000     Fax. +31 (0) 20 668 3167
> ---
> There are really only three types of people:
> 
>    Those who make things happen, those who watch things happen
>    and those who say, "What happened?"
> 
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Ganglia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-developers
> 
> 


------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

Reply via email to