Hi Ken:

Okay, try this:

Figure out the user gmond is running as (common examples are: ganglia,
nobody, etc.).  See if you can cat /proc/stat as that user.

The root user being able to read /proc/stat doesn't necessarily mean
Ganglia/gmond can.  I suspect you have some different security
settings in place for cluster2/cluster3 -- is SELinux or the like
(AppArmour?) activated?

Cheers,

Bernard

On Wed, Jul 8, 2009 at 2:47 PM, Ken Teague<[email protected]> wrote:
> On 7/8/2009 2:21 PM, Bernard Li wrote:
>>
>> You should be looking at /proc/stat on your *nodes*, not on your
>> masters.  I am guessing that perhaps your nodes don't have the /proc
>> filesystem mounted or something like that.
>
> btime in /proc/stat is fine on the nodes as well.  I should also note that
> the master node (master2 and master3) is also displaying the same symptom as
> the slaves.  As such, the snippets I've been supplying have mainly been from
> the masters.  I figure that once we find out what's wrong on one node, it
> will be the same for all of the others and I can apply the same solution to
> all of them.
>
> <snip>
> master:~ # for i in {2..8} ; do rsh node$i grep btime /proc/stat ; done
> btime 1228800249
> btime 1228800251
> btime 1228800292
> btime 1228800289
> btime 1228800283
> btime 1228800286
> btime 1228800307
>
> ...
>
> master2:~ # for i in {2..17} ; do rsh node$i grep btime /proc/stat ; done
> btime 1228242084
> btime 1242780492
> btime 1228244247
> btime 1228243704
> btime 1233080539
> btime 1247085821
> btime 1231885615
> btime 1241477480
> btime 1228244330
> btime 1228244257
> btime 1228244204
> btime 1228075568
> btime 1231871201
> btime 1243526120
> btime 1228243889
> btime 1229988953
>
> ...
>
> master3:~ # for i in {2..17} ; do rsh c3n$i grep btime /proc/stat ; done
> btime 1246055858
> btime 1246058713
> btime 1246058783
> btime 1246058798
> btime 1246058803
> btime 1246058941
> btime 1246058972
> btime 1246058965
> btime 1246058973
> btime 1246058976
> btime 1246058980
> btime 1246058984
> btime 1246058995
> btime 1246058998
> btime 1246059002
> btime 1246059006
> <snip>
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to