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

high memory usage #90

Open
disaster123 opened this issue Oct 8, 2023 · 10 comments
Open

high memory usage #90

disaster123 opened this issue Oct 8, 2023 · 10 comments

Comments

@disaster123
Copy link

I've detected that cassandra needs a lot of memory - currently it uses 1.4GB of memory after some time on my linux docker-container. I remember that cassandra was using far less some time ago...

@EinEinfach
Copy link
Owner

EinEinfach commented Oct 8, 2023

RAM?

I don't use docker. But in my case (just checked) 150MB after 150h

@disaster123
Copy link
Author

Yes RAM. I don‘t think it’s related to docker. Anything I could check? May be purge config?

@EinEinfach
Copy link
Owner

What is your "max age for measured data" value? How is the size of measure folder?

@disaster123
Copy link
Author

With an empty config it consumes 85MB in my container. Measure is 70MB - max age is the default value

@disaster123
Copy link
Author

OK it's related to the measure folder. If i delete it it uses 90MB like with the empty config.

@disaster123
Copy link
Author

I‘ve now set the storage time to 1day and will check what happens

@EinEinfach
Copy link
Owner

how are the tests going?

@disaster123
Copy link
Author

It's raining all day here... i can't really test. Until now the process is now consuming again 233MB of memory.

@EinEinfach
Copy link
Owner

Strange. Can you check your logfiles, do you have some entries at 00:00. At 00:00 o'clock happens data clean procedure, is that done without errors?

@disaster123
Copy link
Author

Yes and no - keep in mind that used memory isn't freed again under linux. So if it stays constant at 220MB - this will be OK - still a waste of 100MB but OK.

Log says:

2023-10-12 23:59:59 DEBUG Recieved checksum:0xe1 Calced checksum: 0xe1
2023-10-13 00:00:00 INFO Backend: Cleaning meausered and calced data. Max age: 1 days
2023-10-13 00:00:00 DEBUG state data: 38364 rows will be droped
2023-10-13 00:00:00 DEBUG stats data: 1315 rows will be droped
2023-10-13 00:00:00 DEBUG props data: nothing to clean
2023-10-13 00:00:00 DEBUG online data: 1084 rows will be droped
2023-10-13 00:00:00 DEBUG calced_from_state data: 38375 rows will be droped
2023-10-13 00:00:00 DEBUG calced_from_stats data: 1315 rows will be droped

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

2 participants