Project

General

Profile

Bug #18146

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

Added by Chris Duryee over 5 years ago. Updated almost 4 years ago.

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

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.

Associated revisions

Revision da68e6b3 (diff)
Added by Chris Roberts over 4 years ago

Fixes #18146 - add mem/params to tomcat.conf

History

#1 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by The Foreman Bot over 4 years ago

  • Assignee set to Chris Roberts
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/puppet-candlepin/pull/86 added

#3 Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/puppet-candlepin/pull/86 added

#4 Updated by Chris Roberts over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#5 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) deleted (114)

#6 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 329

Also available in: Atom PDF