Yousong Zhou <[email protected]> wrote:
> 
> Which libc was in use?  Because RLIMIT_DATA only applies to those
> allocated by brk() and sbrk(), while malloc() of glibc may fallback to
> mmap() if sbrk() fails.  AFAIK, malloc() of uClibc for MIPS in OpenWrt
> utilizes only sbrk() with the default config.

whatever the default was for "atheros" in OpenWrt 1407.  so, 
uClibc 0.9.33.2
> 
> > But procd does nothing that I can see, no logging, no restarting.  Is
> > this the correct usage? Is there some other way these procd limits are
> > meant to be used?  The only reference to a procd init script using this
> > feature is
> > https://github.com/zqlee/smartproxy/blob/master/files/smartproxy.init
> 
> "as=" (RTLIMIT_AS) is another option you can try.

What does that actually limit?  Matching up names from the procd commit
RTLIMIT_xxx with "man ulimit" for instance isn't always obvious (to me
at least)
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to