Yes, getrlimit. yes, rlimit_as
On Monday, March 26, 2012 11:50:11 Albert Strasheim wrote: > Hello > > On Mon, Mar 26, 2012 at 11:44 AM, Manuel Amador <rud...@rudd-o.com> wrote: > > memorylimit and memorysoftlimit can be determined using the ulimit system > > call. > > Do you mean getrlimit? man 2 ulimit on F16 says it's not implemented. > If it's getrlimit, is it RLIMIT_AS? > > > you cannot detect when you've hit the soft limit other than by getting a > > NULL on malloc. > > Thanks. I guess I could just duplicate this info with an environment > variable or parameter passed to the process. > > Regards > > Albert -- Manuel Amador (Rudd-O) http://rudd-o.com/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel