A question of debugging/testing for when memory goes from shared to unshared

--Apple-Mail-2--160698435
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii

Hello Everyone,

After reading Practical mod_perl's section on Improving Performance with =
Shared Memory and proper forking a bit, I'm wondering if I can setup a =
means for testing what is shared and when it becomes unshared in my =
memory usage.

I can't seem to currently get GTop installed on my OS X box (I'm sure =
that will get resolved shortly.)

So, I was wondering if anyone has come up with an alternative to =
determine a way of testing or debugging when memory goes from shared to =
unshared in the mod_perl environment?

I notice in my processes (using top) that there are several processes =
that look like they have the same memory maps with regards to shared vs. =
unshared memory, then there is the root, and one child that has it's one =
shared and unshared memory allotment. It usually starts with less shared =
memory than the rest, but on every restart the memory usages change so =
that the shared amounts change with each restart, sometimes higher, =
sometimes lower.

I'm wondering if there is a way to see under the hood so to speak to =
determine what is being shared and what is not in each child process.
Obviously, single user mode type debugging is out.

Any suggestions?

Thank you,
Boysenberry Payne=

--Apple-Mail-2--160698435
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello =
Everyone,<div><br></div><div>After reading <span =
class=3D"Apple-style-span" style=3D"text-decoration: =
underline;">Practical mod_perl</span>'s section on Improving Performance =
with Shared Memory  and proper forking a bit, I'm wondering if I =
can setup a means for testing what is shared and when it becomes =
unshared in my memory usage.</div><div><br></div><div>I can't seem to =
currently get GTop installed on my OS X box (I'm sure that will get =
resolved shortly.)</div><div><br></div><div>So, I was wondering if =
anyone has come up with an alternative to determine a way of testing or =
debugging when memory goes from shared to unshared in the mod_perl =
environment?</div><div><br></div><div>I notice in my processes (using =
top) that there are several processes that look like they have the same =
memory maps with regards to shared vs. unshared memory, then there is =
the root, and one child that has it's one shared and unshared memory =
allotment. It usually starts with less shared memory than the rest, but =
on every restart the memory usages change so that the shared amounts =
change with each restart, sometimes higher, sometimes =
lower.</div><div><br></div><div>I'm wondering if there is a way to see =
under the hood so to speak to determine what is being shared and what is =
not in each child process.</div><div>Obviously, single user mode type =
debugging is out.</div><div><br></div><div>Any =
suggestions?</div><div><br></div><div>Thank =
you,</div><div> Boysenberry Payne</div></body></html>=

--Apple-Mail-2--160698435--
Boysenberry Payne [ So, 17 Januar 2010 21:57 ] [ ID #2029012 ]
Webserver » gmane.comp.apache.mod-perl » A question of debugging/testing for when memory goes from shared to unshared

Vorheriges Thema: IPC::Open3 and MP
Nächstes Thema: Need an explanation of APR::Pool and it's use in mod_perl