Bug #73728 [NEW]: out of memory while doing session_start(session handler memcache)
| From: | mahesh dot patade at network18tech dot com | Date: | Tue, 13 Dec 2016 06:03:24 +0000 |
| Subject: | Bug #73728 [NEW]: out of memory while doing session_start(session handler memcache) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-205947@lists.php.net to get a copy of this message | ||
From: mahesh dot patade at network18tech dot com
Operating system: CentOS 6.5
PHP version: 7.0.14
Package: Session related
Bug Type: Bug
Bug description:out of memory while doing session_start(session handler memcache)
Description:
------------
PHP Version details:
php-7.0.14-1.el6.remi.x86_64
php-cli-7.0.14-1.el6.remi.x86_64
php-common-7.0.14-1.el6.remi.x86_64
php-devel-7.0.14-1.el6.remi.x86_64
php-gd-7.0.14-1.el6.remi.x86_64
php-imap-7.0.14-1.el6.remi.x86_64
php-json-7.0.14-1.el6.remi.x86_64
php-mbstring-7.0.14-1.el6.remi.x86_64
php-mcrypt-7.0.14-1.el6.remi.x86_64
php-mysqlnd-7.0.14-1.el6.remi.x86_64
php-odbc-7.0.14-1.el6.remi.x86_64
php-pdo-7.0.14-1.el6.remi.x86_64
php-pear-1.10.1-8.el6.remi.noarch
php-pear-Auth-SASL-1.0.6-1.el6.remi.noarch
php-pear-Mail-1.3.0-1.el6.remi.noarch
php-pear-Net-SMTP-1.7.2-1.el6.remi.noarch
php-pear-Net-Socket-1.0.14-1.el6.remi.noarch
php-pecl-apcu-5.1.7-1.el6.remi.7.0.x86_64
php-pecl-apcu-bc-1.0.3-1.el6.remi.7.0.x86_64
php-pecl-igbinary-2.0.0-1.el6.remi.7.0.x86_64
php-pecl-mailparse-3.0.2-1.el6.remi.7.0.x86_64
php-pecl-memcache-3.0.9-0.7.20161124gitdf7735e.el6.remi.7.0.x86_64
php-pecl-msgpack-2.0.2-1.el6.remi.7.0.x86_64
php-pecl-redis-3.0.0-1.el6.remi.7.0.x86_64
php-pecl-zip-1.13.5-1.el6.remi.7.0.x86_64
php-process-7.0.14-1.el6.remi.x86_64
php-soap-7.0.14-1.el6.remi.x86_64
php-xml-7.0.14-1.el6.remi.x86_64
php-xmlrpc-7.0.14-1.el6.remi.x86_64
List of modules:
apc
apcu
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
imap
json
libxml
mailparse
mbstring
mcrypt
memcache
msgpack
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
PHP.INI
session.save_handler = memcache
session.save_path =
"tcp://172.29.31.11:11211,tcp://172.29.31.15:11211,tcp://172.29.31.16:11211,tcp://172.29.31.17:11211,tcp://172.29.31.18:11211,tcp://172.29.31.19:11211,tcp://172.29.31.20:11211,tcp://172.29.31.111:11211,tcp://172.29.31.112:11211,tcp://172.29.31.113:11211,tcp://172.29.31.114:11211,tcp://172.29.31.115:11211,tcp://172.29.31.116:11211,tcp://172.29.31.117:11211,tcp://172.29.31.118:11211,tcp://172.29.31.119:11211,tcp://172.29.31.120:11211,tcp://172.29.31.121:11211"
Test script:
---------------
While setting simple session we are getting 500 with below error.
<?php session_start(); ?>
PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate
18446744073709551612 bytes) in
--
Edit bug report at https://bugs.php.net/bug.php?id=73728&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73728&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73728&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73728&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73728&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73728&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73728&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73728&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73728&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73728&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73728&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73728&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73728&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73728&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73728&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73728&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73728&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73728&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73728&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73728&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73728&r=mysqlcfg