Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[image: image.png]
What's the cause of this?
Hey Andrew,
this can have multiple reasons, I think the way forward is to follow the following document: https://www.kamailio.org/wiki/tutorials/troubleshooting/memory
In short, recompile kamailio with some extra memory debugging flag, then check where your memory used is going to, then try to explain here what's going on, and if it's a new bug, surely it will be fixed.
Op za 25 mei 2019 om 21:07 schreef Andrew Chen achen@fuze.com:
Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[image: image.png]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning
Am 24.05.19 um 17:34 schrieb Andrew Chen: Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@mailto:achen@thinkingphones.comfuze.comhttp://fuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu.
On Mon, May 27, 2019 at 4:02 AM Henning Westerholt hw@skalatan.de wrote:
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning Am 24.05.19 um 17:34 schrieb Andrew Chen:
Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
You can do
apt-get update
Then
apt-cache showpkg kamailio
That will show you what version will be installed, if your happy with the result, simply:
apt-get install kamailio (and the mods you have installed)
That should upgrade it.
On Mon, 27 May 2019 at 14:47, Andrew Chen achen@fuze.com wrote:
Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu.
On Mon, May 27, 2019 at 4:02 AM Henning Westerholt hw@skalatan.de wrote:
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning Am 24.05.19 um 17:34 schrieb Andrew Chen:
Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
-- Andy Chen Sr. Telephony Lead Engineer 415 516 5535 (M) achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Sorry I meant for the debug params you set during recompile? How do you set them with apt repo?
On Mon, May 27, 2019, 12:16 David Villasmil david.villasmil.work@gmail.com wrote:
You can do
apt-get update
Then
apt-cache showpkg kamailio
That will show you what version will be installed, if your happy with the result, simply:
apt-get install kamailio (and the mods you have installed)
That should upgrade it.
On Mon, 27 May 2019 at 14:47, Andrew Chen achen@fuze.com wrote:
Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu.
On Mon, May 27, 2019 at 4:02 AM Henning Westerholt hw@skalatan.de wrote:
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning Am 24.05.19 um 17:34 schrieb Andrew Chen:
Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
-- Andy Chen Sr. Telephony Lead Engineer 415 516 5535 (M) achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Oh no, for debugging flags you need to compile. But for testing with a newer version before going into compiling, it’s like that. Test first with a newer version, since what you’re experiencing might already be fixed on a newer version.
On Mon, 27 May 2019 at 18:09, Andrew Chen achen@fuze.com wrote:
Sorry I meant for the debug params you set during recompile? How do you set them with apt repo?
On Mon, May 27, 2019, 12:16 David Villasmil < david.villasmil.work@gmail.com> wrote:
You can do
apt-get update
Then
apt-cache showpkg kamailio
That will show you what version will be installed, if your happy with the result, simply:
apt-get install kamailio (and the mods you have installed)
That should upgrade it.
On Mon, 27 May 2019 at 14:47, Andrew Chen achen@fuze.com wrote:
Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu.
On Mon, May 27, 2019 at 4:02 AM Henning Westerholt hw@skalatan.de wrote:
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning Am 24.05.19 um 17:34 schrieb Andrew Chen:
Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
-- Andy Chen Sr. Telephony Lead Engineer 415 516 5535 (M) achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello Andrew,
you find updated packages for 5.1. and 5.2 releases here: deb.kamailio.org
They are available also for Ubuntu. You need to add the correct config to your apt configuration, have a look e.g. to this tutorial: https://kamailio.org/docs/tutorials/devel/kamailio-install-guide-deb/
Cheers,
Henning
Am 27.05.19 um 15:45 schrieb Andrew Chen: Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu.
On Mon, May 27, 2019 at 4:02 AM Henning Westerholt <hw@skalatan.demailto:hw@skalatan.de> wrote:
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning
Am 24.05.19 um 17:34 schrieb Andrew Chen: Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@mailto:achen@thinkingphones.comfuze.comhttp://fuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
-- Andy Chen Sr. Telephony Lead Engineer 415 516 5535 (M) achen@mailto:achen@thinkingphones.comfuze.comhttp://fuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
Thanks guys.
On Mon, May 27, 2019, 16:08 Henning Westerholt hw@skalatan.de wrote:
Hello Andrew,
you find updated packages for 5.1. and 5.2 releases here: deb.kamailio.org
They are available also for Ubuntu. You need to add the correct config to your apt configuration, have a look e.g. to this tutorial: https://kamailio.org/docs/tutorials/devel/kamailio-install-guide-deb/
Cheers,
Henning Am 27.05.19 um 15:45 schrieb Andrew Chen:
Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu.
On Mon, May 27, 2019 at 4:02 AM Henning Westerholt hw@skalatan.de wrote:
Hello Andrew,
additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8.
The version you use is now over a year old and there have been a lot of fixes in this time.
Cheers,
Henning Am 24.05.19 um 17:34 schrieb Andrew Chen:
Hey guys,
Need some help with possible run away memory issue on my 5.1.2 Kamailio. I noticed I'm getting this memory error from kam logs:
May 24 13:47:52 ashintgtpsg51 /usr/sbin/kamailio[1857]: WARNING: http_client [functions.c:298]: curL_query_url(): Curl library out of memory (url:https://<some url>)
my -m on kamailio startup is currently set to 64 but there is only 1 call going through.
In our check_mk, I noticed the memory usage is ramping up:
[..]
What's the cause of this?
-- Andy Chen Sr. Telephony Lead Engineer achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services
-- Andy Chen Sr. Telephony Lead Engineer 415 516 5535 (M) achen@ achen@thinkingphones.comfuze.com
*Confidentiality Notice: The information contained in this e-mail and any attachments may be confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.*
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://skalatan.de/services