Bug #71349 [Opn]: Garbage collection not running

From: Date: Tue, 12 Jan 2016 12:00:35 +0000
Subject: Bug #71349 [Opn]: Garbage collection not running
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198603@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71349&edit=1 ID: 71349 Updated by: yunosh@php.net Reported by: yunosh@php.net Summary: Garbage collection not running Status: Open Type: Bug Package: Session related Operating System: Linux PHP Version: master-Git-2016-01-12 (Git) Block user comment: N Private report: N New Comment: Test with unit tests: $ sudo pear -d auto_discover=1 install -o -f channel://pear.horde.org/Horde_SessionHandler channel://pear.horde.org/Horde_Db channel://pear.horde.org/Horde_Test $ php $(pear config-get test_dir)/Horde_SessionHandler/Horde/SessionHandler/AllTests.php Previous Comments: ------------------------------------------------------------------------ [2016-01-12 11:03:48] yunosh@php.net Description: ------------ Looks like the GC settings don't work properly, or GC doesn't work at all on 7.1.0-dev. Test script: --------------- ini_set('session.gc_probability', 100); ini_set('session.gc_divisor', 1); ini_set('session.gc_maxlifetime', -1); session_name('sessionname'); @session_start(); Expected result: ---------------- All sessions should be GC'ed Actual result: -------------- They aren't. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71349&edit=1

« previous php.bugs (#198603) next »