in reply to mod_perl application structure

Yes, you're missing something big. You are almost certainly not running your applications under mod_perl. Either that, or you are using up all the RAM on your machine and causing it to go into swap.

The information you need is all here.

Replies are listed 'Best First'.
Re: Re: mod_perl application structure
by blokhead (Monsignor) on Aug 23, 2002 at 22:13 UTC
    I'm pretty positive it is using mod_perl -- The script now prints out Content-type: text/html at the top (haven't gone and changed the output yet). I'll check into the memory usage.
      See if $ENV{'MODPERL'} is true in your script. Also, I assume you're running under Apache::Registry, right?

      You will want to look into using Apache::DBI, and pre-loading all of your modules in a startup.pl script to save memory.