Add Docker Env Variable for ServerLimit (Repost from CMS Help)

CMS Version

3.3.9

Installation Method

Docker

Operating System

RHEL9

Issue

The Apache ServerLimit for the Xibo CMS is currently limited to 256 and cannot be changed outside of the Docker container. This means that if you set ‘CMS_APACHE_MAX_REQUEST_WORKERS’ to be anything above 256, it will ignore the value and cap it at 256.

Proposal

Three options:

  1. Permanently set the ServerLimit in /var/www/cms/web/mpm_prefork.conf to be at least 512 or 1024, and do not let this value be changed
  2. Set this value to be the same as MaxRequestWorkers and share the same environment variable
  3. Add a new environment variable called CMS_SERVERLIMIT and allow it to be set from the docker-compose.yml file

Thank you!