-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
dlrlookupd.py memory usage #962
Comments
Are you sending long multiparts ? |
We are sending message in Unicode encoding and some can be sent in 2 or 3 parts. Is there a way to improve this ? Thank you for your help. |
Are you sure it's due to dlrlookupd.py and not from REDIS memory usage? Note that I'm speaking about REDIS memory usage (due to the DLR managment), not about dlrlookupd.py memory usage that shouldn't be so high for what I know. |
Hello @magojr and thank you for your response. a top command clearly show dlrlookupd.py using a lot of memory. dlr_expiry was set to 86400sec, I set it to 3600sec now to test. |
Ok, so it may be high memory usage OR a memory leak in dlrlookupd.py. I think it shouldn't increase the memory usage so much because Redis is used for the mapping purpose and other task/data shouldn't stay in memory. I prepend for a memory leak, mabe a simple array entry not freed... |
Here is the memory consumption after changing the settings : Now, dlrlookupd.py memory comsumption seems OK, but dlrd.py comsumption keep increasing at a more acceptable level
|
It seems to be an increasing line, not a "curve" with a limit so it may increase up ti 7G in the same way of the previous execution. |
Stale issue detected, remove stale label or comment or this will be closed soon. |
This issue was closed because it has been stalled more than a year with no activity. |
@kbadey I got same issue... do you find any solution ? |
@hadpro24 Unfortunatly, the issue is still present and we were unable to find a solution. We tried to upgrade Jasmin version.We are now using the 0.10.12 version but the result is the same. We have to restart jasmin processes to free the memory. dlrlookupd.py is still using more and more memory. |
Hello,
We are using jasmin 0.9.36 installed via pip on Centos7 server
We are facing a memory issue : the memory usage for dlrlookupd.py keep increasing and we need to restart jasmin to free up memory.
If i check the log I can see a lot of message like "DLRMapNotFound: Got a DLR for an unknown message". Can it be related ?
Am I missing some configuration to free up memory ?
We are sending ~ 150/160 messages / minute with DLR set.
Any idea ?
Thank you for your help
The text was updated successfully, but these errors were encountered: