Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

More PUs deployed than the defined SLA


I have an SLA defining that a certain PU should be deployed 8 times, instances per machine, no backups.

 <os-sla:sla cluster-schema="partitioned-sync2backup" number-of-instances="8" number-of-backups="0" max-instances-per-vm="1" max-instances-per-machine="2" >
      <os-sla:zone name="Zone3" />

This PU is deployed on 4 machines, so it should be simple - 2instances on each machine.

But what I actually get is 12 instances, spread out unevenly between servers - two of them are running 4 instances.

Any idea?

asked 2017-05-15 08:22:49 -0500

mohoch gravatar image

updated 2017-05-28 04:34:10 -0500

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

make the max-instances-per-machine="1" and see if this solves the problem.

Remember max-instances-per-machine refers to instances from the same partition , not across different partitions. With a cluster without backups this is meaningless. So it should be one.

answered 2017-05-15 08:37:59 -0500

shay hassidim gravatar image
edit flag offensive delete link more


I don't get it - if I have 4 servers and I want 2 instances running on each machine (due to CPU/memory considerations) - what exactly should be the correct configuration? No backups needed.

mohoch gravatar imagemohoch ( 2017-05-25 01:30:38 -0500 )edit
  • Have 2 GSCs on each machine.

  • Have the following set for the GSCs (system property) : com.gigaspaces.grid.gsc.serviceLimit=1

  • The sla.xml should have max instances per vm and max instances per machine set as 1

  • Number of instances should be 8.


shay hassidim gravatar imageshay hassidim ( 2017-05-25 06:06:47 -0500 )edit

Well I still don't understand why there should be more instances than the number I specify in the number-of-instances config.

I tried playing with it some more, as you said, and had strange results: If I limit the max-instances-per-machine to 1, it deploys only 1 instance per machine, as I initially thought it would, and I'm left with only 4 instances.

But if I set the max-instances-per-machine to 2 - it will work sometimes exactly as expected (8 instances, 2 on each machine), and sometimes will deploy to many instances...

mohoch gravatar imagemohoch ( 2017-05-28 09:24:16 -0500 )edit

If you see more partitions than the number you specified as the *number-of-instances something is wrong. *

Please submit a support case and include the GSM and LUS log files. There might be something wrong with the environment setup.

shay hassidim gravatar imageshay hassidim ( 2017-05-28 13:52:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-05-15 08:22:49 -0500

Seen: 120 times

Last updated: 10 hours ago