Bug 1202500
| Summary: | PHP cart apc.shm_size discrepancies | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | ImageStreams | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | adellape, cryan, dma, gpei, jokerman, libra-bugs, libra-onpremise-devel, maszulik, mmccomas, pruan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-origin-cartridge-php-1.31.4.1-1.el6op | Doc Type: | Bug Fix |
| Doc Text: |
For applications using the PHP cartridge, previously the apc.shm_size value was calculated incorrectly. Memory was being divided by 16 instead of by 8. This bug fix updates the PHP cartridge, and as a result the apc.shm_size value is now calculated correctly. After applying this update, a cartridge upgrade is required.
|
Story Points: | --- |
| Clone Of: | 1193193 | Environment: | |
| Last Closed: | 2015-04-06 17:06:41 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: | 1193193 | ||
| Bug Blocks: | |||
|
Description
Brenton Leanhardt
2015-03-16 18:42:07 UTC
Verify this bug with openshift-origin-cartridge-php-1.31.4.2-1.el6op.noarch Checked php-5.3 and php-5.4 cartridge, apc.shm_size was setting as 1/8 of OPENSHIFT_GEAR_MEMORY_MB. With memory_limit_in_bytes=1073741824 setting in /etc/openshift/resource_limits.conf, create a php cartridge. [php1-123.ose22-manual.com.cn 123-php1-1]\> env|grep OPENSHIFT_GEAR_MEMORY_MB OPENSHIFT_GEAR_MEMORY_MB=1024 [php1-123.ose22-manual.com.cn 123-php1-1]\> php -i |grep apc.shm_size apc.shm_size => 128M => 128M 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, 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://rhn.redhat.com/errata/RHBA-2015-0779.html |