[mod_python] python_cleanup/bsddb error

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


Greetings.

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.

Thanks,
Krishna.


---------- 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


Greetings.

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 10.1.1.67] DbmSession: registered 
database cleanup., referer: http://mymachine/home
[Thu Jul 12 19:27:04 2004] [error] [client 10.1.1.67] python_cleanup: Error 
calling cleanup object <function dbm_cleanup at 0x823fc8c>, referer: 
http://mymachine/home
[Thu Jul 12 19:27:04 2004] [error] [client 10.1.1.67] 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,
Krishna.



More information about the Mod_python mailing list