Hi Andreas, I know this might be a bit confusing. The setting are saying that you want a maximum of 2 idle instances and presumably a mininimum of 2 idle instances. Idle instances are ready to serve traffic when it hits. Neither or these dictate the number of Active Instances that you are using. Active instances are instances currently processing requests. GAE spins up instances as needed to serve traffic, I assume you had traffic spikes during the time that more instances were spun up. The billed line showed you were only billed for at most 2 of the idle instances (as you'd presumably set max idle to 2) but you are still charged for all of the active instances that served the traffic.
If you would rather GAE drop your traffic instead of serving it, set min pending latency to a higher value and it means the scheduler will leave requests in the queue longer before it tries to spin up an instance to handle it. I hope that helps explain what happened and we do need to improve the documentation about this, Greg D'Alesandre Senior Product Manager, Google App Engine On Wed, Jan 4, 2012 at 12:29 PM, Andreas <[email protected]> wrote: > if i set 2 resident and 2 idle i expect it to be max 4 and billed for max > 4 instances. > what i get is: > > > > where you can see that way too many instances are spin up when its not > needed at all. > i know im not the first and i actually didn't care as long as the graph > did show me that i was billed only for what i set. > this is not happening today and i really dont want or need to pay for > someone others bugs. > > > > On Jan 4, 2012, at 3:08 PM, sb wrote: > > > The idle instances that you have set control the amount instances that > > are available to serve when extra traffic hits your site. You are not > > the first person to be confused by this one. > > > > The documentation on this could probably do with something of an > > update. > > > > This page still have links to "Always on". > > http://code.google.com/appengine/docs/adminconsole/instances.html > > > > On Jan 4, 2:59 pm, Andreas <[email protected]> wrote: > >> i set my instance scheduler to 2 resident and max 2 idle. and it worked > well till today. > >> > >> Screen shot 2012-01-04 at 2.53.14 PM.png > >> 115KViewDownload > >> > >> > >> > >> why am i getting billed for more than 2 instances? why are there up to > 40 instances in this graph? > >> > >> Screen shot 2012-01-04 at 2.51.56 PM.png > >> 64KViewDownload > >> > >> > >> > >> i know the instance scheduler is not working perfectly but i've never > seen such a spin up. > >> dont really care about how many instances are up but i really dont want > to be charged for more than i decided to be billed. > > > > -- > > You received this message because you are subscribed to the Google > Groups "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]. > > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
