
Hello to all!Our application has always suffered from high latencies due to instances respawning continuously.We always used custom settings in "automatic-scaling" to try to save money.Following this post (http://googlecloudplatform.blogspot.it/2015/08/How-to-Troubleshoot-Latency-in-Your-App-Engine-Application.html) I've decided to reset the "automatic-scheduling" settings of our app to default values.So I've configured only min-idle-instances to 1 (otherwise the /_ah/warmup handler is never called). The instance class is F2.After two days this is our state.So:- why I have 4 instances 2 days old not used? (The logs says that one instance served ~20 request today, but the other instances stopped to serve yesterday)- why the scheduler stop and spawn instances every 40/50 minutes if 4 instances are there to do nothing?- why the resident instance is restarted every 40/50 minutes if it is supposed to be... resident?- is there something wrong with our code?Thanks--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b4e88571-6790-4fb7-b129-afb82d27821b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b4e88571-6790-4fb7-b129-afb82d27821b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.
--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b4e88571-6790-4fb7-b129-afb82d27821b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f7c63588-ed67-4949-9488-6670ffe7c67c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I filed a production issue because our app is really unusable!
Il giorno gio 13 ago 2015 alle ore 12:50 Stefano Ciccarelli <stefano.ciccarelli@mmbsoftware.it> ha scritto:
The scheduler is completly broken!In the last hour the scheduler keeps respawning instances every minute or less! The latency is orrible and the costs are rising!
Il giorno mer 12 ago 2015 alle ore 20:24 Nick (Cloud Platform Support) <pay...@google.com> ha scritto:
Hi Mauricio,
I'd be happy to look further into this issue for you, especially since it seems related to the issue Stefano is experiencing. Could you provide the case reference number if you have it?
Thanks,
Nick--
On Tuesday, August 11, 2015 at 5:43:59 PM UTC-4, Mauricio Lumbreras wrote:
Hello,
we are suffering mostly the same issue, we have resident instances and without any reason nor error, the instance is killed and restarted. No ah stop message in the logs. Also we do not run out of memory. We run B8 backends and java.
I started a very long ticket with GAE support a couple of months ago and they claim with app engine 1.9.25 it will be solved in some manner, but they explain me there is a scheduler refactoring on progress but nor deployed until 6 months from now....
We are fighting with this issue: instances with no traffic lives for hours, in the moment there is a sustained traffic but reasonable, instamce is killerd and restarted every 12 or 15 minutes, very regular fashion. These restart are not linked to any maintenance or singular condition, it occurs every day and about 20 times per day at least.
Regards
Mauricio
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f7c63588-ed67-4949-9488-6670ffe7c67c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.
--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
I filed a production issue because our app is really unusable!
Il giorno gio 13 ago 2015 alle ore 12:50 Stefano Ciccarelli <stefano.ciccarelli@mmbsoftware.it> ha scritto:
The scheduler is completly broken!In the last hour the scheduler keeps respawning instances every minute or less! The latency is orrible and the costs are rising!
Il giorno mer 12 ago 2015 alle ore 20:24 Nick (Cloud Platform Support) <pay...@google.com> ha scritto:
Hi Mauricio,
I'd be happy to look further into this issue for you, especially since it seems related to the issue Stefano is experiencing. Could you provide the case reference number if you have it?
Thanks,
Nick--
On Tuesday, August 11, 2015 at 5:43:59 PM UTC-4, Mauricio Lumbreras wrote:
Hello,
we are suffering mostly the same issue, we have resident instances and without any reason nor error, the instance is killed and restarted. No ah stop message in the logs. Also we do not run out of memory. We run B8 backends and java.
I started a very long ticket with GAE support a couple of months ago and they claim with app engine 1.9.25 it will be solved in some manner, but they explain me there is a scheduler refactoring on progress but nor deployed until 6 months from now....
We are fighting with this issue: instances with no traffic lives for hours, in the moment there is a sustained traffic but reasonable, instamce is killerd and restarted every 12 or 15 minutes, very regular fashion. These restart are not linked to any maintenance or singular condition, it occurs every day and about 20 times per day at least.
Regards
Mauricio
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f7c63588-ed67-4949-9488-6670ffe7c67c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.
--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Hello to all!Our application has always suffered from high latencies due to instances respawning continuously.We always used custom settings in "automatic-scaling" to try to save money.Following this post (http://googlecloudplatform.blogspot.it/2015/08/How-to-Troubleshoot-Latency-in-Your-App-Engine-Application.html) I've decided to reset the "automatic-scheduling" settings of our app to default values.So I've configured only min-idle-instances to 1 (otherwise the /_ah/warmup handler is never called). The instance class is F2.After two days this is our state.So:- why I have 4 instances 2 days old not used? (The logs says that one instance served ~20 request today, but the other instances stopped to serve yesterday)- why the scheduler stop and spawn instances every 40/50 minutes if 4 instances are there to do nothing?- why the resident instance is restarted every 40/50 minutes if it is supposed to be... resident?- is there something wrong with our code?Thanks--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
For the record of any future users: an investigation of the issue reported by Stefano appeared to turn up that the cause of the instances shutting down was low instance specs combined with a memory-heavy CSV import job.
Mauricio, I've located the support ticket you have open, and it appears that you're currently receiving help there for a similar but unrelated issue. I encourage you to follow up there.
On Friday, August 7, 2015 at 7:11:49 AM UTC-4, Stefano Ciccarelli wrote:
Hello to all!Our application has always suffered from high latencies due to instances respawning continuously.We always used custom settings in "automatic-scaling" to try to save money.Following this post (http://googlecloudplatform.blogspot.it/2015/08/How-to-Troubleshoot-Latency-in-Your-App-Engine-Application.html) I've decided to reset the "automatic-scheduling" settings of our app to default values.So I've configured only min-idle-instances to 1 (otherwise the /_ah/warmup handler is never called). The instance class is F2.After two days this is our state.So:- why I have 4 instances 2 days old not used? (The logs says that one instance served ~20 request today, but the other instances stopped to serve yesterday)- why the scheduler stop and spawn instances every 40/50 minutes if 4 instances are there to do nothing?- why the resident instance is restarted every 40/50 minutes if it is supposed to be... resident?- is there something wrong with our code?Thanks--
Stefano Ciccarelli
GAE Application Division
/ Director
M.M.B. s.r.l.
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/1ce70118-f593-4ea3-b6d3-47be766d36f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAArRkeUmDUsUchN-6wCaq4QQfiQmPVkyFG%3DtVVCNeEJ7jF96Rg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CADK-0uj_%2B0qyBQ3OE9PtfSkxd%2B8HjrBo%2Be-k-dRkk6WwCWJyQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAArRkeVmn%2B8W%3DoircfrajBYHg%3DPesK7E5M6ffiHwrg8tBS87cQ%40mail.gmail.com.