Hello all!

I am writing a web based mapping application in Perl
using Apache, Mod_Perl, MySQL and such.  I am writing
it at home on an old machine that has very little
memory.  32 Megs to be exact.  I have found that when
I run my script under mod_perl it seems to follow this
pattern:

1. First time through it runs slow. Slower than
without mod_perl at all. That is normal as I
understand it.

2. Subsequent reloads are fast: really fast!

3. Then after a while: 10-20 more hits the server
starts to grind away at the harddisk more and more
until the inital speed seen is gone and the
application runs about twice as slow as it does
without mod-perl.

I am wondering if this is solely the memory issue or
if it could be something else I have misconfigured. 
It seems to only get worse when I preload Apache::DBI
and CGI.  I also would like to load my own mapping
module I wrote, but at this point the thing is
unbearably slow.  

I configured Apache to start a minium amount of
servers at startup.  I also noticed that Netscape
seems to be worse than Explorer with this.  I tried
turning "Keepalive" off and on.

If anyone has any suggestions I would love to hear
them.

Thanks!
Davin Flatten

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to