[PHP] setting session.gc_probability

2001-05-23 Thread Johnson, Kirk

OK, we're having an argument in our shop. This is what the manual says about
garbage collection:

session.gc_probability specifies the probability that the gc (garbage
collection) routine is started on each request in percent. Defaults to 1.

Somebody here says that a value of 1 means 100%, i.e., that this value is
really a proportion and not a percent; a value of 1 means garbage
collection is launched on every page request.

I say that a value of 1 means garbage collection is launched on 1 out of
every 100 page requests, i.e., it truly is a percent.

Can anybody confirm the correct interpretation?

TIA

Kirk 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] setting session.gc_probability

2001-05-23 Thread Joseph Blythe

Johnson, Kirk wrote:

 I say that a value of 1 means garbage collection is launched on 1 out of
 every 100 page requests, i.e., it truly is a percent.

This has been discussed before try searching the list archives, although 
I believe you are correct in your assumption.

Regards,

Joseph




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]