From damm@sipgate.de Tue Sep 19 17:31:33 2017 From: Sebastian Damm To: sr-users@lists.kamailio.org Subject: [SR-Users] private memory leak - but where? Date: Tue, 19 Sep 2017 17:31:10 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2028792952==" --===============2028792952== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I'm trying to debug a Kamailio which runs out of memory after a while. But following the hints at https://www.kamailio.org/wiki/tutorials/troubleshooting/memory doesn't help. I know it is the private memory that I'm missing. I already increased the pkg size to 16M, but somehow that seems to be not enough. The Kamailio receives HEP messages, sends them to a lua script where it is processed. Overall there are not more than 10 custom private variables used. In the log I'm seeing these messages: Sep 19 17:04:42 salm /usr/sbin/kamailio[19134]: ERROR: app_lua [app_lua_api.c:726]: app_lua_run_ex(): error executing: handle_packet (err: 2) Sep 19 17:04:42 salm /usr/sbin/kamailio[19134]: ERROR: