ID: 50733
Updated by: [email protected]
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