max pool size was reached

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/11/2009 12:26:35 AM
Gravatar
Total Posts 5

max pool size was reached

Hi, All,

Iam using mojoPortal 2.2.7.8 to develop web application project. I see in my log system some error like this:

******************************************************************************************************************

2009-06-10 05:03:41,390 ERROR mojoPortal.Web.BannedIPBlockingHttpModule - MySql.Data.MySqlClient.MySqlException: error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(String connectionString, String commandText, MySqlParameter[] commandParameters)
at mojoPortal.Data.DBBannedIP.IsBanned(String ipAddress)
at mojoPortal.Business.BannedIPAddress.IsBanned(String ipAddress)
at mojoPortal.Web.BannedIPBlockingHttpModule.BeginRequest(Object sender, EventArgs e)
2009-06-10 05:03:41,390 ERROR mojoPortal.Web.BannedIPBlockingHttpModule - MySql.Data.MySqlClient.MySqlException: error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(String connectionString, String commandText, MySqlParameter[] commandParameters)
at mojoPortal.Data.DBBannedIP.IsBanned(String ipAddress)
at mojoPortal.Business.BannedIPAddress.IsBanned(String ipAddress)
at mojoPortal.Web.BannedIPBlockingHttpModule.BeginRequest(Object sender, EventArgs e)

*******************************************************************************************************************

 

what happent with this error?

in my code I always close any connection if I was use it.

 

thx...

6/11/2009 5:11:34 AM
Gravatar
Total Posts 18439

Re: max pool size was reached

Hi,

I do not know why you get this error. If it continues to be a problem you could disable the bannedip module by commenting out this in Web.config:

<add name="BannedIPBlockingHttpModule" type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web" />

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.