Hello,
How can I set Rlimit for 1 or more programs started in user mode (not
suser) ?
Is there a config file or a little source that can do this ?
Regards,
sej
>
> Hello,
> How can I set Rlimit for 1 or more programs started in user mode (not suser) ?
> Is there a config file or a little source that can do this ?
> Regards,
> sej
man setrlimit
Jan Engelhardt
--
Of course !!
But if you want to increase mlock size you can't do it !
setrlimit can only decrease process limits !
I repeat my question : How to set mlock process for non-root process ?
sej
>> Hello,
>> How can I set Rlimit for 1 or more programs started in user mode (not suser) ?
>> Is there a config file or a little source that can do this ?
>> Regards,
>> sej
>
> man setrlimit
>
>
> Jan Engelhardt
Of course !!
But if you want to increase mlock size you can't do it !
setrlimit can only decrease process limits !
I repeat my question : How to set mlock process for non-root process ?
sej
>> Hello,
>> How can I set Rlimit for 1 or more programs started in user mode (not suser) ?
>> Is there a config file or a little source that can do this ?
>> Regards,
>> sej
>
> man setrlimit
>
>
> Jan Engelhardt
On Mon, 2006-05-15 at 17:57 +0200, sej.kernel wrote:
> Of course !!
> But if you want to increase mlock size you can't do it !
> setrlimit can only decrease process limits !
> I repeat my question : How to set mlock process for non-root process ?
> sej
Add to /etc/security/limits.conf:
* memlock hard unlimited
or whatever
Lee
>
> Of course !!
> But if you want to increase mlock size you can't do it !
> setrlimit can only decrease process limits !
> I repeat my question : How to set mlock process for non-root process ?
> sej
>
By running setrlimit from a root process. Even the
limits from /etc/secuirty/limits.conf must be set _somehow_.
>> man setrlimit
Jan Engelhardt
--