应用引擎:我看到500个状态和204个错误代码 [英] App engine: I'm seeing 500 status and 204 error code

查看:79
本文介绍了应用引擎:我看到500个状态和204个错误代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到很多带有500个响应代码的请求。文件日志中只有一行:

I'm seeing a lot of requests with 500 response code. There are only one line on file log:


处理此请求的进程遇到问题
导致它出口。这很可能会导致新的流程被用于
的下一个请求到您的应用程序。 (错误代码204)

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)

另外,我可以看到一个奇怪的appengine的自动日志行。我正在使用Python 2.7与线程和5个空闲实例:

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.1500 0 - Java / 1.6.0_24
xxxxxxxxxxx.appspot.comms = 4301 cpu_ms = 0 pending_ms = 942
exit_code = 204 instance = 00c61b117c96c7c9c0bec141a97c4d4f8ebb5189
app_engine_release = 1.9.26

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

我的应用程序的流量正在增加。并且经常发生一些资源。我不知道该怎么办。因为我看不到低级错误日志。我假设它是python的运行时失败,但我不知道。

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.

任何人有任何想法?

关注

推荐答案

这个问题和讨论表明这很可能是RAM耗尽的问题。

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

这篇关于应用引擎:我看到500个状态和204个错误代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆