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 it
Hi,
Loading data in the parent process is a common strategy for data that you
won't modify. Do you need to change this data from the child processes? If
so, does it matter if the other child processes see the changes?
- Perrin
On Tue, Sep 16, 2014 at 10:28 AM, Nageswara rao Gurram <
nageshgurra.
System details:
CentOS release 5.9, Apache/2.2.23,Perl 5.8.8, mod_perl 2.0 and
Apache is running with pre-fork config.
On Tue, Sep 16, 2014 at 8:18 PM, André Warnier wrote:
> Nageswara rao Gurram wrote:
>
>> Hi,
>>I am new to mod perl environment so this may looks naive.
>> Recenlty I ob
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 memory of child.. But I am wondering why
shared dirty memory of parent process is increasing every time child tries
t
Hi.
This is a bit beside your question below (for which I do not know the answer
anyway).
But if it is the case
- that you have a number of Apache child processes which all need at start a certain
initial table of data of 100-200 MB in size
- that each of these children is going to modify tha
> 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
> p
On Wed, Sep 17, 2014 at 1:18 PM, Mark Hedges
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, if it fits the use case.
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 backup
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 share