[ejabberd] -shared

Simon Yeo simon at meebo.com
Fri Sep 15 10:13:01 MSD 2006


I guess my question is if you folks have seen any evidence that having
shared heap is helping any.  Does it definitely improve ejabberd's
memory usage problem?  Does it impact performance one way or another?

--simon 

> -----Original Message-----
> From: ejabberd-bounces at jabber.ru 
> [mailto:ejabberd-bounces at jabber.ru] On Behalf Of Matthew Reilly
> Sent: Thursday, September 14, 2006 4:28 PM
> To: ejabberd at jabber.ru
> Subject: Re: [ejabberd] -shared
> 
> To allow the -shared option, you can edit erts/Makefile 
> (under the OTP source dir) and set:
> 
> BUILD_SHARED_EMU=true
> 
> There is another option -hybrid (which should be built by 
> default except for Windows, VxVorks, and OSE) that tries to 
> get some of the same benfits by having per-process heaps as 
> well as a shared heap.
> 
> I've never done much experimenting though with either of 
> these options, except when I've tried -hybrid on a web server 
> Erlang project, erlang would sometimes crash when doing 
> garbage collection. I had a C port driver in this case, so I 
> don't know if it was something that I did.
> 
> On Thu, 2006-09-14 at 16:11 -0700, Simon Yeo wrote:
> > So what is the deal with the "-shared" option?  There 
> doesn't seem to 
> > be much documentation on it.  We had it on when we were 
> running erlang 
> > R11B without really knowing whether it benefited us or not.
> > 
> > But now that we've downgraded erlang to R10B, ejabberd no longer 
> > starts up when I add the -shared option.  So we're running 
> without the 
> > option now.  Any ideas?
> > 
> > Thanks,
> > --simon
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd at jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> --
> Matthew Reilly
> matthew.reilly at sipphone.com
> Gizmo Project name: matt 
> 
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
> 


More information about the ejabberd mailing list