Back to photostream

2006SEP050950

Here is a killer I found using webpy 0.138 + Apache2 + mod_python + Mysql + MySQLdb stack.

 

Look at the number of connections. If you look at the previous images you'll see I've been adding stuff into a database table. Did that one day until I got a db insertion failure on connections. Now it stumped me a bit.

 

I looked at the code and there was nothing really offensive there. So where's the problem? I checked around and found references to python not releasing objects soon enough.

 

One solution I did find was to install 'DBUtils' for connection pooling. I'm still hunting to find out why this occured.

 

 

Refer to this post to see what I'm working on.

 

<<< start

349 views
0 faves
0 comments
Uploaded on September 5, 2006
Taken on September 5, 2006