* Rlimit @ 2006-05-15 15:09 sej.kernel 2006-05-15 15:13 ` Rlimit Jan Engelhardt 0 siblings, 1 reply; 6+ messages in thread From: sej.kernel @ 2006-05-15 15:09 UTC (permalink / raw) To: linux-kernel 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rlimit 2006-05-15 15:09 Rlimit sej.kernel @ 2006-05-15 15:13 ` Jan Engelhardt 0 siblings, 0 replies; 6+ messages in thread From: Jan Engelhardt @ 2006-05-15 15:13 UTC (permalink / raw) To: sej.kernel; +Cc: linux-kernel > > 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 -- ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <6cN1B-3ky-5@gated-at.bofh.it>]
[parent not found: <6cN1B-3ky-3@gated-at.bofh.it>]
* Re: Rlimit [not found] ` <6cN1B-3ky-3@gated-at.bofh.it> @ 2006-05-15 15:49 ` sej 2006-05-15 15:57 ` Rlimit sej.kernel 1 sibling, 0 replies; 6+ messages in thread From: sej @ 2006-05-15 15:49 UTC (permalink / raw) To: Jan Engelhardt, linux-kernel 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rlimit [not found] ` <6cN1B-3ky-3@gated-at.bofh.it> 2006-05-15 15:49 ` Rlimit sej @ 2006-05-15 15:57 ` sej.kernel 2006-05-15 16:24 ` Rlimit Lee Revell 2006-05-15 19:00 ` Rlimit Jan Engelhardt 1 sibling, 2 replies; 6+ messages in thread From: sej.kernel @ 2006-05-15 15:57 UTC (permalink / raw) To: linux-kernel 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rlimit 2006-05-15 15:57 ` Rlimit sej.kernel @ 2006-05-15 16:24 ` Lee Revell 2006-05-15 19:00 ` Rlimit Jan Engelhardt 1 sibling, 0 replies; 6+ messages in thread From: Lee Revell @ 2006-05-15 16:24 UTC (permalink / raw) To: sej; +Cc: linux-kernel 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rlimit 2006-05-15 15:57 ` Rlimit sej.kernel 2006-05-15 16:24 ` Rlimit Lee Revell @ 2006-05-15 19:00 ` Jan Engelhardt 1 sibling, 0 replies; 6+ messages in thread From: Jan Engelhardt @ 2006-05-15 19:00 UTC (permalink / raw) To: sej; +Cc: linux-kernel > > 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 -- ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-05-15 19:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-15 15:09 Rlimit sej.kernel
2006-05-15 15:13 ` Rlimit Jan Engelhardt
[not found] <6cN1B-3ky-5@gated-at.bofh.it>
[not found] ` <6cN1B-3ky-3@gated-at.bofh.it>
2006-05-15 15:49 ` Rlimit sej
2006-05-15 15:57 ` Rlimit sej.kernel
2006-05-15 16:24 ` Rlimit Lee Revell
2006-05-15 19:00 ` Rlimit Jan Engelhardt
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.