View previous topic :: View next topic |
Author |
Message |
Herodot Guru
Joined: 29 Jul 2002 Posts: 429 Location: Professor Xavier's school for gifted youngsters
|
Posted: Sun Feb 12, 2006 8:13 pm Post subject: How do I raise max number of open files? |
|
|
I've added this to /etc/security/limits.conf
And I've made sure /etc/pam.d/login contains
Code: | session required /lib/security/pam_limits.so |
But it doesn't work. Both root and a user has 1024 set for max number of open files.
What am I doing wrong? _________________ Excelsior! |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Sun Feb 12, 2006 8:50 pm Post subject: |
|
|
Now try something like
In /etc/security/limits.conf you are configuring a resource limit, not setting a default value. |
|
Back to top |
|
|
Herodot Guru
Joined: 29 Jul 2002 Posts: 429 Location: Professor Xavier's school for gifted youngsters
|
Posted: Sun Feb 12, 2006 9:04 pm Post subject: |
|
|
limn wrote: | Now try something like
In /etc/security/limits.conf you are configuring a resource limit, not setting a default value. |
Hah! That works! Thanks! _________________ Excelsior! |
|
Back to top |
|
|
|