Clark Smith
2019-10-04 15:43:09 UTC
I am aware of the approach consisting of entering the appropriate
commands in /etc/initscript, which, when executed at boot time, will
increase the number accordingly. For example, if my /etc/initscript file
contains
ulimit -Hn 32768
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Execute the program.
eval exec "$4"
then on rebooting the hard limit for file descriptors per user will be
32768 - assuming that the system allows that many overall, which 14.2
most certainly does.
Is it possible to do this, but without having to reboot?
commands in /etc/initscript, which, when executed at boot time, will
increase the number accordingly. For example, if my /etc/initscript file
contains
ulimit -Hn 32768
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Execute the program.
eval exec "$4"
then on rebooting the hard limit for file descriptors per user will be
32768 - assuming that the system allows that many overall, which 14.2
most certainly does.
Is it possible to do this, but without having to reboot?