#28669 [Opn]: Garbage collection doesnot work
ID: 28669
User updated by: liuyi1 at comp dot nus dot edu dot sg
Reported By: liuyi1 at comp dot nus dot edu dot sg
Status: Open
Bug Type: Session related
Operating System: Windows 2000 / Redhat A3
PHP Version: 4.3.6
New Comment:
Description:
------------
I have several friends running my forum system.(www.celestesoft.com)
Two
of my friends got the same session problems under PHP4.3.6. ( both
sites
are under heavy traffic ) They are using default session handler and
default session settings( 1/100 chance to start garbage collector ).
Session files are stored in a specified folder ( not /tmp ) but in
single level ( with no "N;xxx" configured ) . We noticed that session
files are not cleaned automatically. after 3 days, both sites got over
150,000 session files. So now i have to write a cleaner for them to
solve the problem temporarily. meanwhile the sites with PHP 4.3.5 or
other previous verions are running very well.
Sites with this problem
============================
Site 1:
OS: Windows 2000
PHP 4.3.6
Site 2:
OS: Redhat as 3.0
PHP 4.3.6
Sites without this problem
============================
Site 1:
OS: FreeBSD 5.1
PHP 4.3.1
Site 2:
OS: Redhat 9.0
PHP 4.3.5
Site 3:
OS: Redhat 9.0
PHP 4.3.4
Site 4:
OS: Redhat
PHP 4.3.4
Site 5:
OS: Redhat
PHP 4.3.4
All sites are running the same forum system with almost the same
configuration.
Previous Comments:
------------------------------------------------------------------------
[2004-06-07 12:39:39] liuyi1 at comp dot nus dot edu dot sg
Description:
------------
I have several friends running my forum system.(www.celestesoft.com)
Two of my friends got the same session problems under PHP4.3.6. ( both
sites are under heavy traffic ) They are using default session handler
and default session settings( 1/100 chance to start garbage collector
). Session files are stored in a specified folder ( not /tmp ) but in
single level ( with no "N;xxx" configured ) . We noticed that session
files are not cleaned automatically. after 3 days, both sites got over
150,000 session files. So now i have to write a cleaner for them to
solve the problem temporarily. meanwhile the sites with PHP 4.3.5 or
other previous verions are running very well.
Sites with this problem
============================
Site 1:
OS: Windows 2000
PHP 4.3.6
Site 2:
OS: Redhat as 3.0
PHP 4.3.6
Sites without this problem
============================
Site 1:
OS: FreeBSD 5.1
PHP 4.3.1
Site 2:
OS: Redhat 9.0
PHP 4.3.5
Site 3:
OS: Redhat 9.0
PHP 4.3.4
All sites are running the same forum system.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28669&edit=1
Thread (4 messages)