in reply to Does using globals via our() in mod_perl scripts lead to apache child size growth?

Anything you do, including nothing can probably lead to Apache child size growth! ;)

But seriously, I do not think the use of our as such will lead to extra size growth.

Of course as the mod_perl modules are persistent they will not decrease in size over time. Every change to a variable causes a copy-on-write effect so the shared memory among the children decreases and the private memory space grows for all children.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: Does using globals via our() in mod_perl scripts lead to apache child size growth?
  • Download Code