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
sometimes the pypi-server crashes with following exception. This happens when I upload a new version of a package over setup.py. But this happens only when the server was running over some time. When I restart the cotainer it works all well again.
This is likely because of idle connection garbage collection. This can be verified by starting up the server, running a few commands, and waiting more than 15 minutes (Don't let the service touch the database for that time). If after those 15 minutes of idle time you hit the error above, it is likely the garbage collection by either docker or psycopg2. If using Postgres as a backend, you fix this by starting up postgres with tcp_keepalives_idle specified to a time under the 15 minute mark. An example in my k8s deployment is as follows:
Hello,
sometimes the pypi-server crashes with following exception. This happens when I upload a new version of a package over setup.py. But this happens only when the server was running over some time. When I restart the cotainer it works all well again.
BR Marcus
The text was updated successfully, but these errors were encountered: