nx13372 wrote:
John Summerfield wrote:
I'm using kernel-2.4.26-1 and repeat the text above. After close the session and log again the default values (1024) appears.Ross Tsolakidis wrote:
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,
[EMAIL PROTECTED]:~$ ulimit -n 1024 [EMAIL PROTECTED]:~$ root Dolphin:~# ulimit -n 1024 Dolphin:~# ulimit -n 4096 Dolphin:~# ulimit -n 4096 Dolphin:~# su - summer [EMAIL PROTECTED]:~$ ulimit -n 4096 [EMAIL PROTECTED]:~$
Of course. I didn't log out.
Set the limits as root, then start your daemon. It seems it will inherit the desired settings.
[EMAIL PROTECTED]:~$ uname -r 2.4.25-1-686 [EMAIL PROTECTED]:~$
--
Cheers John
-- spambait [EMAIL PROTECTED] [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]