php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77180 5.1.13 random errors
Submitted: 2018-11-20 13:32 UTC Modified: 2021-06-22 12:20 UTC
From: spam2 at rhsoft dot net Assigned: cmb (profile)
Status: Closed Package: APC (PECL)
PHP Version: 7.2.12 OS: Fedora 28
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: spam2 at rhsoft dot net
New email:
PHP Version: OS:

 

 [2018-11-20 13:32 UTC] spam2 at rhsoft dot net
Description:
------------
given that 5.1.12 was runnign the same setups over weeks with no reloads it seems some optimizations in the new version reduced stability

APCu is heavily used here for all sort of short TTL caching

----------------------

first at morning one machine got flooded with the same error and i thought it maybe because around 7 MB is large and shm-size only 64 MB

'cl_cache::write_shm_private()' failed - key: 'cl_pri_37747663f4c5fbd3fc4173ab9ed1297e7d7fc4f5sap_portal_ws10_m013_0', length: '7683806', content: 'a:1:

----------------------

apc.gc_ttl = 600
apc.shm_size = 512M
apc.entries_hint = 35000

APCU-Size:  7,27 MB
APCU-Hits:  116630 (2.4/Sek)
APCU-Count: 1375

i can't imagine why that could happen even given that apcu suffers from fragmentation - not after a few hours when it previously did work over days under every load

cl_cache::write_shm()' failed - key: 'content_2_19_0', length: '4179', content: 'Array




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-21 09:58 UTC] remi@php.net
Please test release 5.1.14
 [2018-11-25 12:24 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2018-11-25 13:12 UTC] spam2 at rhsoft dot net
https://github.com/krakjoe/apcu/issues/347#issuecomment-441128503
 [2018-11-25 14:05 UTC] cmb@php.net
-Status: Feedback +Status: Open
 [2021-06-22 12:20 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-22 12:20 UTC] cmb@php.net
The bug tracker of APCu has been moved to Github[1].
If you stll experience this issue with the latest APCu
release (5.1.20), please report the issue there.

[1] <https://github.com/krakjoe/apcu/issues>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 07:01:28 2024 UTC