|
Open Files (ulimit -n) questions
i'm running an application on Centos 4.3 that require a huge number of open files.
when i'm using non-root account $ulimit -n always limited on 100.
currently i'm using the steps below to get the applicatin running.
login as root
ulimit -n 30000
su my_non_root_account
./my_application
my questions are,
1. How can i make a specified non-root-user to inherit the larger ulimit -n without login as root?
2. How can i run the application from cron-job with the larger ulimit support?
|