Manual configuration settings for kernel_shmmax and kernel_shmall are ignored on postgresql deployments
Bug #1265658 reported by
Chad Smith
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.
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.
Related branches
lp://qastaging/~chad.smith/charms/precise/postgresql/postgresql-manual-tune-kernel-params-fix
- Stuart Bishop (community): Approve
- David Britton (community): Approve
-
Diff: 1001 lines (+545/-86)7 files modifiedMakefile (+9/-0)
README.md (+14/-0)
config.yaml (+23/-15)
hooks/hooks.py (+143/-70)
hooks/test_hooks.py (+354/-0)
revision (+1/-0)
templates/postgresql.conf.tmpl (+1/-1)
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 |
Changed in postgresql (Juju Charms Collection): | |
status: | In Progress → Confirmed |
status: | Confirmed → Fix Committed |
Changed in postgresql (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.