Change in ovirt-engine[ovirt-engine-3.3]: core: Set min connection pool size to 1

iheim at redhat.com iheim at redhat.com
Mon Nov 18 13:06:52 UTC 2013


Itamar Heim has submitted this change and it was merged.

Change subject: core: Set min connection pool size to 1
......................................................................


core: Set min connection pool size to 1

In a previous patch we changed the default minimum database connection
pool size to 75 (it used to be 1). This was done in order to have
database connections ready from the very beginning and thus improve
performance. But in practice this means that 75 PostgreSQL processes are
created wether they are needed or not. These consume approx 2.1 GiB of
RAM. In machines with a total of 4 GiB this evantually triggers the out
of memory killer of the kernel, which will in turn select the process
that is using more memory, which usually happens to be the engine
itself, so it is killed. This patch changes the default minimum size
back to 1 to avoid this issue.

Change-Id: I9de2c9e6999cb22a4be99eabb66a7216e673d0d2
Bug-Url: https://bugzilla.redhat.com/1026100
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M packaging/services/ovirt-engine/ovirt-engine.conf.in
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Itamar Heim: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21353
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9de2c9e6999cb22a4be99eabb66a7216e673d0d2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list