Skip to content

[BUG] Possible memory leak with Twitcher/Magpie #505

@tlvu

Description

@tlvu

Describe the bug

Twitcher is constantly taking lots of Memory and Cpu.

$ docker logs twitcher thredds
CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS    
4612ca2a1be0        twitcher            87.18%              9.385GiB / 125.8GiB   7.46%               1.04TB / 1.04TB     0B / 0B             51
81aaf9dcbdc8        thredds             71.79%              7.159GiB / 125.8GiB   5.69%               3.45GB / 519GB      0B / 0B             92

We have had a lot of Thredds activity lately so it's normal for the Cpu and Memory consumption to increase for Thredds since it has a caching feature.

But Twitcher saw a proportionally increase which is puzzling to me and stay like this during idle time.

To Reproduce
Steps to reproduce the behavior:

  1. PAVICS deployed at this commit from pour production fork of birdhouse-deploy Ouranosinc/birdhouse-deploy@76dd3c8 which triple Thredds memory.

Expected behavior
Twitcher Cpu and Memory would increase during Thredds transfer/activity but should go down during idle time.

Desktop (please complete the following information):

Metadata

Metadata

Assignees

Labels

bugProblem, error, or invalid behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions