[MXS-387] Optimize session history. Created: 2015-09-28  Updated: 2017-03-15  Resolved: 2017-03-15

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Johan Wikman Assignee: markus makela
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-301 Do not limit setting session paramete... Closed

 Description   

When MaxScale is used from PHP the sessions are kept alive by PHP and hence are quite long, which causes the session history to grow quite big. So big that it is often taken as a sign of MaxScale leaking memory.

Earlier MaxScale closed the connection when the history grew larger than a specified limit. With recent changes, the history is turned off, which means that for that particular session only those slaves that have been used, can be used. If one of those goes down, then there is one slave less and another cannot be used.

If there is duplication in the session history of a form that could be folded, then it might be possible to make the growth of the session history slower, perhaps so that it after a certain point no longer grows.



 Comments   
Comment by markus makela [ 2017-03-15 ]

Duplicates MXS-301.

Generated at Thu Feb 08 03:58:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.