Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-06-04 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hi,

As previously recommended, you may create a private report 
 
in the Issue tracker and provide us with your project id, the service name 
and the version number, so that we would be able to look into it and assist 
you to resolve the issue efficiently. 


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4c43788e-ca9b-43fc-9a2a-ac44cc55ef6c%40googlegroups.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-06-03 Thread DFB
Hi Magnus,

Did it get resolved? I'm facing the same issue. New instances are restarted 
and the previous one shutdown for no obvious reason. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/68fdae69-6ad5-4fb1-aa6d-556af58a8ef9%40googlegroups.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-05-01 Thread Magnus Kåre Skjeggedal Andersen
Hi

Thanks for your reply. I have tried with F2-instances too, with the same 
outcome, so I reduced it to F1 and 3 instances all the time.

Will report it in the issue tracker now.

-Magnus

fredag 1. mai 2020 17.26.23 UTC+2 skrev Katayoon (Cloud Platform Support) 
følgende:
>
> Hi Magnus,
>
> I see you are using instance class F1 that may not be fit to your work 
> load. You may look into your App Engine dashboard console (App 
> Engine>Dashboard) and check the "CPU Utilization" and "Memory Usage" for 
> the serving version. If you see some spikes correlating with your instance 
> restarts, you may upgrade your instance class 
>  to 
> resolve this issue. If the issue still persists, I recommend to create a 
> private 
> report in the Issue tracker 
> 
>  
> and provide us with your project id, the service name and the version 
> number, so that we would be able to look into it and assist you to resolve 
> the issue efficiently. 
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cdfe7136-2f67-4acc-919a-b11946a0d85e%40googlegroups.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-05-01 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hi Magnus,

I see you are using instance class F1 that may not be fit to your work 
load. You may look into your App Engine dashboard console (App 
Engine>Dashboard) and check the "CPU Utilization" and "Memory Usage" for 
the serving version. If you see some spikes correlating with your instance 
restarts, you may upgrade your instance class 
 to 
resolve this issue. If the issue still persists, I recommend to create a 
private 
report in the Issue tracker 
 
and provide us with your project id, the service name and the version 
number, so that we would be able to look into it and assist you to resolve 
the issue efficiently. 


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fcf7f547-8a46-44a9-a7c2-9bf69265eb15%40googlegroups.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-04-30 Thread 'Sebastien Dupere' via Google App Engine
Hi Magnus,

I do not have much experience with this setup as most of my projects are in
Python, but I will give you a last suggestion.

When you look at the logs in tools, could you look at the following logs
(if they exist, also they are not shown by default):
* app
* nginx.X (X can be warning, error, etc...There's a bunch of them)
* vm.X (Same as above)
* activity_log
* uptime_check

Note:
* You have to go in log BASIC mode to see the list, otherwise you have to
write your own filter and know what log to look for (unlikely that you have
that list handy hehe).
* I took that list based on my project, so you might have different logs,
but it can't hurt to see what is available.
** I think by default you only see:
*** stderr
*** nginx.request

Sorry I can't provide more help :(

Hopefully others will come with better suggestions.

On Thu, Apr 30, 2020 at 1:54 AM Magnus Kåre Skjeggedal Andersen <
[email protected]> wrote:

> Hi and thanks for your reply
>
> We run App Engine Standard Second Gen PHP 7.3. Machine type is F1. We dont
> have any liveness_check or readiness_check, it looks like that only applies
> to flexible.
>
> I have checked the logs when you go to App engine -> Services and then
> select debug or logs under "Tools".
>
> Looking into Stackdriver and Cloud Debugger now.
>
> Here is the app.yaml:
> runtime: php73
>
> entrypoint: serve public_html/index.php
> instance_class: F1
> automatic_scaling:
> min_instances: 3
> inbound_services:
> - warmup
> - Magnus
>
> onsdag 29. april 2020 20.58.26 UTC+2 skrev Sebastien Dupere følgende:
>>
>> This is not the norm, my GAE Flexible projects have instances that can
>> run for days easily.
>>
>> Quick Questions to try and help:
>> * What is your app engine setup (Language/server/etc)?
>> * What are your app engine machines type?
>> ** Or configuration if using AppEngine Flexible.
>> * Do you have a liveness_check and/or readiness_check setup?
>> ** Could that fail?
>> * AppEngine or AppEngine Flexible?
>> * Which logs do you check to say there's no errors?
>> ** Do you have Cloud Logging enabled in your application to have the app
>> log available to you?
>> *** This usually can pinpoint if you at least raised an exception
>> fairly quickly.
>>
>> Maybe giving us your app.yaml might give us a better look into your
>> project. Obviously, if you do, remove the information you find private.
>>
>> On Wed, Apr 29, 2020 at 11:41 AM Magnus Kåre Skjeggedal Andersen <
>> [email protected]> wrote:
>>
>>> Hi
>>>
>>> We are having some issues with frequent restarts of App Engine
>>> instances, typically every 10-30 minutes. Sometimes the instances can run
>>> for some hours too. There are no server errors recorded that I can see in
>>> the console, and no signs of memory leaks on the graphs in the
>>> instances-dashboard.
>>>
>>> Is this normal behavior or is something wrong? Any suggestions on how I
>>> can debug this? We have set minimum instances to 3 to avoid users getting
>>> loading requests, as a work-around.
>>>
>>> Thanks for any ideas.
>>>
>>> -Magnus
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/26be3ba2-00e4-4def-822f-7ebc9763422e%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Thank you,
>> Sebastien Dupere
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/0fde4753-58d5-462a-b236-6bc3f379cc56%40googlegroups.com
> 
> .
>


-- 
Thank you,
Sebastien Dupere

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAEN4B%3DHT8LZD%2BG02kp4aRSNCyQHA9UYDq4nVwexiufvQUtwtAQ%40mail.gmail.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-04-30 Thread Magnus Kåre Skjeggedal Andersen
Hi and thanks for your reply

We run App Engine Standard Second Gen PHP 7.3. Machine type is F1. We dont 
have any liveness_check or readiness_check, it looks like that only applies 
to flexible.

I have checked the logs when you go to App engine -> Services and then 
select debug or logs under "Tools". 

Looking into Stackdriver and Cloud Debugger now.

Here is the app.yaml:
runtime: php73

entrypoint: serve public_html/index.php
instance_class: F1
automatic_scaling:
min_instances: 3
inbound_services:
- warmup
- Magnus

onsdag 29. april 2020 20.58.26 UTC+2 skrev Sebastien Dupere følgende:
>
> This is not the norm, my GAE Flexible projects have instances that can run 
> for days easily.
>
> Quick Questions to try and help:
> * What is your app engine setup (Language/server/etc)?
> * What are your app engine machines type?
> ** Or configuration if using AppEngine Flexible.
> * Do you have a liveness_check and/or readiness_check setup?
> ** Could that fail?
> * AppEngine or AppEngine Flexible?
> * Which logs do you check to say there's no errors?
> ** Do you have Cloud Logging enabled in your application to have the app 
> log available to you?
> *** This usually can pinpoint if you at least raised an exception 
> fairly quickly.
>
> Maybe giving us your app.yaml might give us a better look into your 
> project. Obviously, if you do, remove the information you find private.
>
> On Wed, Apr 29, 2020 at 11:41 AM Magnus Kåre Skjeggedal Andersen <
> [email protected] > wrote:
>
>> Hi
>>
>> We are having some issues with frequent restarts of App Engine instances, 
>> typically every 10-30 minutes. Sometimes the instances can run for some 
>> hours too. There are no server errors recorded that I can see in the 
>> console, and no signs of memory leaks on the graphs in the 
>> instances-dashboard.
>>
>> Is this normal behavior or is something wrong? Any suggestions on how I 
>> can debug this? We have set minimum instances to 3 to avoid users getting 
>> loading requests, as a work-around.
>>
>> Thanks for any ideas.
>>
>> -Magnus
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/26be3ba2-00e4-4def-822f-7ebc9763422e%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Thank you,
> Sebastien Dupere
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0fde4753-58d5-462a-b236-6bc3f379cc56%40googlegroups.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-04-29 Thread 'Sebastien Dupere' via Google App Engine
This is not the norm, my GAE Flexible projects have instances that can run
for days easily.

Quick Questions to try and help:
* What is your app engine setup (Language/server/etc)?
* What are your app engine machines type?
** Or configuration if using AppEngine Flexible.
* Do you have a liveness_check and/or readiness_check setup?
** Could that fail?
* AppEngine or AppEngine Flexible?
* Which logs do you check to say there's no errors?
** Do you have Cloud Logging enabled in your application to have the app
log available to you?
*** This usually can pinpoint if you at least raised an exception
fairly quickly.

Maybe giving us your app.yaml might give us a better look into your
project. Obviously, if you do, remove the information you find private.

On Wed, Apr 29, 2020 at 11:41 AM Magnus Kåre Skjeggedal Andersen <
[email protected]> wrote:

> Hi
>
> We are having some issues with frequent restarts of App Engine instances,
> typically every 10-30 minutes. Sometimes the instances can run for some
> hours too. There are no server errors recorded that I can see in the
> console, and no signs of memory leaks on the graphs in the
> instances-dashboard.
>
> Is this normal behavior or is something wrong? Any suggestions on how I
> can debug this? We have set minimum instances to 3 to avoid users getting
> loading requests, as a work-around.
>
> Thanks for any ideas.
>
> -Magnus
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/26be3ba2-00e4-4def-822f-7ebc9763422e%40googlegroups.com
> 
> .
>


-- 
Thank you,
Sebastien Dupere

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAEN4B%3DHHkrNsXDB6wN--b610_4S1yt645F5A8dzmGnZy-DHCpg%40mail.gmail.com.