<div dir="ltr">Hello,<br><br>I haved install debian 8 and kamailio 4.4.7 for IMS testing.<br>After registering 10000 users, SIPp generates CPS 25 SIP INVITE message and BYE message after 100 seconds.<br>After about 240000 calls, there are "cannot allocate memory" messgae on S-CSCF.<br>The command of S-CSCF is "kamailio -m 512 -f /etc/scscf/kamailio.cfg"<br>The parameter mem_join=1 is included in kamailio.cfg.<br>I have modified the share memory to 1024 and 2048, but the result is the same, just increasing the pass calls.<br><br><br>Would you please tell me how to solve the memory problem? <br>Thanks.<br><br><br>Mar 21 12:25:03 Kamailio440 kamailio[16483]: ERROR: <core> [sip_msg_clone.c:981]: msg_lump_cloner(): cannot allocate memory<br>Mar 21 12:25:03 Kamailio440 kamailio[16483]: ERROR: tm [t_fwd.c:1656]: t_forward_nonack(): ERROR: t_forward_nonack: failed to save the message lumps<br>Mar 21 12:25:03 Kamailio440 kamailio[16483]: ERROR: tm [t_reply.c:545]: _reply_light(): ERROR: _reply_light: cannot allocate shmem buffer<br>Mar 21 12:25:03 Kamailio440 kamailio[16483]: ERROR: tm [t_lookup.c:1489]: t_unref(): ERROR: t_unref: generation of a delayed stateful reply failed<br>Mar 21 12:25:03 Kamailio440 kamailio[16446]: ERROR: tm [t_reply.c:1893]: relay_reply(): ERROR: relay_reply: cannot alloc reply shmem<br>Mar 21 12:25:03 Kamailio440 kamailio[16446]: ERROR: tm [t_reply.c:545]: _reply_light(): ERROR: _reply_light: cannot allocate shmem buffer<br>Mar 21 12:25:03 Kamailio440 kamailio[16435]: ERROR: tm [t_reply.c:316]: update_totag_set(): ERROR: update_totag_set: no  memory<br>Mar 21 12:25:03 Kamailio440 kamailio[16406]: ERROR: ims_dialog [dlg_profile.c:472]: set_dlg_profile(): no more shm memory<br>Mar 21 12:25:03 Kamailio440 kamailio[16406]: ERROR: ims_dialog [ims_dialog.c:619]: w_set_dlg_profile(): failed to set profile<br>Mar 21 12:25:03 Kamailio440 kamailio[16406]: ERROR: tm [t_lookup.c:1289]: new_t(): ERROR: new_t: out of mem:<br>Mar 21 12:25:03 Kamailio440 kamailio[16406]: ERROR: tm [t_lookup.c:1429]: t_newtran(): ERROR: t_newtran: new_t failed<br><br>root@Kamailio440:~# kamcmd tm.stats<br>{<br>        current: 69<br>        waiting: 0<br>        total: 991300<br>        total_local: 0<br>        rpl_received: 2183891<br>        rpl_generated: 20232<br>        rpl_sent: 1475856<br>        6xx: 0<br>        5xx: 2704<br>        4xx: 10124<br>        3xx: 0<br>        2xx: 978329<br>        created: 991300<br>        freed: 991231<br>        delayed_free: 0<br>}<br>root@Kamailio440:~# kamctl stats shmem<br>shmem:fragments = 1630<br>shmem:free_size = 4303040<br>shmem:max_used_size = 536870912<br>shmem:real_used_size = 532567872<br>shmem:total_size = 536870912<br>shmem:used_size = 415668000<br><br><br></div>