panel icon indicating copy to clipboard operation
panel copied to clipboard

Memory Leak caused by too many files/directory (Wings)

Open Loupric opened this issue 3 months ago • 3 comments

Current Behavior

Hello, I have a massive memory leak with Wings(latest version) when we have a server with a lot of files.

Expected Behavior

As soon as we have a server with a lot of files (minecraft with a dynmap for example), wings uses a lot of RAM (cache) without clearing it, restarting wings is of no use, as soon as it is turned back on, the memory fills up until it reaches saturation point. the machine.. (32G/32G of RAM)

Steps to Reproduce

  • Create a server with any egg (For this example I have take NodeJS and a code to create ~1m of files empty)
  • Create a lot of file (More file provoke more RAM used, to see this memory leak, pls create a minimum of 100k files.) In my case it's a dynmap map, Im uploading it in a .zip and giving you the link when it's uploaded
  • Just wait and observe memory used (cache) by wings (systemctl status wings)

Panel Version

1.11.5

Wings Version

1.11.11

Games and/or Eggs Affected

All of Eggs or Games, we just need to have a ton of files. (huge or small)

Is there an existing issue for this?

  • [X] I have searched the existing issues before opening this issue.
  • [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Loupric avatar Apr 07 '24 16:04 Loupric