nginx-0.8.18

Igor Sysoev is at rambler-co.ru
Wed Oct 7 13:01:20 MSD 2009


On Wed, Oct 07, 2009 at 07:45:45AM +0200, Hoang Hoang wrote:

> Igor Sysoev wrote:
> > Changes with nginx 0.8.18                                        06 Oct 
> > 2009
> > 
> >     *) Feature: the "read_ahead" directive.
> > 
> >     *) Feature: now several "perl_modules" directive may be used.
> > 
> >     *) Feature: the "limit_req_log_level" and "limit_conn_log_level"
> >        directives.
> > 
> >     *) Bugfix: now "limit_req" directive conforms to the leaky bucket
> >        algorithm.
> >        Thanks to Maxim Dounin.
> > 
> >     *) Bugfix: nginx did not work on Linux/sparc.
> >        Thanks to Marcus Ramberg.
> > 
> >     *) Bugfix: nginx sent '\0' in a "Location" response header line on
> >        MKCOL request.
> >        Thanks to Xie Zhenye.
> > 
> >     *) Bugfix: zero status code was logged instead of 499 status code; 
> > the
> >        bug had appeared in 0.8.11.
> > 
> >     *) Bugfix: socket leak; the bug had appeared in 0.8.11.
> 
> Thank a lot Igor
> 
> Could you explain new added features in this version in more details?
> 
> + "read_ahead" directive.

On FreeBSD 7.2 with the patch
http://sysoev.ru/html/freebsd/patch.readahead.txt

sendfile    on;
tcp_nopush  on;
aio         sendfile;
read_ahead  512k;

On Linux:

sendfile    on;
read_ahead  1;

On Linux nginx calls
posix_fadvise(0, 0, 0, POSIX_FADV_SEQUENTIAL);
and the read_ahead value is ignored.

> + several "perl_modules" directive may be used.

perl_modules  /path1/to/modules;
perl_modules  /path2/to/modules;
perl_modules  /path3/to/modules;

> + the "limit_req_log_level" and "limit_conn_log_level" directives.

limit_req_log_level  [info|notice|warn|error];
limit_conn_log_level  [info|notice|warn|error];

The directives set log level for messages about limiting requests and
connections.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list