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

zaakBrug lost connection with Postgresql (and didn't reconnect) #160

Open
Geert-Jan-DH opened this issue Sep 22, 2023 · 4 comments
Open
Labels
bug Something isn't working FF! Frank!Framework

Comments

@Geert-Jan-DH
Copy link

On two occasions this week we had a "this connection has been closed" in ladybug calling when calling "genereerDocumentIdentificatie_Di02". Resulting in an erromessage to the calling application.

Generating a zaakIdentificatie had the same problem.

One incident on our test-environment and one incident on our production environment.

The problem was mitigated by restarting the server.

Other servers in the same Azure cloud using Postgresql never seem to have these issues.

Due to the immediate restart, logs are not available any more.

@MLenterman
Copy link
Collaborator

Does this also happen with the the latest (1.13.4) version? This issue is caused by the application running out of memory. The latest version of ZaakBrug includes an upgrade from Java 8 to Java 11. That should should help significantly with memory usage and memory behavior in containerized environments. Alternatively assigning more memory to ZaakBrug should also remedy this issue.

I will still mark it as a bug, because a loss of connection to the database should make the health endpoint return UNHEALTHY, so that container host can restart it.

@MLenterman MLenterman added bug Something isn't working FF! Frank!Framework labels Sep 22, 2023
@Geert-Jan-DH
Copy link
Author

Version in both environments isn't 1.13.4 yet.

@MLenterman
Copy link
Collaborator

@checkiecheck
Copy link
Collaborator

Does this also happen with the the latest (1.13.4) version? This issue is caused by the application running out of memory. The latest version of ZaakBrug includes an upgrade from Java 8 to Java 11. That should should help significantly with memory usage and memory behavior in containerized environments. Alternatively assigning more memory to ZaakBrug should also remedy this issue.

I will still mark it as a bug, because a loss of connection to the database should make the health endpoint return UNHEALTHY, so that container host can restart it.

related to #236 where we'll address more memory settings too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FF! Frank!Framework
Projects
None yet
Development

No branches or pull requests

3 participants