Re: [Ganglia-developers] gmond fails with "apr_pollset_create failed: Invalid argument" when no udp_recv_channels or tcp_accept_channels are defined

2010-03-19 Thread Bernard Li
Additional information -- looks like the issue is tied to the glibc version installed, specifically in regards to epoll_create() (which apr_pollset_create() calls). With glibc < 2.9, epoll_create(0) errors out. However, with glibc 2.9, epoll_create(0) is totally valid. Cheers, Bernard On Fri,

[Ganglia-developers] gmond fails with "apr_pollset_create failed: Invalid argument" when no udp_recv_channels or tcp_accept_channels are defined

2010-03-19 Thread Bernard Li
Dear all: Looks like we have a bug in setup_listen_channels_pollset() in gmond.c. If your gmond.conf has no udp_recv_channel or tcp_accept_channel defined, gmond will fail to run with the error message: apr_pollset_create failed: Invalid argument The error checking for apr_pollset_create() was