The instance might stay alive after it's been idle for 15 minutes, but you won't be billed for it. Billing is based on 15 min blocks as long as there is at least one active requet in the 15 min block.
We kill clones lazily to prevent excessive cold starts. On Tue, Oct 9, 2018 at 5:22 AM vvv vvv <[email protected]> wrote: > I am on the AppEngine Standard Python 3.7 environment. I have set up a > cron job to execute every two hours. This cron job creates a bunch of > threads, they execute some task and finish after some seconds. My web > service receives no traffic other than this currently. > > I am attaching the number of instances graph, and the memory usage. In the > instances graph the blue line shows that an instance runs for 15 minutes > every two hours, which is what one would expect with automatic scaling and > scaling to 0 instances. The green line shows that there are two instances > running persistently, with the only exception at 23:00 when one instance > gets killed because it goes out of memory, as one can see from the memory > graph attached. > > My question is, why is there one instance running all the time? Who has > created it? I'm trying to sort out my memory issue. Thanks a lot. > P.S attached utilization graph to rule out the possibility that my > instance is still alive after 15 minutes. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/44af4256-0b24-46fd-b971-515b1944c3de%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/44af4256-0b24-46fd-b971-515b1944c3de%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALZe7H13A4CD1FB5WYu6X%3DCfB%3D_sSBB%3DYr8V1iDNevR9fffG8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
