Hey Eduardo, Do you see lots of errors or warning messages in your logs? Specifically about the instance being killed?
Robert On Wed, May 4, 2011 at 02:18, Eduardo Perrino <eduardo.perr...@gmail.com> wrote: > Hi Robert, > > After all, thank you for your recomendation of use Appstats. I'm going to > use it. > > Undeploy application doesn't mean lose an instance because I see a lots of > loading request in my logs. We've developed a warm up servlet to start up > the application into dynamic instances when I've activated "always on" > feature. But we've detected into always on instances that the application is > shutting down too. > > Also I think the algorithm for dispatching requests between instances is > "Round Robin" and when we haven't got requests enough. So we've got a lot of > loading requests because the time between requests into the same instance is > long enough to shut down the application for appengine. > > Eduardo. > > 2011/5/4 Robert Kluin <robert.kl...@gmail.com> >> >> Hi Eduardo, >> It sounds like you might benefit from using Appstats. I've heard >> Java apps tend to have large startup times. However, from what you're >> describing it sounds like your app is getting new instances spun up >> (16 in total) but it is not serving requests quickly enough. At least >> if I understand the issues correctly. >> >> http://code.google.com/appengine/docs/java/tools/appstats.html >> >> When you say 'undeploy' the application, you mean you lose an >> instance? As in you go from, say, 16 to 15 instances? Also what >> Geoffrey said is correct (of course ;), only active instances are >> listed. Instances can be spun up and down at any time. Do you see >> lots of loading requests in your logs? >> >> >> >> Robert >> >> >> >> >> >> On Tue, May 3, 2011 at 13:05, Eduardo Perrino <eduardo.perr...@gmail.com> >> wrote: >> > >> > >> > 2011/5/3 Geoffrey Spear <geoffsp...@gmail.com> >> >> >> >> >> >> On May 3, 11:55 am, Eduardo Perrino <eduardo.perr...@gmail.com> wrote: >> >> > Hi Robert, >> >> > >> >> > I try to explain better: >> >> > >> >> > Our application has 16 instances assigned by appengine automatically >> >> > and >> >> > three of them are "always on". It doesn't have many requests, in >> >> > fact, >> >> > the >> >> > time between them is large enough to appengine undeploy the >> >> > application. >> >> > So >> >> > appengine is starting the application over and over. >> >> >> >> If the Instances section of the control panel shows that you currently >> >> have 16 instances, that's how many copies of your application are >> >> currently running. Instances that are "undeployed", as you put it, >> >> won't show in that panel. >> > >> > This is not true, because sometimes when an instance has received a >> > request >> > the latency time is increased very much and if you go to the logs >> > section >> > it's posible to see that the application has been started. >> > >> > I think, see the instances is not mean that the application is started. >> > >> > >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "Google App Engine" group. >> >> To post to this group, send email to google-appengine@googlegroups.com. >> >> To unsubscribe from this group, send email to >> >> google-appengine+unsubscr...@googlegroups.com. >> >> 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 google-appengine@googlegroups.com. >> > To unsubscribe from this group, send email to >> > google-appengine+unsubscr...@googlegroups.com. >> > 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 google-appengine@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine+unsubscr...@googlegroups.com. >> 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 google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > 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 google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.