On 2010-01-12 10:21, Raoul Bhatia [IPAX] wrote: > On 01/11/2010 06:06 PM, Dejan Muhamedagic wrote: >> Hi, >> >> On Mon, Jan 11, 2010 at 02:26:31PM +0100, Raoul Bhatia [IPAX] wrote: >>> hi, >>> >>> i am hitting a nofile ulimit (ulimit -n) for my apache server. >>> adding a "ulimit -n 4096" in the apache ocf resolves this issue. >>> >>> what would be a more appropriate way to set specific ulimits for >>> certain ocf scripts? >> 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. Cheers, Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
