Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
django 程序突然大量爆出 UnreadablePostError: request data read error 错误
hayao650
·
Jul 14, 2015
· 3989 views
This topic created in 4130 days ago, the information mentioned may be changed or developed.
我的django程序跑在树莓派上,用的是apache服务器,运行一段时间后会出现大量的UnreadablePostError: request data read error错误,直到手动重启才能解决问题。
树莓派
error
request
7 replies
•
2015-07-15 22:43:16 +08:00
socrates
Jul 14, 2015
1
有没有可能是network interface的MTU设置的不对?
est
Jul 14, 2015
2
遇到这类问题,一般解决办法是:处理1000个请求之后重启apache和python组件。
hayao650
OP
Jul 14, 2015
3
@
socrates
你说的是linux系统的么?
hayao650
OP
Jul 14, 2015
4
@
est
啊?处理1000个就要重启apache?那岂不是没多长时间就要重启一次!
est
Jul 14, 2015
5
@
hayao650
一般服务器都是4核8核的,重启一个worker又不费事。python的好处就是重启载入特别快,几乎察觉不到有延迟。
hayao650
OP
Jul 14, 2015
6
@
est
我用的是树莓派B+,性能比较差
socrates
Jul 15, 2015
7
@
hayao650
对
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1369 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 20:56
·
PVG 04:56
·
LAX 12:56
·
JFK 15:56
♥ Do have faith in what you're doing.
❯