Paul Johnson wrote: > I'm stuck really badly on this... even though my > /etc/security/limits.conf has the necessary lines that should allow me to > change my ulimit, I still can't do it. > > [EMAIL PROTECTED]:~$ ulimit -n 4096 > bash: ulimit: open files: cannot modify limit: Operation not permitted > [EMAIL PROTECTED]:~$ ulimit -Sn > 1024 > [EMAIL PROTECTED]:~$ ulimit -Hn > 1024 > > What am I doing wrong or failing to check?
you need to increase the session limits. Add something like this to /etc/security/limits.conf: * soft nofile 1024 * hard nofile 65535 See also, for example http://www.xenoclast.org/doc/benchmark/HTTP-benchmarking-HOWTO/node7.html Regards, Andreas -- Andreas Fester mailto:[EMAIL PROTECTED] WWW: http://www.littletux.net ICQ: 326674288 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]