Dave Rolsky > Apache-SizeLimit-0.9 > Changes

Download:
Apache-SizeLimit-0.9.tar.gz

Annotate this POD

CPAN RT

New  1
Open  4
View/Report Bugs
Source   Latest Release: Apache-SizeLimit-0.97

NAME ^

Changes - Apache::SizeLimit change logfile

CHANGES ^

0.9 2006-07-12

Copied from the mod_perl 1 core for an independent CPAN release. [Philip M. Gollucci <pgollucci@p6m7g8.com>]

Added support for using Linux::Smaps (on Linux only, obviously) to get much more accurate shared memory numbers on 2.6.x kernels. Taken from Apache2::SizeLimit. [Dave Rolsky <autarch@urth.org>]

Added support for using Linux::Pid to get the parent pid on Linux. This fixes a long-standing bug that caused this module to never actually kill a process when using Perl 5.8.1+ on Linux. [Dave Rolsky <autarch@urth.org>]

Added new OO methods for configuring the module, set_max_process_size(), set_min_shared_size() ,and set_max_unshared_size(). [Dave Rolsky <autarch@urth.org>]

Added a new method, add_cleanup_handler(). [Dave Rolsky <autarch@urth.org>]

Documentation for new API, as well as lots of general work on the docs. [Dave Rolsky <autarch@urth.org>]

Much code refactoring. [Dave Rolsky <autarch@urth.org>]

Added many tests for both the new and deprecated APIs. [Dave Rolsky <autarch@urth.org>]

Deprecated use of globals and the existing setmax(), setmin(), and setmax_unshared() functions. [Dave Rolsky <autarch@urth.org>]

When calling setmax(), setmin(), and setmax_unshared(), only add Apache::SizeLimit as a cleanup handler once, not once for each function call. Taken from Apache2::SizeLimit. [Dave Rolsky <autarch@urth.org>]

Fixed calculation of shared memory on BSD. [Philip M. Gollucci <pgollucci@p6m7g8.com>]

Removed support for OSX, because testing shows that BSD::Resource is not working on that platform. [Dave Rolsky <autarch@urth.org>]

0.05 mp2 core / not released
0.04 not released
0.03 not released
0.02 not released
0.01 2006-06-23

original version; created by h2xs 1.23 with options -X -A -n Apache-SizeLimit [Philip M. Gollucci <pgollucci@p6m7g8.com>]

syntax highlighting: