Fabian, what kernel version are you running?
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq should be
applicable if you are running a 2.6 kernel.

I'm only guessing here, but if you do "strings /usr/sbin/gmond", it
looks like gmond checks the following:
/proc/sys/kernel/osrelease

Maybe there's a logic in gmond such that if you are running a Linux
machine with a 2.6 kernel it checks
for /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq. And that'll
get used by the frontend to display cpu_speed.

On one of our hosts, /proc/cpuinfo reports 1800.248 Mhz, while
scaling_max_freq is 2000000.
And Ganglia frontend reports cpu_speed as 2000Mhz.

I'm running gmond v3.0.5.

-Paul Choi

On Thu, 2008-01-24 at 12:04 -0600, [EMAIL PROTECTED] wrote:

> Hi!
> 
> This is the error when running gmond in debug mode
> 
> [root at master samba]# gmond -d3
> slurpfile() open() error on file
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or
> directory
> 
> gmetad won't connect to gmond.
> 
> I disabled firewalls on all nodes.
> 
> This is the output from gmetad, while having all gmond daemons running
> on all nodes
> 
> [root at master samba]# ps -fea | grep gmond
> nobody    7976     1  0 11:20 ?        00:00:00 /usr/sbin/gmond
> root      7994  7908  0 11:21 pts/0    00:00:00 grep gmond
> [root at master samba]# gmetad -d2
> Going to run as user nobody
> Sources are ...
> Source: [HPCC Mexico cluster, step 15] has 4 sources
>         127.0.0.1
>         192.168.2.14
>         192.168.2.15
>         192.168.2.16
> xml listening on port 8651
> interactive xml listening on port 8652
> cleanup thread has been started
> Data thread 1147169088 is monitoring [HPCC Mexico cluster] data source
>         127.0.0.1
>         192.168.2.14
>         192.168.2.15
>         192.168.2.16
> data_thread() got no answer from any [HPCC Mexico cluster] datasource
> 
> 
> 
> BR,
> 
> 
> -----Original Message-----
> From: Jesse Becker [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 24, 2008 7:12 AM
> To: Salamanca, Fabian
> Cc: [email protected]
> Subject: Re: [Ganglia-general] scaling_max_freq error
> 
> On Jan 23, 2008 11:16 PM,  <[EMAIL PROTECTED]> wrote:
> > I've been trying to run gmond (ganglia 3.0.6) on a Red Hat EL 5
> cluster node
> > using kernel 2.6.18-8 SMP and I got the following error:
> >
> > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
> 
> That's not really an error--that's a file
> 
> > Is anything I can do to keep it working? Do I need to enable something
> in
> > the kernel? Should I use other version? I disabled SELinux.
> 
> This is related to throttling the CPU speed up and down to increase
> performance or battery life.  I'm not really sure why gmond would have
> a problem with it.  Could you please supply a bit more information
> about what isn't working correctly?
> 

-- 
Paul Choi <[EMAIL PROTECTED]>
Plaxo, Inc.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to