Too big headers on nginx problem
-
Hello,
While migrating on of the wp sites with query monitor enabled, I’ve run into problem with nginx + php-fpm config, some pages crashing (mostly ajax call), and the only detectable message was
upstream sent too big headerin the logs. Took me hours to figure out, and it seems to me that the problem was caused by your plugin.The only difference between two machines was php version, so query monitor was literally flooded with ‘deprecated’ errors, and I suspect they were causing headers to inflate.
I’m not the one who was installing/using the plugin, and I don’t have much experience with it, so, unless it’s already taken care of, I would recommend several modifications to the plugin code:
- disable “deprecated” errors by default;
- set some kind of header size limit check with possible warning to the user when it’s over one.
Trying to be helpful, no offense & thank you for your work.
The topic ‘Too big headers on nginx problem’ is closed to new replies.