Re: Memory Issues

[prev] [thread] [next] [Date index for 2005/02/10]

From: Perrin Harkins
Subject: Re: Memory Issues
Date: 20:37 on 10 Feb 2005
On Thu, 2005-02-10 at 17:48 -0200, Leo wrote:
> Because application data should be the same across all processes (and I 
> didn't think to use your suggestioned solutions below)  when a request 
> comes in, I tie the application session, check to see if my modification 
> counter are equal.  If it is then just untie the hash, If the 
> modification number number has changed then before the untie I do my 
> data sync operation.  It's really an ugly way to keep things from 
> breaking in my test environment.  I got the idea from one of the man 
> pages that came with Apache::Session I think.

Oh, I see.  Another way to do this sort of thing, if you're loading the
data from a file, is to stat() the file to see if it has changed since
the last time you loaded it.  That's more efficient than using
Apache::Session.

- Perrin

Memory Issues
Leo 18:56 on 10 Feb 2005

Re: Memory Issues
Perrin Harkins 19:20 on 10 Feb 2005

Re: Memory Issues
Leo 19:48 on 10 Feb 2005

Re: Memory Issues
Perrin Harkins 20:37 on 10 Feb 2005

Generated at 10:21 on 11 Feb 2005 by mariachi v0.52