Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server RAM usage increasing #76

Open
ZioNeL opened this issue Feb 24, 2024 · 10 comments
Open

Server RAM usage increasing #76

ZioNeL opened this issue Feb 24, 2024 · 10 comments

Comments

@ZioNeL
Copy link

ZioNeL commented Feb 24, 2024

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.

@Alpha4615
Copy link
Contributor

Alpha4615 commented Feb 24, 2024 via email

@ZioNeL
Copy link
Author

ZioNeL commented Feb 24, 2024

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.

@jobe1986
Copy link
Member

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?

@ZioNeL
Copy link
Author

ZioNeL commented Feb 24, 2024

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

@jobe1986
Copy link
Member

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

@rubinlinux
Copy link
Member

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?

@ZioNeL
Copy link
Author

ZioNeL commented Feb 27, 2024

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

@ZioNeL
Copy link
Author

ZioNeL commented Apr 1, 2024

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.

@Alpha4615
Copy link
Contributor

@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.

@Alpha4615
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants