Re: permanet file descriptor limit
- From: koneruarjun@xxxxxxxxx
- Date: 7 Nov 2006 01:09:22 -0800
okay ..
Is there any difference between the o/p returned from 'ulimit' when you
access your system via a)telnet b)SSH c)from the console of the system
//Arjun
Marco wrote:
thankyou but I've already added the lines
* soft nofile 1024
* hard nofile 65535
to /etc/security/limits the lines...
marco
koneruarjun@xxxxxxxxx ha scritto:
Assuming you are running RH linux -- try /etc/security/limits.conf
//Arjun
Marco wrote:
Hi all!
I want to change permanently the number of open files my system can
handle (not just for a user but for the whole system).
with ulimit I can see that my system can handle 1024 files
open files (-n) 1024
What I've done is the following:
first I add the line
fs.file-max = 65536
into /etc/sysctl.conf and I reload with sysctl -p
then I add into /etc/security/limits the lines
* soft nofile 1024
* hard nofile 65535
third I add in /etc/pam.d/login the line
session required /lib/security/pam_limits.so
fourth I do
echo 65535 > /proc/sys/fs/file-max
after this I can see the limit is not changed: also if I reboot the
limit does not change.
Why?
I've seen the only way to change this value is with ulimit -n, but it
changes open file limit just for my shell.
Thanks
Marco
.
- References:
- permanet file descriptor limit
- From: Marco
- Re: permanet file descriptor limit
- From: koneruarjun
- Re: permanet file descriptor limit
- From: Marco
- permanet file descriptor limit
- Prev by Date: Re: /etc/shadow problem
- Next by Date: Re: Novell violates GPL?
- Previous by thread: Re: permanet file descriptor limit
- Next by thread: Re: permanet file descriptor limit
- Index(es):
Relevant Pages
|
|