简体   繁体   English

php是否注意到对发送到nginx的数据大小的影响?

[英]Is php notices influences to data size sending to nginx?

i use nginx and php7.1-fpm. 我使用nginx和php7.1-fpm。

In case when i have a bunch of notices in error log, at end i get in logs error and error 502: 如果我在错误日志中有一堆通知,最后我会收到日志错误和错误502:

*5 upstream sent too big header while reading response header from upstream * 5上游从上游读取响应报头时发送了太大的报头

If i increase buffers size in nginx all works well. 如果我增加了Nginx中的缓冲区大小,那么一切都很好。

If i remove custom buffer settings and checkout to branch with fixed notices, all works well too. 如果我删除自定义缓冲区设置并以固定的通知签出分支,那么所有方法也都可以正常工作。

So my question - is notices influences to data size sending from php-fpm to nginx? 所以我的问题-注意是否会影响从php-fpm发送到nginx的数据大小?

And now i understand that i see notices in nginx logs. 现在我了解到我在nginx日志中看到了通知。 So of course its influences. 因此当然会产生影响。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM