Bug #71349 [NEW]: Garbage collection not running

From: Date: Tue, 12 Jan 2016 11:03:52 +0000
Subject: Bug #71349 [NEW]: Garbage collection not running
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198600@lists.php.net to get a copy of this message
From:             yunosh
Operating system: Linux
PHP version:      master-Git-2016-01-12 (Git)
Package:          Session related
Bug Type:         Bug
Bug description:Garbage collection not running

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 bug report at https://bugs.php.net/bug.php?id=71349&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71349&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71349&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71349&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71349&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71349&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71349&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71349&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71349&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71349&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71349&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71349&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71349&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71349&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71349&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71349&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71349&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71349&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71349&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71349&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71349&r=mysqlcfg



Thread (6 messages)

« previous php.bugs (#198600) next »