Hi Luke,
I also experience similar situaltion. As a result of
code trace, I discover the non-logical code fragment
in gmond/solaris.c.
When getkval() func normally executes at
gmond/solaris.c, it returns 1. But caller code is
handled by error.
Let's view the following code fragment.
...
for (i = 0; i < ncpus; i++)
{
/* it places the kval in the basket ... errr cpu
struct */
if (getkval (cpu_offset[i], &cpu_snap, sizeof
(struct cpu), "cpu") ) <-- return 1; (normal return)
{
perror("cpustuff"); <-- but error!
}
...
Therefore, I think that "cpustuff: Permission denied"
is not error. Another thread probably sets this
variable because of errno variable is extern variable.
I don't understand why this code be inserted; but, I
expect some reason for the developer.
Currently, solaris code apparently contains some bug.
For example, gmond don't report about CPU utilization.
I try to analysis and programming about solaris.c.
But, I'm beginner about ganglia project.
If needs, I contribute to some patch code for
gmond/solaris.c in later.
Thanks again for the feedback this situation.
- Sanghyun
p.s I can't express well in English -.-; sorry~
--- "Luke A. Kanies" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm running ganglia on a Debian node and a Solaris 8
> x86 node to test it,
> and I'm running into problems on the Solaris node.
> The Debian node is
> currently the one running gmetad.
>
> When I pring gconfd up on the solaris node, it works
> fine for a few
> minutes, but very shortly it is reported as being
> down by the web
> interface, even though it is very clearly not down
> and the process is
> still running.
>
> When I run the daemon with any kind of debugging,
> this problem never
> occurs, but I get the following output in -d 1:
>
> cpustuff: Permission denied
> cpustuff: Permission denied
> cpustuff: Permission denied
> cpustuff: Permission denied
> cpustuff: Permission denied
> cpustuff: Permission denied
> cpustuff: Not enough space
> cpustuff: Not enough space
>
> ....
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com