Multiple servers/master on a single host

7 views
Skip to first unread message

Rohit Manohar

unread,
Jul 29, 2011, 10:12:26 PM7/29/11
to terrastore-discussions
Hi

Do you know if running multiple masters and servers on a single host
can cause problems. I am running 6 clusters on two hosts, each cluster
consisting of a active-passive master pair and two servers. I am
seeing a lot of peer-timeout exceptions.

Regards

Sergio Bossa

unread,
Jul 30, 2011, 4:41:33 AM7/30/11
to terrastore-...@googlegroups.com
On Sat, Jul 30, 2011 at 4:12 AM, Rohit Manohar <roh...@gmail.com> wrote:

> Do you know if running multiple masters and servers on a single host
> can cause problems. I am running 6 clusters on two hosts

There should be no problems, provided your hosts can keep up with the
amount of work submitted to Terrastore: I mean, if you submit too much
work, and your clusters start eating all of your operating system
CPU/memory, everything else will suffer from.

Having 6 clusters in just 2 hosts seems a bit too much, but again it
really depends on what you're actually doing, and your hardware
configuration.

Cheers,

Sergio B.

--
Sergio Bossa
http://www.linkedin.com/in/sergiob

Rohit Manohar

unread,
Aug 1, 2011, 3:06:02 PM8/1/11
to terrastore-discussions
What is the default memory allocated to a Terrastore server/master?
What is the maximum amount that can be allocated?

On Jul 30, 1:41 am, Sergio Bossa <sergio.bo...@gmail.com> wrote:

Sergio Bossa

unread,
Aug 2, 2011, 12:13:25 PM8/2/11
to terrastore-...@googlegroups.com
On Mon, Aug 1, 2011 at 9:06 PM, Rohit Manohar <roh...@gmail.com> wrote:

> What is the default memory allocated to a Terrastore server/master?
> What is the maximum amount that can be allocated?

Terrastore servers don't have any specific settings regarding memory
allocation: they adhere to the standard java ergonomics, as described
here: http://java.sun.com/docs/hotspot/gc5.0/ergo5.html

You can obviously raise the max amount of heap space by setting it on
the JAVA_OPTS env variable.

Hope that helps,

Reply all
Reply to author
Forward
0 new messages