INDIGO-Initiative / database-app

MIT License
2 stars 1 forks source link

requirements: vagrant: docker: Switch Vagrant to Docker, upgrade Stack, Python & Libs #155

Closed odscjames closed 1 year ago

odscjames commented 1 year ago

Upgrade Ubuntu stack, 20 to 22

Upgrade Python to 3.9. (3.10 had a memory leak on server)

Perform minimal python dependency upgrades, as this may be were memory leak was.

Set gunicorn max-requests to make sure memory is reclaimed.

odscjames commented 1 year ago

Sorry @Lathrisk need to do again - something in the one you reviewed was causing memory leaks. We went down to Python 3.9, made sure any upgrades to the Python dependencies was minimal and added some settings to Gunicorn in the Procfile to make sure workers are recycled.

odscjames commented 1 year ago

closing in favour of something else