[Kamailio-Users] 64-bit openser

joy yue joy1.yue at gmail.com
Wed Nov 19 01:31:49 CET 2008


On 11/18/08, Ovidiu Sas <osas at voipembedded.com> wrote:
>
> I ran on 32bits with 1G and 4k simultaneous transactions.
> Most of the memory is taken by the carrierroute module (big routing
> tables).
> 2G should be more then enough for what you need.
>
> You didn't specified what kind of "out of memory" do you get: SHM or PKG?


How can I check the memory usage in openser?
In my case, it looks openser is out of SHM to me. Here is the error message
I got:

Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2548]:
ERROR:tm:t_newtran: new_t failed
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2570]:
ERROR:tm:relay_reply: no more share memory
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2568]:
ERROR:tm:relay_reply: no more share memory
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2578]: ERROR:tm:new_t:
out of mem
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2554]: ERROR:tm:new_t:
out of mem
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2579]: ERROR:tm:new_t:
out of mem
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2573]: ERROR:tm:new_t:
out of mem
Nov 18 17:21:12 paecongo /opt/openser/sbin/openser[2578]:
ERROR:tm:t_newtran: new_t failed

Thanks,
-Joy


Regards,
> Ovidiu Sas
>
> On Tue, Nov 18, 2008 at 5:52 PM, Klaus Darilion
>
> <klaus.mailinglists at pernau.at> wrote:
> > joy yue wrote:
> >>
> >>
> >> On 11/18/08, *Klaus Darilion* <klaus.mailinglists at pernau.at
> >> <mailto:klaus.mailinglists at pernau.at>> wrote:
> >>
> >>     joy yue wrote:
> >>
> >>
> >>
> >>
> >>         On 11/18/08, *Klaus Darilion* <klaus.mailinglists at pernau.at
> >>         <mailto:klaus.mailinglists at pernau.at>
> >>         <mailto:klaus.mailinglists at pernau.at
> >>         <mailto:klaus.mailinglists at pernau.at>>> wrote:
> >>
> >>            joy yue wrote:
> >>
> >>
> >>                Hi Folks,
> >>
> >>                I get out-of-memory error with openser1.3 version. As I
> >>         already
> >>                increase the share memory size to 2G, looks like the only
> >>         choice
> >>                is to compile openser as 64-bit binary. Before I go
> >>         further, I'd
> >>                like to check if anyone has experience in this. Does
> OPenser
> >>                work with 64-bit binary?
> >>
> >>
> >>
> >>            Maybe you are triggering a bug in openser and leaking memory.
> I
> >>            think it would be better to debug why you are running out of
> >>         memory.
> >>            http://kamailio.org/dokuwiki/doku.php/troubleshooting:memory
> >>
> >>
> >>         It doesn't look like memory leak. With lower load, openser runs
> >>         fine without the out-of-memory error.
> >>
> >>
> >>     Hi!
> >>
> >>     (please cc the list)
> >>
> >>     So how much traffic is on your openser? (registrations per seconds,
> >>     transactions per seconds ...)
> >>
> >>     Maybe it leaks only under heavy load? (e.g.race conditions?)
> >>
> >>
> >> The traffic is around 18k transaction/sec.  How much memory is needed
> >> for one transaction?
> >
> > Thats really heavy load - maybe someone of the core guys knows how many
> > memory is needed per transaction
> >
> > klaus
> >
>
> > _______________________________________________
> > Users mailing list
> > Users at lists.kamailio.org
> > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20081118/ca311325/attachment.htm 


More information about the Users mailing list