Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
On Fri, Aug 6, 2010 at 11:16 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/06/10 12:52, Cosimo Streppone wrote: On Wed, Aug 4, 2010 at 8:25 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc Builds and tests fine both on Debian Lenny w/ Apache 2.2.9 and perl 5.10 and Ubuntu 10.04. I seem to understand that our current SizeLimit config (below) will be completely bogus with the new version, right? # Will prevent murders of immature children that just needs to grow a bit $Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 30; $Apache2::SizeLimit::MAX_PROCESS_SIZE = 470_000; $Apache2::SizeLimit::MIN_SHARE_SIZE = 50_000; See the section in Apache2/SizeLimit.pm =head1 DEPRECATED APIS quote Direct use of these globals is deprecated, but will continue to work for the foreseeable future. /quote But it should be trivial to write this instead: Apache2::SizeLimit-set_check_interval(30); Philip I think you have 3 official +1s, a green light for release. Apache2::SizeLimit-set_max_process_size(470_000); # Max size in KB Apache2::SizeLimit-set_min_shared_size(50_000); # Min share in KB - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMXFGJdbiP+9ubjBwRArl2AKCN2QxfXfWOkzf9hEA7L+XjhHr7qwCfcsA2 LA0l9nLBEgJKlJErlJMuaKE= =4yd2 -END PGP SIGNATURE-
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
Philip I think you have 3 official +1s, a green light for release. Except that you needed to vote on the as yet to be rolled -rc2. Feel free to pick that up. I officially do not have time. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
On Wed, Aug 4, 2010 at 8:25 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc Builds and tests fine both on Debian Lenny w/ Apache 2.2.9 and perl 5.10 and Ubuntu 10.04. I seem to understand that our current SizeLimit config (below) will be completely bogus with the new version, right? Perl use Apache2::SizeLimit; # Will prevent murders of immature children that just needs to grow a bit $Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 30; $Apache2::SizeLimit::MAX_PROCESS_SIZE = 470_000; $Apache2::SizeLimit::MIN_SHARE_SIZE = 50_000; open(DATA,/proc/meminfo); my ($mem) = DATA =~ m/MemTotal:\s+(\d+)/; close(DATA); # See Practical mod_perl page 352 # int(($mem-100-$Apache2::SizeLimit::MIN_SHARE_SIZE)/($Apache2::SizeLimit::MAX_PROCESS_SIZE-$Apache2::SizeLimit::MIN_SHARE_SIZE)); # We can't use the super-cool practical mod perl recipe, because # of how Apache2::SizeLimit (or Linux::Smaps) reports process memory on Lenny # It used to be 110Mb, now it's 440Mb. (???) # And reserve 500Mb for the OS in any case $MaxClients = int (($mem - 500) / 100_000); warn \nMemory: . int($mem/1000) . Mb, MaxClients: $MaxClients\n; /Perl -- Cosimo
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/06/10 12:52, Cosimo Streppone wrote: On Wed, Aug 4, 2010 at 8:25 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc Builds and tests fine both on Debian Lenny w/ Apache 2.2.9 and perl 5.10 and Ubuntu 10.04. I seem to understand that our current SizeLimit config (below) will be completely bogus with the new version, right? # Will prevent murders of immature children that just needs to grow a bit $Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 30; $Apache2::SizeLimit::MAX_PROCESS_SIZE = 470_000; $Apache2::SizeLimit::MIN_SHARE_SIZE = 50_000; See the section in Apache2/SizeLimit.pm =head1 DEPRECATED APIS quote Direct use of these globals is deprecated, but will continue to work for the foreseeable future. /quote But it should be trivial to write this instead: Apache2::SizeLimit-set_check_interval(30); Apache2::SizeLimit-set_max_process_size(470_000); # Max size in KB Apache2::SizeLimit-set_min_shared_size(50_000); # Min share in KB - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMXFGJdbiP+9ubjBwRArl2AKCN2QxfXfWOkzf9hEA7L+XjhHr7qwCfcsA2 LA0l9nLBEgJKlJErlJMuaKE= =4yd2 -END PGP SIGNATURE-
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
On 10-08-04 11:14 PM, Philip M. Gollucci wrote: On 8/4/2010 9:19 PM, Adam Prime wrote: builds and tests fine on linux w/ 5.8.8 mp2, i'll do solaris x86/sparc at work tomorrow. This is actually a pretty significant change set, so it would probably be a good idea to get as much feedback as possible. Yep, I even vaguely remember writing it :) I rather see run-time tests in dev/qa/prod then reports that the tests work. They aren't very extensive. THX! I would too, but i don't actually use A::SL at all, so i can't be much help in that regard. Adam
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
All tests pass on Linux with httpd 2.2.9 and perl 5.8.8. I had to explicitly set APACHE_TEST_HTTPD and APACHE_TEST_APXS since my httpd binary wasn't in my $PATH, but it worked fine after that. On Wed, Aug 4, 2010 at 8:25 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc item 0.92-rc1 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit from Apache::SizeLimit::Core. Call _platform_check_size as a class method to prevent error when USE_SMAPS=0, RT #33303 Reported by: jgoodri...@alum.dartmouth.edu [Fred Moyer f...@redhotpenguin.com] *** HEADS UP - SHARED CODE BASE - HEADS UP *** Apache-SizeLimit has been hybridized. It has been split into 3 packages. 1) Apache::SizeLimit - User API for httpd 1.3.x / mod_perl 1.x 2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x 3) Apache::SizeLimit::Core - Interal Shared Functionality _NEVER_ use this module directly. [Philip M. Gollucci pgollu...@p6m7g8.com] Skip tests on OS X (darwin) due to broken getrusage(3) [Fred Moyer f...@redhotpenguin.com, Philip M. Gollucci pgollu...@p6m7g8.com] Added a SUPPORT section to the docs. [Dave Rolsky auta...@urth.org] - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMWYZsdbiP+9ubjBwRAtE4AKCD/ttal+pkK3iI8oh9rC7FvSCnggCcC5qo WHQKFEoMjwxi96qS1SxXMrA= =JkqO -END PGP SIGNATURE- - To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
builds and tests fine on: SunOS www01-dtest 5.10 Generic_142901-05 i86pc i386 i86pc Solaris w/ mp2 and SunOS ii3-dev 5.10 Generic_13-03 sun4v sparc SUNW,Sun-Blade-T6320 Solaris w/ mp1 +1 Adam On 10-08-04 09:19 PM, Adam Prime wrote: builds and tests fine on linux w/ 5.8.8 mp2, i'll do solaris x86/sparc at work tomorrow. This is actually a pretty significant change set, so it would probably be a good idea to get as much feedback as possible. Adam Philip M. Gollucci wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc item 0.92-rc1 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit from Apache::SizeLimit::Core. Call _platform_check_size as a class method to prevent error when USE_SMAPS=0, RT #33303 Reported by: jgoodri...@alum.dartmouth.edu [Fred Moyer f...@redhotpenguin.com] *** HEADS UP - SHARED CODE BASE - HEADS UP *** Apache-SizeLimit has been hybridized. It has been split into 3 packages. 1) Apache::SizeLimit - User API for httpd 1.3.x / mod_perl 1.x 2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x 3) Apache::SizeLimit::Core - Interal Shared Functionality _NEVER_ use this module directly. [Philip M. Gollucci pgollu...@p6m7g8.com] Skip tests on OS X (darwin) due to broken getrusage(3) [Fred Moyer f...@redhotpenguin.com, Philip M. Gollucci pgollu...@p6m7g8.com] Added a SUPPORT section to the docs. [Dave Rolsky auta...@urth.org] - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMWYZsdbiP+9ubjBwRAtE4AKCD/ttal+pkK3iI8oh9rC7FvSCnggCcC5qo WHQKFEoMjwxi96qS1SxXMrA= =JkqO -END PGP SIGNATURE- - To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
On Thu, Aug 5, 2010 at 11:21 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/05/10 18:03, Fred Moyer wrote: All tests pass on Linux with httpd 2.2.9 and perl 5.8.8. I had to explicitly set APACHE_TEST_HTTPD and APACHE_TEST_APXS since my httpd binary wasn't in my $PATH, but it worked fine after that. thats from Apache-Test and has nothing to do with this. MP_APXS=x should have caught that when you installed mp2. Unless you installed A-T outside of mod_perl and left the args off. Yeah that install was rather old, so I'm not surprised. +1 Anyway so far so good. Any real run-time testers out there. Counting me (we're at 2 binding +1) and 1 non binding. On Wed, Aug 4, 2010 at 8:25 AM, Philip M. Gollucci pgollu...@p6m7g8.com wrote: http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc item 0.92-rc1 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit from Apache::SizeLimit::Core. Call _platform_check_size as a class method to prevent error when USE_SMAPS=0, RT #33303 Reported by: jgoodri...@alum.dartmouth.edu [Fred Moyer f...@redhotpenguin.com] *** HEADS UP - SHARED CODE BASE - HEADS UP *** Apache-SizeLimit has been hybridized. It has been split into 3 packages. 1) Apache::SizeLimit - User API for httpd 1.3.x / mod_perl 1.x 2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x 3) Apache::SizeLimit::Core - Interal Shared Functionality _NEVER_ use this module directly. [Philip M. Gollucci pgollu...@p6m7g8.com] Skip tests on OS X (darwin) due to broken getrusage(3) [Fred Moyer f...@redhotpenguin.com, Philip M. Gollucci pgollu...@p6m7g8.com] Added a SUPPORT section to the docs. [Dave Rolsky auta...@urth.org] - - To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMWwE1dbiP+9ubjBwRAqciAJoC3SrxDTzc3NFFBVfJ0aE2KUQ6XACghmcl 259OxDVSj8r+/huBdwzTLx8= =G6a/ -END PGP SIGNATURE-
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
builds and tests fine on linux w/ 5.8.8 mp2, i'll do solaris x86/sparc at work tomorrow. This is actually a pretty significant change set, so it would probably be a good idea to get as much feedback as possible. Adam Philip M. Gollucci wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc item 0.92-rc1 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit from Apache::SizeLimit::Core. Call _platform_check_size as a class method to prevent error when USE_SMAPS=0, RT #33303 Reported by: jgoodri...@alum.dartmouth.edu [Fred Moyer f...@redhotpenguin.com] *** HEADS UP - SHARED CODE BASE - HEADS UP *** Apache-SizeLimit has been hybridized. It has been split into 3 packages. 1) Apache::SizeLimit - User API for httpd 1.3.x / mod_perl 1.x 2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x 3) Apache::SizeLimit::Core - Interal Shared Functionality _NEVER_ use this module directly. [Philip M. Gollucci pgollu...@p6m7g8.com] Skip tests on OS X (darwin) due to broken getrusage(3) [Fred Moyer f...@redhotpenguin.com, Philip M. Gollucci pgollu...@p6m7g8.com] Added a SUPPORT section to the docs. [Dave Rolsky auta...@urth.org] - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMWYZsdbiP+9ubjBwRAtE4AKCD/ttal+pkK3iI8oh9rC7FvSCnggCcC5qo WHQKFEoMjwxi96qS1SxXMrA= =JkqO -END PGP SIGNATURE- - To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org
Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1
On 8/4/2010 9:19 PM, Adam Prime wrote: builds and tests fine on linux w/ 5.8.8 mp2, i'll do solaris x86/sparc at work tomorrow. This is actually a pretty significant change set, so it would probably be a good idea to get as much feedback as possible. Yep, I even vaguely remember writing it :) I rather see run-time tests in dev/qa/prod then reports that the tests work. They aren't very extensive. THX! Adam Philip M. Gollucci wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc item 0.92-rc1 Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit from Apache::SizeLimit::Core. Call _platform_check_size as a class method to prevent error when USE_SMAPS=0, RT #33303 Reported by: jgoodri...@alum.dartmouth.edu [Fred Moyer f...@redhotpenguin.com] *** HEADS UP - SHARED CODE BASE - HEADS UP *** Apache-SizeLimit has been hybridized. It has been split into 3 packages. 1) Apache::SizeLimit - User API for httpd 1.3.x / mod_perl 1.x 2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x 3) Apache::SizeLimit::Core - Interal Shared Functionality _NEVER_ use this module directly. [Philip M. Gollucci pgollu...@p6m7g8.com] Skip tests on OS X (darwin) due to broken getrusage(3) [Fred Moyer f...@redhotpenguin.com, Philip M. Gollucci pgollu...@p6m7g8.com] Added a SUPPORT section to the docs. [Dave Rolsky auta...@urth.org] - -- - 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMWYZsdbiP+9ubjBwRAtE4AKCD/ttal+pkK3iI8oh9rC7FvSCnggCcC5qo WHQKFEoMjwxi96qS1SxXMrA= =JkqO -END PGP SIGNATURE- - To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.