On Wed, Jan 13, 2010 at 10:19 AM, Dominik Klein <[email protected]> wrote: > Andrew Beekhof wrote: >> On Tue, Jan 12, 2010 at 10:43 AM, Raoul Bhatia [IPAX] <[email protected]> >> wrote: >>> On 01/12/2010 10:39 AM, Florian Haas wrote: >>>>>> Why not simply set that for root at boot? (it rhymes too :) >>>>> because i do not like the idea that each and every process gets >>>>> elevated limits by default. >>>>> >>>>> i think that there *should* be a generic way to configure ulimits an a >>>>> per resource basis. >>>> I'm confident Dejan would be happy to accept a patch in which you add >>>> such a parameter to each resource agent where it makes sense. >>> of course this would be possible. but i *think* it is more helpful to >>> add this to e.g. the cib/lrmd/you name it. >>> >>> so before i/we implement the ulimit stuff *inside* lots of different >>> RAs, i'd like to hear beekhof's or lars' comments. >> >> If you want a configurable per-resource limit - thats a resource parameter. >> Why would we want to implement another mechanism? > > Of course this would be a resource parameter. > > I think what he meant to say was that he does not want to have the > change inside every RA executing the ulimit command but to have some > cluster component (probably lrmd) do that.
The lrmd does/will/should not process resource parameters. Meta attributes (like timeout) on the other hand... _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
