[ZBX-4322] sessions table not cleared Created: 2011 Nov 06 Updated: 2017 May 30 Resolved: 2012 Feb 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.8 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Robert Jerzak | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | database, housekeeper | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Table 'sessions' is not properly cleared: > select count
----------
---------- Oldest record in our system is from 06 Nov 2010: > select * from sessions order by lastaccess limit 2;
---------------------------------
--------------------------------- Is there any place to configure clearing sessions behavior? |
Comments |
Comment by richlv [ 2011 Nov 06 ] | ||||
what is auto-logout set to for user with id 19, for example ? | ||||
Comment by Robert Jerzak [ 2011 Nov 06 ] | ||||
No, user with id 19 has no option 'Auto-logout' enabled. Does it mean that sessions for this user are never expired? | ||||
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 15 ] | ||||
Hi, According to the source code, Zabbix housekeeper should delete session that are older than 1 year, not depending on the settings for the "Auto-logout" option. <zalex> I can confirm this behavior:
--------------
-------------- Debuglog: | ||||
Comment by Alexei Vladishev [ 2012 Feb 25 ] | ||||
I am closing it, nothing to fix here. |