[MXS-1165] MaxInfo eat too much memory when getting list of session and client. Created: 2017-03-06  Updated: 2017-03-07  Resolved: 2017-03-07

Status: Closed
Project: MariaDB MaxScale
Component/s: maxinfo
Affects Version/s: 2.1.0
Fix Version/s: 2.1.1

Type: Bug Priority: Major
Reporter: Viktor Nguyen Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None
Environment:

centos 6.7 x64


Sprint: 2017-29

 Description   

Hi, I'm using maxscale 2.1 in centos 6.7
Just added MaxInfo and tested some query.

Queries to service, status seem OK but when I queried to sessions and clients the query hang and cause the maxscale process be killed by linux OOM
Pls fix it.
Thanks



 Comments   
Comment by Esa Korhonen [ 2017-03-07 ]

This is now fixed in the sense that it no longer crashes. However, the printing is still very inefficient and prints the same sessions multiple times. The code should be refactored.

Generated at Thu Feb 08 04:04:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.