Can someone help me figure out what's limiting processes started from
gexec to use the default 1024 open files limit 'ulimit -n'? 

In my .bash_profile/.bashrc I have ulimit -Sn 60000 

 

Running my application manually w/o being called from gexec works fine,
however if I call gexec my app is limited to 1024 FD limit which is
causing major problems. 

 

 

[EMAIL PROTECTED] ~]$ gexec -n 1 bash -c 'ulimit -Sn60000; ulimit -n'

0 /bin/bash: line 0: ulimit: open files: cannot modify limit: Invalid
argument

0 1024

 

[EMAIL PROTECTED] scripts]$ ssh nycplx01a 'ulimit -Sn60000; ulimit -n'

60000

 

I've looked at the sources for gexecd and don't see any calls to
setrlimit() so I'm not sure why this is happening any help would be
appreciated.

Thanks. 

 

 

---

Rodrick R. Brown 

Director, Systems Engineering 

Ballista Securities, LLC

120 Wall St. Suite 2400 

P: 646 307 4709

C: 347 702 0012 

F: 646 219-5872

 

-------------------------------------------------------------------------
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

Reply via email to