WebUI 9.5.5 - Memory Will Not Scale

I noticed this on my development install in the service-app.log, and then found it on my production install as well. It seems to only be logged upon start of the service:

Wed, 27 Dec 2017 15:04:33 GMT bf:appmonitor:debug POST https://bfx.fqdn.com:52315/api/webui-app-credentials
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Wed, 27 Dec 2017 15:04:33 GMT bf:appmonitor:debug Starting swd 0.2.2 on port 5008

My WebUI is on its own server, not on the BES, matches the OS of the BES and has 8GB of memory. We have under 10K endpoints and fewer than 10 concurrent users on the WebUI.

Is this something I should be concerned over?

1 Like

Hi @AlexaVonTess!

Yes we’re well aware of this and tracking it internally. Its not something you should worry about.
Essentially as user sessions expire - they are not cleaned up properly by the library that we’re using - which just means that we have to do some manual work to remediate.

Ideally the library maintainer (Connect in this case) would remove the warning message and simply solve the problem themselves. For now we are manually destroying sessions as they expire.

There is some discussion on the topic here: https://stackoverflow.com/questions/10760620/using-memorystore-in-production

3 Likes

Thanks Kevin!

I imagine it also helps that the WebUI is generally used by 100’s of users and not thousands or millions, so the potential concern of this is less as well.