From:             elmex at voll dot in
Operating system: FreeBSD 6.1
PHP version:      5.2.12
PHP Bug Type:     Session related
Bug description:  Garbage Collection fails

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

Reply via email to