The PHP5 session has a passive recovery mechanism (garbage collection). Expired session file is deleted automatically, but the expired session is processed by triggering the recycle mechanism
Each PHP request, there is a 1/100 chance to trigger the session recovery mechanism,
session.gc_probability = 1
Session.gc_divisor = 100
Expiration time setting of the session
Session.gc_maxlifetime = 1440 (default)
To see if the current session is out of date can be found in the/tmp folder, compared to the time
Encountered a problem, log on to the system has been prompted "login timeout", because the system has been able to run,
So can be introduced because,/tmp under the session_id no recycling caused.
There is another situation when your session.save_path is not in/TMP and may not trigger the session recovery mechanism,
I speculate that the reasons for not being recycled, should be the company's projects are different, but the use of session_id are the same majority, so that the mechanism of recycling can not be recycled currently running session,
My solution is to delete all the files in/TMP and run them with the new session.
About Session, login timeout