As Steve Jobs said in this video
https://www.youtube.com/watch?v=dxNQebY-Qdw "Don't be afraid to ask for help". Hello dev community, our team have been developing this RESTful API with Slim PHP as router and Propel ORM with MySQL, deploying it as a service in Google App Engine with this app.yaml config service: api runtime: php55 api_version: 1 threadsafe: yes instance_class: F1 automatic_scaling: min_idle_instances: automatic max_idle_instances: automatic min_pending_latency: automatic max_pending_latency: automatic skip_files:- ^vendor/(.*/)+[Tt]ests/.*$- ^\.(.*) handlers:- url: .* script: app.php to be consumed by an Ember.js web app, through all the development we've been receiving strange patternless server crashes 500s, more precisely: 500 Server Error Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds. with App Engine Log. A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204) in random endpoints, that otherwise works fine 99% of the time, we, of course, don't feel like going into production with these random crashes. What we have tried: 1. Checking whether the MySQL max_connections is being reached because we open and close a connection every request. 2. Upgrading our instances from F1 for the sake of testing to F4_1G to tackle the possibility that we might be running out of memory. 3. Stress tests in localhost with dev_appserver.py, (we don't get any crashes here) 4. Try catch the whole Slim App for debugging (which it actually never catches the exception so it leads us to think it has really something to do with Google App Engine) Sincerely, thanks in advance. -- Aviso de confidencialidad y exención - Confidential notice and legal advice disclaimer - www.udem.edu.mx/disclaimer -- 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 post to this group, send email to google-appengine@googlegroups.com. 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/ed3be904-ea34-4c34-b104-3ab4c597a7da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.