[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting open file limits



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 gdm and ...
> 
> 
> so what am I doing wrong?

User limits cant be higher then super user limits. Increase nofile for
root first. Log off / on and your done.

Regards
Frank


Reply to: