perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <per...@elem.com>
Subject Re: berkeleyDB tie once and forever with mod_perl
Date Fri, 13 Jul 2007 13:48:26 GMT
On 7/13/07, Jonathan Vanasco <jvanasco@2xlp.com> wrote:
> I'm thinking of the situation where you have 1 parent, 4 children.
> all 4 children hit max-requests and exit before the first replacement
> spawns.  without a standing connection in the parent (or another
> process using bdb in any way ) wouldn't that memory be released back
> to the system , and a new memory space be started on the spawn?

Sure, but if all your children exit at once, BerkeleyDB cache is the
least of your worries.  It will never happen.  And even in this case,
when they all respawn and create a new segment, there will be no loss
of data.  The worst case is that the cache is cleared.

- Perrin

Mime
View raw message