Problem/Motivation

The displayed total memory and percentage under "APCu cache" is incorrect, it displays and calculates using the free memory instead of total memory.

e.g. when apc.shm_size=10G

Memory used

1.35GB (14.45%) used of 9.38GB

When the cache fills up, the percentage goes over 100%, when it's completely full it goes into thousands.

This is still with 10G shm_size:

5.45GB (103.31%) used of 5.28GB

Comments

jjakob created an issue. See original summary.

  • 27442720 committed on 1.0.x
    Issue #3503327: Fix APCu total memory using avail_mem (free) instead of...
cyoun’s picture

Issue #3503327: Fix APCu total memory using avail_mem (free) instead of seg_size * num_seg.

cyoun’s picture

Version: 1.2.0 » 1.4.1
Assigned: Unassigned » cyoun
Status: Active » Fixed

Issue #3503327: Fix APCu total memory using avail_mem (free) instead of seg_size * num_seg.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.