Re: [sr-dev] [kamailio/kamailio] QMalloc: TCP Memory Allocation Failures (#562)

2016-04-10 Thread Daniel-Constantin Mierla
Closed #562. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/562#event-621639754___ sr-dev mailing list sr-dev@lists.sip-router.org http:

Re: [sr-dev] [kamailio/kamailio] QMalloc: TCP Memory Allocation Failures (#562)

2016-04-10 Thread Daniel-Constantin Mierla
mem_join is not set to 1 by default. Could be considered for the future if people find it useful. Note that you can set it to 0 or 1 at runtime, without restart of kamailio, via kamcmd. fmalloc is the one with less overhead, so it is good for production. qmalloc has more overhead, but it is not

Re: [sr-dev] [kamailio/kamailio] QMalloc: TCP Memory Allocation Failures (#562)

2016-04-05 Thread Phil Lavin
Do you have a suggestion of the best `malloc` method to use in a production environment? Some Kamailio blog posts suggest fmalloc is more suited to production? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.

Re: [sr-dev] [kamailio/kamailio] QMalloc: TCP Memory Allocation Failures (#562)

2016-04-05 Thread Phil Lavin
Adding `mem_join=1` to the config also appears to resolve the issue. Is this something that is enabled by default on 4.4? These two links contradict each other: https://www.kamailio.org/wiki/tutorials/troubleshooting/memory https://www.kamailio.org/wiki/cookbooks/4.4.x/core#mem_join The take-ho

Re: [sr-dev] [kamailio/kamailio] QMalloc: TCP Memory Allocation Failures (#562)

2016-04-04 Thread Daniel-Constantin Mierla
Do you have memjoin parameter set to 1? If you test with 4.4, then you can change the memory manager with -x command line parameter, you no longer need to recompile kamailio. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] QMalloc: TCP Memory Allocation Failures (#562)

2016-04-04 Thread Phil Lavin
Experiencing an issue with QMalloc when Kamailio receives a lot of subscriptions (dialog-info) in a short period of time. The following is reported in logs and the TCP (TLS) connection fails: ```Apr 4 18:06:04 ua-proxy-01 /usr/local/sbin/kamailio[28456]: ERROR: [tcp_main.c:959]: tcpconn_new()