Fedora 42 Update: php-pecl-apcu-5.1.26-1.fc42

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2025-4f6c59484d
2025-08-15 01:03:42.055470+00:00
--------------------------------------------------------------------------------

Name        : php-pecl-apcu
Product     : Fedora 42
Version     : 5.1.26
Release     : 1.fc42
URL         : https://pecl.php.net/package/APCu
Summary     : APC User Cache
Description :
APCu is userland caching: APC stripped of opcode caching.

APCu only supports userland caching of variables.

The php-pecl-apcu-bc package provides a drop
in replacement for APC.

--------------------------------------------------------------------------------
Update Information:

Version 5.1.26
Fixed hang introduced in apcu 5.1.25, which can occur when defragmentation is
triggered under
load.
Fixed a test on PHP 8.5.
Version 5.1.25
If the cache is full, try to clean up expired entries based on their per-entry
hard TTL even
if the soft apc.ttl is 0. Previously the entire cache was discarded.
If a new entry cannot be inserted due to fragmentation, the cache will be
defragmented,
combining many small free blocks into one big free block by moving around cache
entries.
This avoids the need to discard the entire cache in more cases.
The access time (which is used by the soft apc.ttl) is now also updated when
using
apcu_exists().
apc.entries_hint now defaults to 512 entries per 1MB of shared memory.
Previously the
default was 4096, independent of shm_size. This could lead to a large number of
hash
collisions if shm_size was increased without also increasing entries_hint.
Added apc.mmap_hugepage_size to use huge pages of a certain size for the apcu
shared memory
segment. This requires support for huge pages to be enabled in the kernel. Note
that even if
this option is not set, shared memory is still configured to use transparent
huge pages.
The apc.shm_segments ini option has been removed. Multiple SHM segments are no
longer
supported. (They were already not supported when using mmap, which is the
default mode of
operation)
The apc.smart configuration setting should now work more reliably. Values > 1
can be used
to increase the chance of discarding the entire cache when the amount of memory
freed by
removing expired entries was too small. This could be useful if performance
degrades due to
executing the logic to remove expired entries (+ defragmentation) too frequently
during
periods of high memory usage.
The number of cache cleanups performed (removal of expired entries) is now
available
in the array returned by apcu_cache_info() (via array key "cleanups").
The number of defragmentations performed is now available in the array returned
by
apcu_cache_info() (via array key "defragmentations").
Fixed several issues that caused inserting new entries to fail unexpectedly.
Internal changes:
Fixed -Wclobbered compiler warnings.
All cache data structures are now relocatable, i.e. independent of the base
address of the
cache. This enables defragmentation support.
Hash slots now use doubly linked lists. This is necessary for defragmentation.
--------------------------------------------------------------------------------
ChangeLog:

* Wed Aug  6 2025 Remi Collet <remi@xxxxxxxxxxxx> - 5.1.26-1
- update to 5.1.26
* Tue Jul 29 2025 Remi Collet <remi@xxxxxxxxxxxx> - 5.1.25-1
- update to 5.1.25
- re-license spec file to CECILL-2.1
--------------------------------------------------------------------------------

This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2025-4f6c59484d' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label

All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------

-- 
_______________________________________________
package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]

  Powered by Linux