#28669 [Opn]: Garbage collection doesnot work

2004-06-07 Thread liuyi1 at comp dot nus dot edu dot sg
 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


#28669 [NEW]: Garbage collection doesnot work

2004-06-07 Thread liuyi1 at comp dot nus dot edu dot sg
From: liuyi1 at comp dot nus dot edu dot sg
Operating system: Windows 2000 / Redhat A3
PHP version:  4.3.6
PHP Bug Type: Session related
Bug description:  Garbage collection doesnot work

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 bug report at http://bugs.php.net/?id=28669&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28669&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28669&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28669&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28669&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28669&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28669&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28669&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28669&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28669&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28669&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28669&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28669&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28669&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28669&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28669&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28669&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28669&r=float