Re: sessions and trans-sid problem/question

From: Date: Fri, 22 Nov 2002 08:44:34 +0000
Subject: Re: sessions and trans-sid problem/question
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-125579@lists.php.net to get a copy of this message
Jason Wong wrote:
If you set it 100, then _every_ request in which sessions are used, PHP has to go through all the session files (by default stored in /tmp) and check whether they have expired. If you have a busy server you could have thousands of session files. Checking thousands of files at each request is very time consuming.
*That* I understand and agree with. What I was more interested in was the "concurrency" aspect. Why setting gc to 100 might cause problems with concurrency. Jc

« previous php.general (#125579) next »