evilnet/nefarious2

Server RAM usage increasing

Opened this issue · 10 comments

HEllo,
After 5 days of server start the ircd process is consuming 1.8 GB of RAM.
High peak was 5 GB after 30 days. What can be the issue?
Running Debian 12 64 bit and Nefarious2 git version.
Thank you.

We have a small network, 2 main servers and also 3 servers for services.
Not so much of activity. What i can tell is that with each day that passes the RAM consumed is more and more high.

Out of curiosity (and in an attempt to rule something out), what distro are you using? and what openssl library version do you have installed?

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm

OpenSSL 3.0.11 19 Sep 2023 (Library: OpenSSL 3.0.11 19 Sep 2023
3.0.11-1~deb12u2

Thanks, that ruled out the wild goose I was chasing.

Does the increase in memory use happen immediately after you restart, or does it run for a while with very little, and then start to get bigger after some triggering event?

is growing little by little, for example 3 days ago RAM usage was 1.84 GB, now is 2.74GB

I`ve noticed that RAM increase is only on running servers where services are linked. Due to lots of net splits. Everytime a netsplit is taking place also ram increase is happening.

@ZioNeL Just to update you, I'm still waiting for my server to go into a mem-leak state. I have a system that monitors the RAM usage, and if it exceeds a certain threshold or increases too quickly, it generates memory dumps.

Sadly, since we don't know what triggers it, it's a waiting game.

Hey there, @ZioNeL -- any more reoccurrences of this bug? If possible can you get a memory core dump of the ircd process when it happens, and then get a strings output of it? I'm investigating different things and have a couple ideas and theories.