Menu

#49 Too many connections when SQLConnectionPool not specified

closed-out-of-date
MiddleKit (8)
5
2008-11-07
2003-01-18
Luke Holden
No

When SQLConnectionPool is not specified in the models
Settings.config file, MiddleKit eventually runs out of
connections.

The 'proper' way to fix this would be to have MiddleKit
close connections when SQLConnectionPool is not set.

But until then... this patch provides a sane default
for the SQLConnectionPool size when its not specified.

Without this patch, a site with two ObjectStores will
get the 'Too many connections' error after about 100
page requests.

Discussion

  • Luke Holden

    Luke Holden - 2003-01-18
    • assigned_to: gtalvola --> echuck
     
  • Luke Holden

    Luke Holden - 2003-01-18

    Change SQLConnectionPool default to 20

     
  • Christoph Zwerschke

    Closing this very old issue. I think it has been fixed in r2042 and r2075.

     
  • Christoph Zwerschke

    • status: open --> closed-out-of-date
     

Log in to post a comment.