dharana wrote:
Uh oh, no it doesn't goes away. Check this (custom handler):
------ controller.py ---------------
import os
from time import time
from mod_python import apache
from mod_python import Session
def handler(req):
start_time = time()
req.sess = Session.FileSession(req)
req.content_type = 'text/html'
end_time = time()
totaltime = (end_time - start_time)*1000
req.write('%.0f ms' % ((totaltime)))
return apache.OK
------------------------------------
This takes 75ms on a 1Ghz with 1Gb RAM server. After some page refreshes
the memory load is over 70Mb. Is this right? (I'm asking for both the
load time and memory usage)
(Memory load == memory usage of httpd/python child)
--
dharana