Re: Shared Dirty memory of Apache parent process

2014-09-18 Thread Nageswara rao Gurram
Thanks for valuable inputs. I'll try to remove this global variable and use Memcached in its place (as we are already using in our system). Harkins, I am checking /proc/pid/smaps and found shared memory of parent is getting increased.. Following are the details of parent and childs smaps in

Re: Shared Dirty memory of Apache parent process

2014-09-18 Thread Perrin Harkins
On Thu, Sep 18, 2014 at 5:35 AM, Nageswara rao Gurram nageshgurra...@gmail.com wrote: As the traffic is increasing shared memory in parent is increasing , thats what puzzling me ! If childs write into shared of parent, then it should come into private of child(copy on write) but why shared of

RE: Shared Dirty memory of Apache parent process

2014-09-17 Thread Mark Hedges
From: Nageswara rao Gurram [mailto:nageshgurra...@gmail.com] Sent: Tuesday, September 16, 2014 10:51 AM Hi, I am modifying(infact intializing) the global variable declared in start up with child processes..When every child process tries to modify it I think it should come as private

Re: Shared Dirty memory of Apache parent process

2014-09-17 Thread Perrin Harkins
On Wed, Sep 17, 2014 at 1:18 PM, Mark Hedges mark.hed...@ticketmaster.com wrote: For example, you could use a tied DBM/MLDBM hash, DBD::SQLite or another file-based database with access locking for your cache, and save it in a shared memory filesystem like /dev/shm. I would suggest that too,

Shared Dirty memory of Apache parent process

2014-09-16 Thread Nageswara rao Gurram
Hi, I am new to mod perl environment so this may looks naive. Recenlty I observed my apache processes are getting huge.. When I tried to dig this down I found apache parent process (rss memory , mainly shared dirty) itself is increasing with number of requests it is serving, so when everytime

Re: Shared Dirty memory of Apache parent process

2014-09-16 Thread André Warnier
Nageswara rao Gurram wrote: Hi, I am new to mod perl environment so this may looks naive. Recenlty I observed my apache processes are getting huge.. When I tried to dig this down I found apache parent process (rss memory , mainly shared dirty) itself is increasing with number of requests

Re: Shared Dirty memory of Apache parent process

2014-09-16 Thread Perrin Harkins
...@gmail.com wrote: Hi, I am new to mod perl environment so this may looks naive. Recenlty I observed my apache processes are getting huge.. When I tried to dig this down I found apache parent process (rss memory , mainly shared dirty) itself is increasing with number of requests

Re: Shared Dirty memory of Apache parent process

2014-09-16 Thread Nageswara rao Gurram
. Recenlty I observed my apache processes are getting huge.. When I tried to dig this down I found apache parent process (rss memory , mainly shared dirty) itself is increasing with number of requests it is serving, so when everytime it is creating a new child it is sharing all its memory with childs

Re: Shared Dirty memory of Apache parent process

2014-09-16 Thread Nageswara rao Gurram
, 2014 at 10:28 AM, Nageswara rao Gurram nageshgurra...@gmail.com wrote: Hi, I am new to mod perl environment so this may looks naive. Recenlty I observed my apache processes are getting huge.. When I tried to dig this down I found apache parent process (rss memory , mainly shared dirty

Re: Shared Dirty memory of Apache parent process

2014-09-16 Thread André Warnier
to dig this down I found apache parent process (rss memory , mainly shared dirty) itself is increasing with number of requests it is serving, so when everytime it is creating a new child it is sharing all its memory with childs and they are getting even more bigger and so on.. I am thinking