Hi, Thanks for trying to reproduce. Unfortunately I don't know why you're not running into the issue. I just tried to reproduce with a fresh install and could reproduce it without issues. I used the following steps:
apt-get update apt-get install php-common php-memcache php-cli (create the session.php) # php session.php Works without issue. Now in '/etc/php/7.0/cli/php.ini' I changed session.save_handler to 'memcache' and added session.save_path = "tcp://127.0.0.1:11211,tcp://127.0.0.1:11212", after which the issue is present: # php session.php mmap() failed: [22] Invalid argument mmap() failed: [22] Invalid argument PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 18446744073709551394 bytes) in /root/session.php on line 2 Can you confirm you're using version 7.0.13-0ubuntu0.16.04.1 of the PHP packages? I didn't have memcache installed for this test, installing it makes no difference either. -- 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