after upgrading from .83 to .93, mod perl would not start, giving the following error in modperl.error.log:
[Wed Jun 10 09:20:17 2009] [error] Integer overflow in hexadecimal number at /data/wre/prereqs/lib/perl5/site_perl/5.10.0/Linux/Smaps.pm line 83, <$f> line 649.\nBEGIN failed--compilation aborted at /data/wre/prereqs/lib/perl5/site_perl/5.10.0/i686-linux/Apache2/SizeLimit.pm line 98.\nCompilation failed in require at /data/wre/etc/modperl.pl line 1.\nBEGIN failed--compilation aborted at /data/wre/etc/modperl.pl line 1.\nCompilation failed in require at (eval 2) line 1.\n[Wed Jun 10 09:20:17 2009] [error] Can't load Perl file: /data/wre/etc/modperl.pl for server ubuntu21087.aspadmin.net:0, exiting...
haarg and perlDreamer suggested working with the Apache::SizeLimit in modperl.pl.
So I commented all the lines out, restarted modperl and it worked without error.
Haarg thought maybe there was somethign with Linux::Smaps, so we enabled Apache::SizeLimit again and added $Apache2::SizeLimit::USE_SMAPS = 0; to the end of my modperl.pl so the resulting modperl.pl looked like this:
use Apache2::SizeLimit;$Apache2::SizeLimit::MAX_PROCESS_SIZE = 100000;$Apache2::SizeLimit::MAX_UNSHARED_SIZE = 75000;$Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 5;$Apache2::SizeLimit::USE_SMAPS = 0;
however that didnt' work either. - I got the same error for modperl.
I'm running Webgui 7.5.24. This was a step I needed to take to upgrade to latest stable.