Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING swPort_onRead_http: Content-Length is too big, MaxSize=[2088960]. #40

Closed
mountainguan opened this issue May 23, 2018 · 7 comments

Comments

@mountainguan
Copy link

在laravels配置里找不到这个设置的位置...应该是swoole的文件上传大小限制,google都搜不到这几个名词

@mountainguan
Copy link
Author

这是我在logs里看见的

@hhxsv5
Copy link
Owner

hhxsv5 commented May 23, 2018

配置Swoole的package_max_length参考

@mountainguan
Copy link
Author

设置完还是没有效果

log:

@mountainguan
Copy link
Author

把官方的length配置也试了,log依旧跟上面一样

@mountainguan
Copy link
Author

雾草,我又破案了...原来是artisan laravels reload只重新加载代码,不重载laravels的配置

@hhxsv5
Copy link
Owner

hhxsv5 commented May 23, 2018

😅reload只重启worker进程;你改的swoole配置,需要重启所有进程,应该用restart。

@mountainguan
Copy link
Author

因为之前改的都是逻辑代码,发现reload挺好用就一直用reload;完全忽视了进程没重启,知道我调试把断点设到了laravels的源码里才发现...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants