[ZBX-2562] sessions not properly cleared up Created: 2010 Jun 17 Updated: 2017 May 30 Resolved: 2010 Jun 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
"sessions" table can grow indefinitely, old sessions are not deleted. my test system, for example, has 314398 records in that table. |
Comments |
Comment by richlv [ 2010 Jun 18 ] |
turns out that inactive sessions are never removed by frontend, and each login creates new session. inactive session count grows a lot. to solve the problem, upon logout frontend should first remove all inactive sessions, then set the current session to inactive (so that the last session stays there for "last access" information) |
Comment by richlv [ 2010 Jun 29 ] |
seems to work as expected |