On Wed, Feb 23, 2011 at 05:12:03PM -0800, Bernard Li wrote:
> 
> > I tested under EL5 and EL6 and it was't able to get past the initial
> > buffer size. ?I believe what I did was:
> 
> Correction.  It works on EL6, but not on EL5:

most likely the test is just giving inconsistent results, and that is why
now works in EL5, while it didn't before.

> [CentOS 5.5 x86_64 with kernel 2.6.18-194.32.1.el5]
> 
> read(3, "2.6.18-194.32.1.", 16)         = 16
> read(3, "", 16)                         = 0
> 
> [RHEL6b2 x86_64 with kernel 2.6.32-37.el6.x86_64]
> 
> read(3, "2.6.32-37.el6.x8", 16)         = 16
> read(3, "6_64\n", 16)                   = 5
> 
> The issue may be specific to files in /proc/sys, because I tried
> reading /proc/stat on CentOS 5.5 and it worked fine.

very unlikely, and considering that this is some code modification you
made and that you only have, the problem is most likely in your code anyway
(maybe even miscompiled)

Carlo

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to