The test that I ran was using two different browsers and an occasional hit from our online monitoring service. So usually I had three sessions waiting to time out.
I hit the site with my two different browsers and waited for them to timeout (which is set to 10 minutes). After the ten minutes were up I waited about a minute, usually because I was checking on my cooking, and noted the memory according to Windows' Task Manager. After about an hour of very modest testing there was a net gain of 1Meg from 26560 to 27560. ( I have just checked the same server and it has gained 7Meg in real world usage from 27560 to 34844) As to my garbled sentence I was trying to say that when the new sessions were created sometimes the memory usage did not go up. Which I attributed to Active4D reusing some of the old allocated memory. As to the zombies, we have an old session monitor which does not show the number of zombies, so sorry about that. MB ----- Original Message ----- From: "Aparajita Fishman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 03, 2002 11:35 PM Subject: Re: [Active4d-dev] Memory Leak in 2.1b8 > > Active4D is not fully deallocating memory when sessions timeout. > > The session deallocation in 2.1 is quite a bit different than in 2.0. > When a session times out in 2.1, it is not deallocated until the next > run of the session purger, which defaults to every ten seconds. When > the purger runs, it calls On Session End for each timed out session, > then deletes the session. > > > > I said > > not always because the next one or two requests seem to use a piece of > > the > > previously allocated memory, but if another request comes in then > > memory is > > allocated and not de-allocated when the Sessions timeout. > > Forgive me, but I didn't quite understand that sentence. > > > > The net result is that the allocated pool of memory slowly creeps up. > > After > > about 20 requests the server had lost about 1 Meg memory. > > But that memory should be reclaimed once they completely die. Have you > checked the session monitor to see how many zombies you have? > > Regards, > > Aparajita > Victory-Heart Productions > [EMAIL PROTECTED] > www.aparajitaworld.com > > _______________________________________________ > Active4d-dev mailing list > [EMAIL PROTECTED] > http://aparajitaworld.com/mailman/listinfo/active4d-dev >
