ulimit change still does not persist across system boot

Yard, John jyard at ais.ucla.edu
Fri Jun 16 16:39:55 UTC 2006


As root :

ou have new mail in /var/spool/mail/root
[xxxx:/sunusr/slapd-eds1/logs] # ulimit -a
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) 4
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024    <=========
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 10240
cpu time             (seconds, -t) unlimited
max user processes            (-u) 7168
virtual memory        (kbytes, -v) unlimited

Root can only open 1024 files, I need to increase this,
and I can't ,

JYard


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Opesh Alkara
Sent: Thursday, June 15, 2006 7:03 PM
To: General Red Hat Linux discussion list
Subject: Re: ulimit change does not persist across system boot

for which user you did that?
for root it doesn't shows most of the time....
switch to the user you want to change the limit and execute umilit -n
and u
shud see the modified parameter.


On 6/16/06, Yard, John <jyard at ais.ucla.edu> wrote:
>
> I modified /etc/security/limits.conf as suggested, booted,
> and ... no change in ulimits -n ....
>
> Suggestions ?
>
> JYard
> UCLA
>
> ( ps - internet searches suggest this is a
> persistant Red Hat issue )
>
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Tobias
Speckbacher
> Sent: Wednesday, June 14, 2006 5:08 PM
> To: General Red Hat Linux discussion list
> Subject: RE: ulimit change does not persist across system boot
>
>
>
> > -----Original Message-----
> > From: redhat-list-bounces at redhat.com [mailto:redhat-list-
> > bounces at redhat.com] On Behalf Of Yard, John
> > Sent: Wednesday, June 14, 2006 4:56 PM
> > To: General Red Hat Linux discussion list
> > Subject: ulimit change does not persist across system boot
> >
> > In a RH Enterprise 3 system,
> > when I changed the value of user root ulimit :
> >
> > ulimit -n 4096
> >
> > this change did not persist across system boots.
> >
> > Besides putting it in root's profile,
> > who do I make this change permanent ?
>
> /etc/security/limits.conf
>
> user hard/soft nofile 4096
>
> or
>
> @group hard/soft nofile 4096
>
> -Tobias
>
> >
> > JYard
> > UCLA
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Best,
Opesh
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list