raise user accounts max fd
Hi,
I am running "Linux [hidden] 2.4.25-bf2.4 #1 SMP Wed Mar 10 10:35:09 PST
2004 i686 unknown" and would like to know how to raise a user accounts
max file descriptors (FDs, shown via ulimit -n) from the default 1024 to
4096, to allow an IRC daemon more permitted open files.
After adding the lines:
ircd hard nofile 4096
ircd soft nofile 4096
to /etc/security/limits.conf at the end of the file (they are not
commented out), and re-logging into the ircd user terminal and typing:
ulimit -n
The count still appears as 1024, not the new 4096 figure.
What am I doing wrong?
Any help is appreciated,
Cheers
DISCLAIMER: This e-mail and any files transmitted with it may
be privileged and confidential, and are intended only for the use of the
intended recipient. If you are not the intended recipient or responsible for
delivering this e-mail to the intended recipient, any use, dissemination,
forwarding, printing or copying of this e-mail and any attachments is strictly
prohibited. If you have received this e-mail in error, please REPLY TO the
SENDER to advise the error AND then DELETE the e-mail from your system.
Any views expressed in this e-mail and any files transmitted with
it are those of the individual sender, except where the sender specifically
states them to be the views of our organisation.
Our organisation does not represent or warrant that
the attached files are free from computer viruses or other defects. The user
assumes all responsibility for any loss or damage resulting directly or
indirectly from the use of the attached files. In any event, the liability to
our organisation is limited to either the resupply of the attached files or the
cost of having the attached files resupplied.
Reply to: