Set the kernel SHMMAX parameter if one is defined for the host
set a kernel shmmax value for anitya-backend

Info: http://www.postgresql.org/docs/9.1/static/kernel-resources.html
(see the Linux section about half way through)

Calculation: for 1G available: 2097152 * 2048
Drop changing the kernel shmmax value; handled in postgresql_server