On Sun, Oct 31, 1999 at 11:33:19PM -0800, Doug MacEachern wrote:
> sounds like you have PerlFreshRestart On, try turning it Off. scan the
> archives for more info.
I have tried both ways. Also, the mail archives say that this is a bug that
was fixed in 1.21 (which I am running).
I've done some more checks of different configurations and measured the
leak.
Leak
Without mod_perl: 8
PerlFreshRestart On: 40
PerlFreshRestart Off: 40
Empty <Perl> section: 396
PerlModule Apache 396
same plus Apache::Registry 452
+ ::Status 1388
+ PerlHandler Apache::Status 1388
+ PerlModule Apache::PerlSections 1400
+ Apache::DBI 1804
+ Data::Dumper 1804
+ Carp 1804
+ PerlRequire mystartup.pl 1896
So it looks like we leak:
8K to Apache
32K to mod_perl itself (though maybe this is a leak in
apache's module handling code?)
56K to Apache::Registry
356K to mod_perl when you use it for anything
404K to Apache::PerlSections
936K to Apache::Status
(and 92K to something in my code :)
Can anyone else with the same config (Apache 1.3.9, mod_perl 1.21) confirm
this? I am using the Debian packages (1.3.9-10 and 1.21-5 respectively)
so it may be something enabled at compile time.
Cheers,
Ben
--
+-----Ben Bell - "A song, a perl script and the occasional silly sig.-----+
/// email: [EMAIL PROTECTED] www: http://www.deus.net/~bjb/
bjb Don't try to drive me crazy...
\_/ ...I'm close enough to walk.