Hi, I'm using ActiveState Perl v5.6.1 MSWin32-x86-multi-thread, Apache 1.3.26 and mod_perl 1.27 ( as DSO ) on Windows 2000 with 256MB of RAM. I configurel location in a simple way, showed below: ------ a piece from httpd.conf -------- <Location /mod_perl> Options +ExecCGI AddHandler perl-script .pl PerlHandler Apache::Registry </Location> ------------------------------------------- Every thing seems to run fine. But when I went to check the performance of mod_perl pages, I noticed that it was leaking memory. I simplified situation as much as i can. Details are as follows : After a fresh restart, I started Apache/mod_perl. Then i issued a little stress test using simple perl script with LWP::Simple. I ran a performance test on /mod_perl/index.pl page for 10 minutes. The source code of that page is given below : --------------------- #!/perl/bin/perl use CGI qw(:all);
print header; print "Hello, World!"; ----------------------------- After 10 mintues of execution, the memory consumption of Apahce.exe had jumped from approx 5 MB to 120MB ( virtual memory ). I ve noticed, that Apache child grown by 4-8kb per each request. Since then I've tried many different versions of Apache/mod_perl (1.24/mod_perl 1.26 too) including the one available as a binary distribution at perl.apache.org. All the mod_perl scripts sleak memory. I know that mod_perl on Windows is a development version but still this memory leak thing is pretty obvious and should have been taken care off. Please let me know if this has something to do with my Apache/mod_perl on Windows or is it that mod_perl on Windows is buggy. -- Best regards, Andrey mailto:[EMAIL PROTECTED]