I Liviu and thanks for the fast reply,
However, we don’t use t_on_branch on our script, install the nightly packages, can you still help? Thanks De : Devel <devel-boun...@lists.opensips.org> au nom de Liviu Chircu <li...@opensips.org> Répondre à : OpenSIPS devel mailling list <devel@lists.opensips.org> Date : jeudi 28 janvier 2021 à 14:22 À : OpenSIPS devel mailling list <devel@lists.opensips.org> Objet : Re: [OpenSIPS-Devel] not enough free pkg memory On 28.01.2021 15:12, Alain Bieuzent wrote: Since we migrate from opensips 3,0 to the latest 3.1, after around 1 week of uptime we find a a certain number of message in logs (around 15,000 per day) like « ERROR:core:fm_malloc: not enough free pkg memory (11184320 bytes left, need 536), please increase the "-M" command line parameter! » We already increased P_MEMORY (from 16 to 32 then 32 to 128) but it didn’t help. root@lbsip-owf-out02 /var/log opensips -V version: opensips 3.1.1 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 229ec0793 main.c compiled on 17:41:56 Jan 4 2021 with gcc 6.3.0 Hi, There was a significant PKG memory leak fixed on Jan 11th [1], which was related to t_on_branch(). If you are using t_on_branch() in your opensips.cfg, please get the latest 3.1.1 sources, rebuild and your problems should go away. For this, I suggest either: * installing the 3.1 nightly packages * fetching the 3.1 sources and rebuilding * wait for the 3.1.2 minor release [1]: https://github.com/OpenSIPS/opensips/commit/c82a625e Cheers, -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel