Thanks all the problem was with running gexec through xinetd. Xinetd calls setrlimit with a FD_SIZE of 1024. Running gexecd outside of xinetd has fixed this problem it now inherits root's ulimits settings.
Thank for pointing me in the right direction. -----Original Message----- From: Carlo Marcelo Arenas Belon [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 5:16 PM To: Rodrick Brown Cc: Klaus Steden; [email protected] Subject: Re: [Ganglia-general] ulimit problems with gexec On Mon, Aug 25, 2008 at 04:26:50PM -0400, Rodrick Brown wrote: > > when I start my app from gexec its using the default 1024 limit and not > what I have set in ~/.bash{rc,_profile} for that user. bash{rc,_profile} is only used for shells and will never be honoured by gexec so either you call a shell script that sets ulimit first and then calls your application or change the process that spawns gexec (no idea how that works as I don't use gexec with ganglia, and this is a ganglia list) and that then calls your application. > So I don't understand where this 1024 value is being called from. most likely inherited from the shell that started gexecd (if that is what is what spawns the gexec jobs) Carlo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

