Re: setting open file limits

2008-11-03 Thread Alex Samad
On Mon, Nov 03, 2008 at 03:32:31PM +0100, frank wrote: > On Mon, 2008-11-03 at 07:37 +1100, Alex Samad wrote: > > > root: vim /etc/security/limits.conf > > > > user1- nofile 8192 > > > > > > then i try > > su - user1 > > ulimit -n > > > > > > and I get 1024, I have

Re: setting open file limits

2008-11-03 Thread frank
On Mon, 2008-11-03 at 07:37 +1100, Alex Samad wrote: > root: vim /etc/security/limits.conf > > user1- nofile 8192 > > > then i try > su - user1 > ulimit -n > > > and I get 1024, I have checked my /etc/pam.d for pam_limits and it is > enabled for login/su, sshd and g

setting open file limits

2008-11-02 Thread Alex Samad
Hi I have been running into the too many open files error, for one of my users, I have tried setting nofiles in /etc/security/limits.conf, but it doesn't seem to work. root: vim /etc/security/limits.conf user1- nofile 8192 then i try su - user1 ulimit -n and I get