You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this happens, all the REANA components that depend on the database get stuck. As an example, the REST API of r-server will stop replying, and the logs will show:
*** uWSGI listen queue of socket "127.0.0.1:45841" (fd: 3) full !!! (100/100) ***
*** uWSGI listen queue of socket "127.0.0.1:45841" (fd: 3) full !!! (101/100) ***
*** uWSGI listen queue of socket "127.0.0.1:45841" (fd: 3) full !!! (101/100) ***
[...]
Note that these error messages might appear after many minutes, when the connections queue is full. In the meantime, nothing is printed to the logs, which makes it difficult to understand what is going wrong. As an example, one might think that the server is not reachable, maybe due to Ingresses that are not configured correctly.
Also note that in this case the components do not self-heal and a restart of the pod is needed.
We should improve this, maybe by tweaking the configuration to put a timeout on database connections, so that we can at least return a 500 error in a timely manner and if possible self-heal when the database is back online.
The text was updated successfully, but these errors were encountered:
It can happen that connecting to external database takes a long time or never completes:
When this happens, all the REANA components that depend on the database get stuck. As an example, the REST API of r-server will stop replying, and the logs will show:
Note that these error messages might appear after many minutes, when the connections queue is full. In the meantime, nothing is printed to the logs, which makes it difficult to understand what is going wrong. As an example, one might think that the server is not reachable, maybe due to Ingresses that are not configured correctly.
Also note that in this case the components do not self-heal and a restart of the pod is needed.
We should improve this, maybe by tweaking the configuration to put a timeout on database connections, so that we can at least return a 500 error in a timely manner and if possible self-heal when the database is back online.
The text was updated successfully, but these errors were encountered: