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. -- kind regards, Tim Esselens