Greetings,

on a RHEL system, I am launching STAF using the following entry
in /etc/rc.d/rc.local

cd /usr/local/staf
. ./STAFEnv.sh STAF
cd bin
nohup ./STAFProc &

in /etc/sysctl.conf I added the line

fs.file-max=2048

and in /etc/security/limits.conf, I added the lines

*       soft    nofile  4096
*       hard    nofile  65535

Through STAF, I am launching an installation process that opens a large #
of files, which requires the max # of open files to be 4096 (ulimit -n
4096).  If I run the installation interactively in a console after a
reboot, the installation succeeds, suggesting the the above changes to
sysctl.conf and limits.conf are being recognized.  If I launch the
installation process after a a reboot from STAF, the installation fails,
exhibiting the symptoms caused by limit of max open files set too low.

I realize this is not a STAF-specific issue, however I am at the end of my
rope.  Does anybody know how - on a Unix/RHEL system - increase the max #
of open files setting such that it is recognized by a (STAF) process
launched as detailed above?

Thanks much,

- Stephan

----------------------------------------------
Stephan Lips
Senior Software Quality Architect - Industry SOA Accelerators
IBM Software Group - Austin, Tx
email:                 [EMAIL PROTECTED]
Office                  512.334.3260
-------------------------------------------------------------------------
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=/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to