in reply to Re: (shared) memory and preloading modules using Mod-perl
in thread (shared) memory and preloading modules using Mod-perl

Thanks.
I did not know that, but i'm using the prefork MPM on one machine and threaded MPM on the other. I thought it would make no difference to mod_perl, but i'll try it out.
  • Comment on Re^2: (shared) memory and preloading modules using Mod-perl

Replies are listed 'Best First'.
Re^3: (shared) memory and preloading modules using Mod-perl
by perrin (Chancellor) on Dec 29, 2004 at 19:13 UTC
    Threading wastes a lot of memory because perl threads are unable to share their opcode tree as effectively as copy-on-write does. If you have an OS that supports prefork, you should stick with prefork.