Bug 1876525
Summary: | mod_fcgid does not pass more than 64 variables to an FCGI server process environment | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Petr Pisar <ppisar> | |
Component: | mod_fcgid | Assignee: | Luboš Uhliarik <luhliari> | |
Status: | CLOSED ERRATA | QA Contact: | icesalov | |
Severity: | unspecified | Docs Contact: | Lenka Špačková <lkuprova> | |
Priority: | unspecified | |||
Version: | 8.2 | CC: | bnater, icesalov, jorton, luhliari, mkyral, presharm | |
Target Milestone: | rc | Keywords: | AutoVerified, FutureFeature, Triaged | |
Target Release: | 8.4 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Enhancement | ||
Doc Text: |
.The `mod_fcgid` module can now pass up to 1024 environment variables to an FCGI server process
With this update, the `mod_fcgid` module for the Apache HTTP Server can pass up to 1024 environment variables to a FastCGI (FCGI) server process. The previous limit of 64 environment variables could cause applications running on the FCGI server to malfunction.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1958882 (view as bug list) | Environment: | ||
Last Closed: | 2021-05-18 15:53:56 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1958882 |
Description
Petr Pisar
2020-09-07 11:59:06 UTC
The 200+ variables were a result of attempting to deploy dancer-mysql-example template in a project in which other samples had been deployed (for general testing). Retesting in a clean OpenShift project show 57 environment variables present. So this does work right now, but requiring a pristine project isn't optimal, and there isn't much room for future environment growth either. The patch which enabled longer environment variable values mentioned a cost in terms of struct size. What would be the cost of significantly increasing INITENV_CNT? Each variable occupies 320 bytes. Increasing the number of variables from 64 to 1024 would mean 307200 B more memory used by each FCGI server process. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (mod_fcgid bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1880 |