Tim Esselens wrote:
Malcolm J Harwood wrote:

Ah, i see, but then my question remains, why is this location changed
after n hits (n = # of apache children)

Just a stab in the dark:
If you have a completely round-robin series of hits (ie. each child is hit
once in order before any child is hit twice).
The initial setup is completely deterministic - all children start with
the same state as they are forked from the same process.
So in each child, the first allocation occurs at the same address.
Then second time around, it's allocated somewhere else. (And if all your
hits are completely deterministic and identical, then that location may be
the same in all children too).

That might just be the case, because if I leave the apache running for a
while (and probably pollute its memspace by hitting other pages I'm
developing) the addresses of $r start to change in a more random fashion.

When debugging this kind of issues it's the best to run in a single server mode (httpd -X).

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to