#50733 [Opn->Fbk]: Garbage Collection fails

From: Date: Tue, 12 Jan 2010 22:07:24 +0000
Subject: #50733 [Opn->Fbk]: Garbage Collection fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-146592@lists.php.net to get a copy of this message
ID: 50733 Updated by: derick@php.net Reported By: elmex at voll dot in -Status: Open +Status: Feedback Bug Type: Session related Operating System: FreeBSD 6.1 PHP Version: 5.2.12 New Comment: Can you post the other session related settings a well? Previous Comments: ------------------------------------------------------------------------ [2010-01-12 21:32:36] elmex at voll dot in Description: ------------ The Garbage Collection ist set to session.gc_maxlifetime=1440, but there are a lot of session files set are older. In all hosts on the server there is a virtual host setting for session.save_path like session.save_path="/usr/local/www/hostname/phptmp". That is the only session related setting, that was modified. A find for the files shows currently: find /usr/local/www/ -maxdepth 3 -mindepth 3 -name 'sess_*' -cmin +24 | wc -l 8443 (amin is the same:) find /usr/local/www/ -maxdepth 3 -mindepth 3 -name 'sess_*' -amin +24 | wc -l 8443 Reproduce code: --------------- no code, just settings Expected result: ---------------- session files should be deleted after session.gc_maxlifetime or earlier Actual result: -------------- session files are not deleted or deleted too late ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50733&edit=1

« previous php.bugs (#146592) next »