On Mon, 2006-01-02 at 22:04 +0100, Len Kranendonk wrote:
> > How are you measuring this?
>
> top, or ps aux and watch the RSS column (the real memory (resident set)
> size of the process (in 1024 byte units)).
Okay, my other guess then is that your parent process really uses this
much memory at
i recently made a memory bench with a self-compiled apache 1.33 that
showed that every request (of a mod_perl-handler that just outputs
content-type) added a small amount of memory to the child process; i
haven't watched the parent process, though.
That would imply a memory leak .
--
---
On Mon, 2 Jan 2006, Len Kranendonk wrote:
> I'm running Apache/2.0.54, mod_perl/2.0.1, Perl/v5.8.7 on FreeBSD 6.0.
>
> Right after starting apache (with preloading the needed perl modules) the
> httpd root process is about 40MB.
> After several days it has grown to over 100MB.
what would be i
This doesn't really help you, but I don't notice the parent growing on
any of my FreeBSD boxes doing a variety of things.
So, most likely I'm doing something that you don't do
Are you using ModPerl::Registry, because I still do.
Are you using IPC::SharedCache for your HTML::Template caching?
No, I'm using the "file_cache=>1" option, which uses Storable (I believe).
Perrin Harkins wrote:
On Mon, 2006-01-02 at 21:48 +0100, Len Kranendonk wrote:
We're using a global %session hash, which is undef 'fed when the session is
closed.
I'm not reading in large data sets, but even if I did that should grow the
child process,
not the parent process, right ?
Right.
How are you measuring this?
top, or ps aux and watch the RSS column (the real memory (resident set)
size of the process (in 1024 byte units)).
A sample top output:
PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND
87075 www40 178M 174M accept 0:32 3.
On Mon, 2006-01-02 at 21:48 +0100, Len Kranendonk wrote:
> We're using a global %session hash, which is undef 'fed when the session is
> closed.
> I'm not reading in large data sets, but even if I did that should grow the
> child process,
> not the parent process, right ?
Right.
> The applicati
Do you have any globals or other shared information that grows very
large? Do you read in any large data sets either from a database or
a file into the application all at once?
We're using a global %session hash, which is undef 'fed when the session is
closed.
I'm not reading in large data
On Mon, 2006-01-02 at 20:34 +0100, Len Kranendonk wrote:
> Right after starting apache (with preloading the needed perl modules)
> the httpd root process is about 40MB.
> After several days it has grown to over 100MB.
How are you measuring this?
> My understanding is that the parent process is n
On Mon, 2 Jan 2006 20:34:42 +0100
"Len Kranendonk" <[EMAIL PROTECTED]> wrote:
> Happy 2006 everyone,
>
> I'm running Apache/2.0.54, mod_perl/2.0.1, Perl/v5.8.7 on FreeBSD
> 6.0.
>
> Right after starting apache (with preloading the needed perl modules)
> the httpd root process is about 40MB. Aft
11 matches
Mail list logo