perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <>
Subject Re: MP1 -> MP2 migration Problems.
Date Mon, 18 Feb 2008 19:55:03 GMT
On Feb 18, 2008 4:40 AM, André Warnier <> wrote:
> What I have until now believed is that perl "code" is in fact "data" for
> the perl interpreter, and that as such it cannot really be "shared".
> What I mean is that, as soon as some bit is changed in a "page" of any
> perl module, that "page" is dirty and must be copied and made private to
> the one child process. And since there is (in my understanding) not such
> a clear separation as to which parts in "perl code" are data and which
> are code, after a while one ends up with a full duplicate in each child
> anyway.  Probably badly explained, but not so in the general sense ?

Your technical understanding is correct, but in practice most pages
remain shared.  You can help this by using a tool like
Apache::SizeLimit that kills off processes after a while.

- Perrin

View raw message