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 < m.k.s.ander...@gmail.com> 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 < >> m.k.s...@gmail.com> 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 google-a...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-appengine/26be3ba2-00e4-4def-822f-7ebc9763422e%40googlegroups.com >>> <https://groups.google.com/d/msgid/google-appengine/26be3ba2-00e4-4def-822f-7ebc9763422e%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> 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 google-appengine+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/0fde4753-58d5-462a-b236-6bc3f379cc56%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/0fde4753-58d5-462a-b236-6bc3f379cc56%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAEN4B%3DHT8LZD%2BG02kp4aRSNCyQHA9UYDq4nVwexiufvQUtwtAQ%40mail.gmail.com.