modifications and additions of code in response to OSG Software-1478.
These changes should limit gratia_web to two processes by default.