App engine: I'm seeing 500 status and 204 error code

断了今生、忘了曾经 提交于 2020-02-24 05:35:10

问题


I'm seeing a lot of requests with 500 response code. There are only one line on file 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)

Also, I can see a weird appengine's auto log line. I'm using Python 2.7 with threading on and 5 idle instances:

190.210.97.5 - - [04/Sep/2015:10:00:21 -0700] "POST /api/v1/ecclaro/sondeos/event HTTP/1.1" 500 0 - "Java/1.6.0_24" "xxxxxxxxxxx.appspot.com" ms=4301 cpu_ms=0 pending_ms=942 exit_code=204 instance=00c61b117c96c7c9c0bec141a97c4d4f8ebb5189 app_engine_release=1.9.26

This happens more often when the traffic on my application is increasing. And often happen with some resources. I don't know to do. Because I can't see low level error logs. My assumption is it's a runtime failure of python but I don't know.

Anyone got any ideas?

Regards


回答1:


This issue and discussion suggest it is most likely an issue of running out of RAM.



来源:https://stackoverflow.com/questions/32414358/app-engine-im-seeing-500-status-and-204-error-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!