[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.
slows down dashboard & bad otherwise



 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.
if user has disabled housekeeper in zabbix server, old sessions are never removed.

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

Generated at Thu May 02 00:34:38 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.