[mod_python] python_cleanup/bsddb error

Krishna Srinivasan krishna at ironport.com
Thu Jul 15 16:07:57 EDT 2004


Can some one please help me with this ?

The /tmp/mp_sess.dbm is just growing
with time and doesn't get cleaned
up at all. Please atleast let me know
if this is NOT a mod_python error or
some dbm-module error, so I can investigate
further as to what is wrong.


---------- Forwarded message ----------
Date: Tue, 13 Jul 2004 16:33:19 -0700 (PDT)
From: Krishna Srinivasan <krishna at ironport.com>
To: Modpython <Mod_python at modpython.org>
Subject: python_cleanup/bsddb error


I get the following errors in my error_log.
I guess this is why my sessions don't get
cleaned up at all and hence the mp_sess.dbm
in /tmp is always growing.

[Thu Jul 12 19:27:04 2004] [notice] [client] DbmSession: registered 
database cleanup., referer: http://mymachine/home
[Thu Jul 12 19:27:04 2004] [error] [client] python_cleanup: Error 
calling cleanup object <function dbm_cleanup at 0x823fc8c>, referer: 
[Thu Jul 12 19:27:04 2004] [error] [client] bsddb.error: (22, 
'Invalid argument'), referer: http://mymachine/home

Can someone please give me pointers as to
how to correctly clean up the db ?

Many thanks,

More information about the Mod_python mailing list