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

Re: setting open file limits



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 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

it was a user problem, I type nofiles in the limits file :) change to
nofile and it works now 

> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
Sometimes the light's all shining on me,
Other times I can barely see.
Lately it occurs to me
What a long strange trip it's been.
		-- The Grateful Dead, "American Beauty"

Attachment: signature.asc
Description: Digital signature


Reply to: