this is just a reposting from the MP main list, per Philip's request.
The full posting is:
From: [EMAIL PROTECTED]
Subject: bug(s) in FreeBSD Apache2::SizeLimit ?
Date: March 30, 2007 1:44:21 PM EDT
To: [EMAIL PROTECTED]
using Apache2::SizeLimit on bsd raises an error for 'bsd_size_check'
not being a valid function.
The error is from a typo -- "&bsd_size_check;" is called, but
"_bsd_size_check" is defined.
renaming the function resolves this specific issue.
=====
$HOW_BIG_IS_IT = \&bsd_size_check;
== snip ==
# rss is in KB but ixrss is in BYTES.
# This is true on at least FreeBSD, OpenBSD, NetBSD
# Philip M. Gollucci
sub _bsd_size_check {
my @results = BSD::Resource::getrusage();
my $max_rss = $results[2];
my $max_ixrss = int ( $results[3] / 1024 );
return ( $max_rss, $max_ixrss );
}
=====
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]