Project

General

Profile

Feature #20889

Make it possible to install Foreman's httpd with mpm_event

Added by Ewoud Kohl van Wijngaarden almost 5 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1463489

Description of problem:
We did some measurement for number of concurrent registrations with Satellite on default mpm_prefork vs. mpm_event and with mpm_event, we saw significant saving in RSS memory consumed by httpd processes.

Version-Release number of selected component (if applicable):
Satellite 6.2.9

How reproducible:
always

Steps to Reproduce:
1. measure RSS usage of all httpd processes together with default (currently
mpm_prefork) setting during concurrent registration of 140 hosts
2. measure RSS usage of all httpd processes together with mpm_event setting
configured during concurrent registration of 140 hosts

Actual results:
RSS memory usage in first case was about 2 GB, in second case 760 MB.

Additional info:
As discussed, it is important to carefully sanity-test Satellite in regards of functionality and performance.

Associated revisions

Revision 4da2dee8 (diff)
Added by Ewoud Kohl van Wijngaarden almost 5 years ago

Fixes #20889 - Use the Apache MPM event worker

Revision 640dfc6b (diff)
Added by William Clark about 2 months ago

Fixes #20889 - Use event mpm module with Apache

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman-installer/pull/241 added

#2 Updated by Ewoud Kohl van Wijngaarden almost 5 years ago

  • Subject changed from make it possible to install Satellite's httpd with mpm_event to make it possible to install Satellite's httpd with mpm_event
  • Status changed from Ready For Testing to Resolved
  • Legacy Backlogs Release (now unused) set to 296

#3 Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

  • Triaged set to No
  • Target version deleted (1.17.0)
  • Status changed from Resolved to Closed

#4 Updated by Evgeni Golov 7 months ago

  • Assignee deleted (Ewoud Kohl van Wijngaarden)
  • Status changed from Closed to New
  • Subject changed from make it possible to install Satellite's httpd with mpm_event to make it possible to install Foreman's httpd with mpm_event

Re-opening this, as the change that closed this issue was reverted in https://github.com/theforeman/foreman-installer/commit/0ed45f776fdbeb5d5dc814ffeab355da6aefce51

All supported Debian and Ubuntu releases, and EL8 have a sufficiently new Apache httpd, so the only outliner now is EL7.

It was discussed to make it "event" by default, and only use "prefork" for EL7.

#5 Updated by The Foreman Bot 4 months ago

  • Assignee set to William Clark
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/753 added

#6 Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases 3.3.0 added

#7 Updated by William Clark about 2 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Amit Upadhye about 2 months ago

  • Subject changed from make it possible to install Foreman's httpd with mpm_event to Make it possible to install Foreman's httpd with mpm_event

Also available in: Atom PDF