in reply to mod_perl memory issues...

Hi cLive,

I assume you're using Apache::Registry as opposed to writing handler modules. You would have a directory which is setup for Registry scripts which will stay in memory, but you can still have a normal cgi-bin type directory as well. Simply put the rarely used scripts in your normal cgi-bin and the rest in your mod_perl directory.

cheers,

J

Replies are listed 'Best First'.
Re: mod_perl memory issues...
by cLive ;-) (Prior) on Oct 15, 2003 at 22:35 UTC

    Sorry, yes, we are using APache::Registry.

    Good solution, but it's not dynamic enough. If we ran occasional logging on which modules were used, it would be nice to be able to set a flag somewhere to turn off caching of that module.

    Or maybe it wouldn't :)

    I'm still not really sure about a lot of mod_perl automagical stuff. Maybe I just need to spend a few days re-reading the docs to improve my overall understanding...

    cLive ;-)