Welcome! Log In Create A New Profile


NOTICE: the log buffer is full (message)

Posted by spyroslam 
NOTICE: the log buffer is full (message)
July 16, 2013 09:54AM

Whenever a long url is received by nginx and php5-fpm, I get the following error

child 2989 said into stderr: "NOTICE: the log buffer is full (1024). The access log request has been truncated.

I know that most of these long urls are legitimate so I would like to receive them without having this notice.

Which means I probably need to increase buffer size.

Which directive is responsible for the buffer size?

Re: NOTICE: the log buffer is full (message)
August 21, 2013 05:58AM

I was facing same issue, here is what i investigated:

you can change php-fpm.conf access.format variable to something that will not exceed 1024 bytes(saddly there is nothing to limit size of particular variable like url which can solve this issue smartly).
Or you can recompile PHP-fpm and define MAX_LINE_LENGTH to something that fits your need.
or which i have choosed: change application to not use so long URL, which is IMO not good practise and balasts your logs....

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready