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. cheers, raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. [email protected] Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. [email protected] 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
