Hi,
I tried to reproduce (thanks for the detailed steps), but there seems to be a 
bit missing.
Obviously with handler set to files it is working.
When switching to memcache as instructed I get:
  PHP Warning:  session_start(): Cannot find save handler 'memcache' - session 
startup failed in /root/session.php on line 2

Not good, but also not your case with the OOM.

Memcached is running in default mode as on a fresh install:
● memcached.service - memcached daemon
   Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Mon 2017-02-06 10:32:51 UTC; 3min 33s ago
 Main PID: 24033 (memcached)
   CGroup: /system.slice/memcached.service
           └─24033 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1

I've thrown the php modules at it via:
apt-get install php-memcache php-memcached

But then I get:
$ php session.php 
PHP Warning:  Unknown: Failed to write session data (memcache). Please verify 
that the current setting of session.save_path is correct 
(tcp://127.0.0.1:11211,tcp://127.0.0.1:11212) in Unknown on line 0

Sorry I'm not a php/memcache expert trying to reproduce/verify your issue.
Do you know the missing bits that will get my env into your state?

** Changed in: php7.0 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1661580

Title:
  Out of memory session_start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1661580/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to