Landscape 23.03 memory leak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
In two independent environments, I observed Landscape 23.03 version memory consumption grows constantly.
These two environments have HA setup with 3 Landscape server units on three VMs for each setup.
I'm attaching "Used Memory" graphs from Grafana. It is seen that memory usage constantly grows, then landscape services get restarted whether manually by an operator or the process just got killed because of OOM error.
The landscape-appserver process is the most memory consuming, and by restarting it I can free up memory which is enough for a week or more.
For the environment from 1.png installed packages are:
```
landscape-client 23.02+git6242-
landscape-common 23.02+git6242-
landscape-hashids 22.10+7-
landscape-server 23.03+9-0landscape0 amd64
```
For the environment from 2.png installed packages are:
```
landscape-client 23.02+git6277-
landscape-common 23.02+git6277-
landscape-hashids 22.10+8-landscape1 all
landscape-server 23.03+12.
```
Please tell if I can provide any other helpful information.
Best Regards,
Aliaksandr Vasiuk.
information type: | Proprietary → Public |
In version +13, released end of June 2023. A fix has been added https:/ /code.launchpad .net/~mitchburt on/landscape/ +git/landscape/ +merge/ 445148 which restarts the services automatically without any interaction, when memory usage is above a certain limit. This can be configurable in the settings conf