On Sun, Dec 30, 2007 at 09:48:29AM -0700, [EMAIL PROTECTED] wrote:
> Thanks for the explanation.  I should be able to track down the problem
> with this info.  If I find the problem, I'll post the solution.

amazing, I suspect though that the problem is from APR, but haven't yet looked
into it.

as Brad said, building it with --enable-static-build should work and not
require adding any external libraries.

> In the mean time, I took 3.0.6, applied the changes in trunk from
> libmetrics/cygwin/metrics.c to that release, re-ran the build, and I did
> not experience the runtime problem below.  Note also that the cpu count
> problem was fixed with the code from trunk.

the metrics are handled by an internal library called libmetrics, which as you
said before can had its code transplanted between branches as its ABI is quite
stable.

> I have noticed another problem, however.  The server I am testing this
> on has 32GB of RAM.  I am noticing that gmond is incorrectly reporting
> mem_total.

yes, it is because the metric for memory use is using cygwin and cygwin is a
process that report its own memory limit.

if you have 32GB of memory you most likely want more than 2GB of memory per
process which means you have to enable PAE for your windows system to be able
to use up to 3GB per process or run 64bit windows.

> <METRIC NAME="mem_total" VAL="2097151" TYPE="uint32" UNITS="KB" TN="643"
> TMAX="1200" DMAX="0" SLOPE="zero" SOURCE="gmond"/>
> 
> Looks like mem_free is also not right.

32bit windows?, which version?

> I will attempt to fix this and will report solution if I find it.

there is already a patch in which should work for any recent windows version :

  
http://www.mail-archive.com/[email protected]/msg03159.html

I tested it in windows 2000 advanced and windows XP home, and I wouldn't
expect it to work for windows 95/98.

Carlo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to