[Resend to list with right from address] On Sat, Dec 12, 2009 at 10:00:04AM -0800, Bernard Li wrote: > Hi Daniel: > > On Sat, Dec 12, 2009 at 5:59 AM, Daniel Pocock <dan...@pocock.com.au> wrote: > > > I've just posted the issue on d...@apr.apache.org > > Thanks! > > Here's the post for others who would like to monitor the thread for activity: > > http://mail-archives.apache.org/mod_mbox/apr-dev/200912.mbox/%3c4b23a058.1000...@pocock.com.au%3e > > > Just another idea: maybe configure can test the supplied apr version to see > > if the problem exists, and if so, refuse to proceed? ?Obviously it's not > > great for BSD users, but at least we could give them a message explaining > > how to compile a custom apr. > > I guess you're still assuming that apr will be "fixed" in the future? > > Brooks, what are your thoughts on this?
That would be a completely unworkable solution. I'd say there's no chance of a "fix" since the kqueue design is what it is. Ganglia is violating the (poorly documented) requirements of the interface. To make a FreeBSD port work, we'd be forced to maintain a separate APR package just for ganglia since kqueue is the highest performance way to implement this functionality. We'd either have to install it with non-standard names or face conflicts with the primary version. If precommitting to everything before daemonizing the process is this critical, the code needs to be refactored to open the sockets, but not set up the pollsets until after the fork. If that's done, everything should be just fine since there's basically no chance the pollset creation will fail unless you had no memory available. -- Brooks
pgpWKCGUyRta1.pgp
Description: PGP signature
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers