memcached fails when more than one backend server is configured.

Bug #1656023 reported by Clint Armstrong
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-memcache (Ubuntu)

Bug Description

Please see upstream php bug report:

And the associated memcache bug report, which includes a patch:

If more than one backend servers are configured, memcache tries to allocate 2^64 bytes of memory and fails.

This issue manifest itself after the release of php 7.0.13.

Description: Ubuntu 16.04.1 LTS
Release: 16.04

  Installed: 3.0.9~20151130.fdbd46b-2

  Installed: 7.0.13-0ubuntu0.16.04.1

  Installed: 7.0.13-0ubuntu0.16.04.1

From php error log:
[12-Jan-2017 08:54:10 America/New_York] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 18446744073709551612 bytes) in /var/www/index.php on line 18

Tags: patch
no longer affects: php-memcached (Ubuntu)
Revision history for this message
Clint Armstrong (clint-f) wrote :

This patch fixes the issue.

description: updated
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "00_session_parse_fix.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers