Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An exception was thrown attempting to execute the error handler. Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds) #5617

Closed
Hoangnhvt opened this issue Apr 16, 2021 · 1 comment

Comments

@Hoangnhvt
Copy link

Hoangnhvt commented Apr 16, 2021

After run deploy nop 1 received exeption:

Apr 11 03:51:20 vps nopCommerce440-example: #33[41m#033[30mfail#033[39m#033[22m#033[49m: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[3]
Apr 11 03:51:20 vps nopCommerce440-example: An exception was thrown attempting to execute the error handler.
Apr 11 03:51:20 vps nopCommerce440-example: Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)
Apr 11 03:51:20 vps nopCommerce440-example: ---> System.TimeoutException: The operation has timed out.
Apr 11 03:51:20 vps nopCommerce440-example: at Npgsql.ConnectorPool.<>c__DisplayClass38_0.<g__RentAsync|0>d.MoveNext()
Apr 11 03:51:20 vps nopCommerce440-example: --- End of stack trace from previous location ---
Apr 11 03:51:20 vps nopCommerce440-example: at Npgsql.NpgsqlConnection.<>c__DisplayClass41_0.<g__OpenAsync|0>d.MoveNext()
Apr 11 03:51:20 vps nopCommerce440-example: --- End of stack trace from previous location ---
Apr 11 03:51:20 vps nopCommerce440-example: at LinqToDB.Data.DataConnection.EnsureConnectionAsync(CancellationToken cancellationToken)

I have to restart nopservices everyday to resolve this problem.
Nop 4.4.02 + centos + postgres
You can see full log here
http://upfile.vn/7QBC7aBmNqGg/messages1-txt.html

Can nop team help me to resolve this issue. Many thank

@Hoangnhvt Hoangnhvt changed the title End of stack trace from previous location An exception was thrown attempting to execute the error handler. Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds) Apr 16, 2021
@AndreiMaz
Copy link
Member

please do not duplicate issues - #5588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants