<div dir="ltr"><div class="gmail_extra">Hi,</div><div class="gmail_extra">I have some kind of memory growth (leak?).</div><div class="gmail_extra">kamailio 4.4.1.</div><div class="gmail_extra">started with 64M for shmem, had a crash after 5 days of traffic.</div><div class="gmail_extra">increased shmem to 128, but still memory grows everyday.</div><div class="gmail_extra">when traffic load decrease, the memory growth stops but memory stays on the same level. when traffic increase again,used memory continue to grows again.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I started kamailio now with the "-x qm" option to debug shmem.</div><div class="gmail_extra">every half hour i dump the status of it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">there are several modules that the memory size is increasing (some of them are obvious).</div><div class="gmail_extra"><br></div><div class="gmail_extra">but, one is very strange.... DROUTING</div><div class="gmail_extra"><br></div><div class="gmail_extra">I am using drouting module for each call on my kamailio.</div><div class="gmail_extra">the DB tables are very small, and there is no reloads.</div><div class="gmail_extra"><br></div><div class="gmail_extra">only one time used in my script :</div><div class="gmail_extra">..<br></div><div class="gmail_extra">...</div><div class="gmail_extra">subst_user('/(.*)/$avp(xxx)/');</div><div class="gmail_extra">if(!do_routing("$avp(yyyy)")){</div><div class="gmail_extra"> xlog...somthing;</div><div class="gmail_extra">return(-1)</div><div class="gmail_extra">}</div><div class="gmail_extra">..</div><div class="gmail_extra">....</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">the shmem that is rapidly growing and does not make sense is:</div><div class="gmail_extra">"from drouting: dr_time.c: ac_get_maxval(219)"</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">seems that when i used mem_join =1, the growth was smaller, but still significant.</div><div class="gmail_extra">now i use mem_join = 0, it seems rapidly increasing...</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have more information from the logs, will send it if necessary (it is just a lot...)</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">any ideas ?</div><div class="gmail_extra">cheers,</div><div class="gmail_extra">Uri</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>