*SOLVED by increasing memory allocation in app.yaml*

resources:
  cpu: 1
  memory_gb: 2
  disk_size_gb: 10


On Thursday, October 11, 2018 at 5:52:51 AM UTC-7, Daniel Blazquez wrote:
>
> Hi,
>
> my simple Spring Boot app works fine locally, and it worked during months 
> deployed to Google Cloud. But today it fails to deploy about 2 out of 3 
> attempts  (after around 15 minutes stuck in this part)
>
> [INFO] GCLOUD: Updating service [default] (this may take several 
> minutes)... 
> GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has 
> failed to become healthy in the allotted time and therefore was rolled 
> back. If you believe this was an error, try adjusting the 
> 'app_start_timeout_sec' setting in the 'readiness_check' section.
>
> Things I tried:
>
>    1. Creating a new Cloud project
>    2. Updating Cloud: gcloud components update
>    3. Disable health checks gcloud app update --no-split-health-check
>
> Related:
>
>    - The times I get it running, app often becomes highly unresponsive, 
>    throwing multiple 502 errors, and CPU reaching 100%
>
>
> Things I suspect could be wrong:
>
>    1. *Something about health checks? In the logs I see the app starting, 
>    but for some reason no traffic can reach it*
>    2. *I have tried looking in the logs but I don't see anything helpful. 
>    Any particular logs I should be looking at?*
>    3. *Should I be worried about dependencies in my Maven file, if I know 
>    I can run locally?*
>
>
> My app.yaml:
>
> runtime: java
> env: flex
>
> runtime_config:  # Optional
>   jdk: openjdk8
>
> manual_scaling:
>   instances: 1
>

-- 
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/0aa1b2b4-a822-405e-bbd2-851deff9928d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-app... Daniel Blazquez
    • [googl... Daniel Blazquez
    • [googl... Daniel Blazquez
      • [g... 'Yasser Karout (Cloud Platform Support)' via Google App Engine

Reply via email to