[Pkg-php-pecl] Bug#870839: php-memcached: persistent connections for memcached session handler fail

Valentin Vidic Valentin.Vidic at CARNet.hr
Sat Aug 5 17:31:12 UTC 2017


Package: php-memcached
Version: 3.0.1+2.2.0-1
Severity: normal

Dear Maintainer,

Basic configuration for memcached session works without problems:

  session.save_handler = memcached
  session.save_path = "localhost:11211"

But turning on persistent connections breaks this module:

  memcached.sess_persistent = On

First request using the session works fine. The second request
fails and segfault appears in error.log:

  [Sat Aug 05 19:21:28.163528 2017] [core:notice] [pid 641] AH00052: child pid 656 exit signal Segmentation fault (11)

All further requests hang and fail after a timeout in session_start:

  [Sat Aug 05 19:21:37.774277 2017] [:error] [pid 657] [client ::1:56634] PHP Warning:  session_start(): Unable to clear session lock record in /var/www/html/session.php on line 7

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-memcached depends on:
ii  libapache2-mod-php7.0 [phpapi-20151012]  7.0.19-1
ii  libc6                                    2.24-11+deb9u1
ii  libmemcached11                           1.0.18-4.1
ii  libmemcachedutil2                        1.0.18-4.1
ii  libsasl2-2                               2.1.27~101-g0780600+dfsg-3
ii  php-common                               1:49
ii  php-igbinary                             2.0.1-1
ii  php-msgpack                              2.0.2+0.5.7-1
ii  php7.0-cli [phpapi-20151012]             7.0.19-1
ii  php7.0-phpdbg [phpapi-20151012]          7.0.19-1
ii  ucf                                      3.0036
ii  zlib1g                                   1:1.2.8.dfsg-5

php-memcached recommends no packages.

php-memcached suggests no packages.

-- no debconf information



More information about the Pkg-php-pecl mailing list