Permalink
Browse files

No need for sysctl file with Salt's sysctl state functions

  • Loading branch information...
1 parent b65c410 commit 89b9251ac6c4f23d94a35e4e88eac8b37568eeb8 @rca rca committed Mar 14, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −12 files/etc/sysctl.d/30-postgresql-shm.conf
@@ -1,12 +0,0 @@
-# Shared memory settings for PostgreSQL
-
-# Note that if another program uses shared memory as well, you will have to
-# coordinate the size settings between the two.
-
-# Maximum size of shared memory segment in bytes
-# manual testing showed this number was 1.1X the shared_buffers setting in postgresql.conf file.
-kernel.shmmax = <%= "%.0f" % [[system_memory.to_f / 4, 1024**3 * 8].min * 1.1] %>
-
-# Maximum total size of shared memory in pages (normally 4096 bytes)
-#kernel.shmall = 2097152
-

0 comments on commit 89b9251

Please sign in to comment.