nginx-0.8.25
Igor Sysoev
is at rambler-co.ru
Mon Nov 16 22:57:40 MSK 2009
On Mon, Nov 16, 2009 at 08:33:49AM -0800, Gabriel Ramuglia wrote:
> Feature: the ngx_http_degradation_module. ?
>
> How does this work?
This module allow to return 204 or 444 code for some locations on low
memory condition:
http {
degradation sbrk=500m;
server {
location /some {
degrade 204;
}
Currently it can be used if sbrk(0) syscall reports real memory volume
allocated by a proccess. It does not work for Linux and FreeBSD 7.0+ where
malloc() may use mmap(). It can be used on FreeBSD before 7.0 and on 7.0+
if MALLOC_OPTIONS=Dm.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list