<br><br><div><span class="gmail_quote">On 11/18/08, <b class="gmail_sendername">Ovidiu Sas</b> <<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I ran on 32bits with 1G and 4k simultaneous transactions.<br> Most of the memory is taken by the carrierroute module (big routing tables).<br> 2G should be more then enough for what you need.<br> <br> You didn't specified what kind of "out of memory" do you get: SHM or PKG?</blockquote>
<div><br>
How can I check the memory usage in openser? <br>
In my case, it looks openser is out of SHM to me. Here is the error message I got:<br>
<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2548]: ERROR:tm:t_newtran: new_t failed<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2570]: ERROR:tm:relay_reply: no more share memory<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2568]: ERROR:tm:relay_reply: no more share memory<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2578]: ERROR:tm:new_t: out of mem<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2554]: ERROR:tm:new_t: out of mem<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2579]: ERROR:tm:new_t: out of mem<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2573]: ERROR:tm:new_t: out of mem<br>
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2578]: ERROR:tm:t_newtran: new_t failed<br>
<br>
Thanks,<br>
-Joy<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Regards,<br> Ovidiu Sas<br> <br> On Tue, Nov 18, 2008 at 5:52 PM, Klaus Darilion<br>
<br><<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>> wrote:<br> > joy yue wrote:<br> >><br> >><br> >> On 11/18/08, *Klaus Darilion* <<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a><br>
>> <mailto:<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>>> wrote:<br> >><br> >> joy yue wrote:<br> >><br> >><br> >><br> >><br> >> On 11/18/08, *Klaus Darilion* <<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a><br>
>> <mailto:<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>><br> >> <mailto:<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a><br>
>> <mailto:<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>>>> wrote:<br> >><br> >> joy yue wrote:<br> >><br> >><br> >> Hi Folks,<br>
>><br>
>> I
get out-of-memory error with openser1.3 version. As I<br> >> already<br>
>> increase
the share memory size to 2G, looks like the only<br> >> choice<br>
>> is
to compile openser as 64-bit binary. Before I go<br> >> further, I'd<br>
>> like
to check if anyone has experience in this. Does OPenser<br>
>> work
with 64-bit binary?<br> >><br> >><br> >><br>
>> Maybe
you are triggering a bug in openser and leaking memory. I<br>
>> think
it would be better to debug why you are running out of<br> >> memory.<br> >> <a href="http://kamailio.org/dokuwiki/doku.php/troubleshooting:memory">http://kamailio.org/dokuwiki/doku.php/troubleshooting:memory</a><br>
>><br> >><br> >> It doesn't look like memory leak. With lower load, openser runs<br> >> fine without the out-of-memory error.<br> >><br> >><br> >> Hi!<br>
>><br> >> (please cc the list)<br> >><br> >> So how much traffic is on your openser? (registrations per seconds,<br> >> transactions per seconds ...)<br> >><br> >> Maybe it leaks only under heavy load? (e.g.race conditions?)<br>
>><br> >><br> >> The traffic is around 18k transaction/sec. How much memory is needed<br> >> for one transaction?<br> ><br> > Thats really heavy load - maybe someone of the core guys knows how many<br>
> memory is needed per transaction<br> ><br> > klaus<br> ><br> <br>> _______________________________________________<br> > Users mailing list<br> > <a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
> <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br> ><br> </blockquote></div><br>