Answer the question
In order to leave comments, you need to log in
How is an entry created in the logs that there is not enough space to write the log?
Literally today, on one of the projects, I came across such an entry in the error_log of nginx
2016/03/10 01:33:20 [alert] 343#0: *43891688 write() to "/u01/nginx_log/access_conf.log" failed (28: No space left on device) while logging request
....
2016/03/10 01:33:20 [alert] 334#0: *45145930 write() to "/u01/nginx_log/access_all.log" failed (28: No space left on device) while logging r
Answer the question
In order to leave comments, you need to log in
access_log is buffered, error_log is not, it is immediately flushed to disk.
nginx did not find a place to drop a few kilobytes of the buffer, but the lines got into the error_log.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question