Change to Puma possible

Problem:
Since our upgrade to RHEL 7.9 we have seen a very unstable foreman webapplication (incl proxies) since then because of out of memory errors. As stated in [Foreman cannot fork new processes because it cannot allocate memory].

@ekohl was refering we should use Puma by now. And to my knowledge it is by default on new installations. But what about older installations? I couldn’t find out to change from passenger to puma.

You can explicitly switch with foreman-installer --foreman-passenger false. That will install the right packages (foreman-service + dependencies), start the services (foreman.socket + foreman.service on recent versions, just foreman.service on older ones) and reconfigure Apache to reverse proxy.

3 Likes

Performance have been improved for sure now! Thanks!

1 Like