Restart uWSGI when RSS hits 500 megabytes
Restart uWSGI when RSS hits 500 megabytes

uWSGI worker processes seem to grow until they hit allocation limits.
It is not known why this happens, but restarting the worker when they
hit 500MB RSS removes some memory pressure on servers.

City-of-Helsinki/smbackend,City-of-Helsinki/smbackend