ulimit change does not persist across system boot

Matthijs.Sneijders at corusgroup.com Matthijs.Sneijders at corusgroup.com
Fri Jun 16 07:35:36 UTC 2006


Would it be to obvious to add a line to /etc/rc.sysinit like:
action $"Fixing Ulimit stuff: " ulimit -n 4096


(the action command will give the nice rc script  line with ok/fail)
                                                      
 Matthijs Sneijders                                   
                                                      


                                                          
     CORUS                                                
     Research,                                            
     Development                                          
     &                                                    
     Technology                                           
                                                          
     Building                                             
     3G16 room                                            
     3-312                                                
                                                          
     P.O. Box                                             
     10.000                                               
                                                          
     1970 CA                                              
     IJMUIDEN                                             
                                                          
     phone       +31 (0)251-496400                        
                                                          
     fax         +31 (0)251-470064                        
                                                          
     mail        matthijs.sneijders at corusgroup.com        
                                                          





|---------+------------------------------>
|         |           "Yard, John"       |
|         |           <jyard at ais.ucla.edu|
|         |           >                  |
|         |           Sent by:           |
|         |           redhat-list-bounces|
|         |           @redhat.com        |
|         |                              |
|         |                              |
|         |           15-06-2006 23:50   |
|         |           Please respond to  |
|         |           General Red Hat    |
|         |           Linux discussion   |
|         |           list               |
|         |                              |
|---------+------------------------------>
  >----------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                      |
  |       To:       "General Red Hat Linux discussion list" <redhat-list at redhat.com>                                     |
  |       cc:                                                                                                            |
  |       Subject:  RE: ulimit change does not persist across system boot                                                |
  >----------------------------------------------------------------------------------------------------------------------|




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



**********************************************************************
This transmission is confidential and must not be used or disclosed by
anyone other than the intended recipient. Neither Corus Group Plc nor
any of its subsidiaries can accept any responsibility for any use or
misuse of the transmission by anyone.
**********************************************************************




More information about the redhat-list mailing list