Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Setting ulimit values in files on Redhat AS 2.1

Re: Setting ulimit values in files on Redhat AS 2.1

From: Scott Lurndal <scott_at_slp53.sl.home>
Date: Fri, 02 Jul 2004 17:16:36 GMT
Message-ID: <ULgFc.7499$VV.5758@newssvr27.news.prodigy.com>


Steve <ThisOne_at_Aint.valid> writes:
>Scott Lurndal wrote:
>> Andreas Korn <andreas.korn.NOSPAM_at_onlinehome.de> writes:
>>
>>>linuxquestion_at_yahoo.com wrote:
>>>
>>>
>>>>Hello,
>>>>
>>>>I need to set a few parameters at boot time.
>>>>
>>
>>
>>>>Is it possible to set these ulimit values, in a file?
>>>>What is the file? What is the secret?
>>>>
>>>>
>>>>Thanks a lot
>>>
>>>If you need these for a specific user, set them in the ~/.tcshrc or
>>>~/.bashrc or whatever your user config for your shell is. If you want it
>>>systemwide, place files like limits.sh and limits.csh with the calls in
>>>/etc/profile.d .
>>
>>
>> This will only work, of course, if you wish to lower the values, not
>> if you with to increase them. To increase them, pam is the right
>> answer.
>>
>> scott
>>
>>
>>>Andreas
>
>Personally, I'd put them in /etc/profile. This is always run for all
>users, and with root privileges. That way, you can raise them up to the max.

/etc/profile is executed in the context of the logged in user, not root. You cannot raise the ulimit using /etc/profile, only lower it.

scott

>
>Steve
Received on Fri Jul 02 2004 - 12:16:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US