#19335 [NEW]: Garbage collection performance issue. gc_probability should be float not int
| From: | tomek at allegro dot pl | Date: | Tue, 10 Sep 2002 14:47:54 +0000 |
| Subject: | #19335 [NEW]: Garbage collection performance issue. gc_probability should be float not int | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18931@lists.php.net to get a copy of this message | ||
From: tomek@allegro.pl
Operating system: FreeBSD 4.5
PHP version: 4.2.2
PHP Bug Type: Session related
Bug description: Garbage collection performance issue. gc_probability should be float not int
We're running a rather large PHP site (97 million pageviews in August). We
try to minimize the number of open sessions by using session_start only if
required. However we still have ~25,000 open sessions peak. With
gc_probability set to 1, our server dies.
Currently I solved it by setting gc_probability to 0 and running find
-amin +10 -delete from cron, however it would be nice if gc_probability
could have a float value (say 0.1 or 0.01).
Regards,
Tomek
--
Edit bug report at http://bugs.php.net/?id=19335&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19335&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19335&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19335&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19335&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19335&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19335&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19335&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19335&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19335&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19335&r=globals