Manual configuration settings for kernel_shmmax and kernel_shmall are ignored on postgresql deployments

Bug #1265658 reported by Chad Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgresql (Juju Charms Collection)
Fix Released
Undecided
Chad Smith

Bug Description

When performance_tuning is set to either "auto" or "manual", any juju config settings for kernel_shmmax and kernel_shmall are ignored. When writing the sysctl file /etc/sysctl.d/50-postgresql.conf, any manual settings for kernel_shmmax or kernel_shmall should override guesses during performance_tuning= "auto". If performance_tuning is set to "manual" those shmmax and shmall values should be written to this file as well.

 Although juju configuration parameter kernel_shmall is specified in terms of bytes, it should be written in terms of number of pages when creating /etc/sysctl.d/50-postgresql.conf.

Related branches

Chad Smith (chad.smith)
Changed in postgresql (Juju Charms Collection):
assignee: nobody → Chad Smith (chad.smith)
description: updated
description: updated
Changed in postgresql (Juju Charms Collection):
status: New → In Progress
Chad Smith (chad.smith)
Changed in postgresql (Juju Charms Collection):
status: In Progress → Confirmed
status: Confirmed → Fix Committed
Stuart Bishop (stub)
Changed in postgresql (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.