Project

General

Profile

Actions

Bug #18146

closed

katello does not set Xmx setting in tomcat.conf, leading to possible OOMs

Added by Chris Duryee almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Fixed in Releases:
Found in Releases:

Description

By default, the JVM will use up to 25% of total system memory for its heap space. Normally this is not an issue since candlepin stays below that amount, but there are situations where it can use quite a bit of memory.

Without the Xmx setting for JAVA_OPTS in tomcat.conf, the JVM does not know that it should cap its heap space usage for system stability purposes. Eventually, this will lead to OOMs.

Ideally, this can be something configurable via the installer, with a default of 6GB. Note that this is just a cap, it won't use 6GB on startup.

Actions

Also available in: Atom PDF