We have big nginx error log(1GB).
Can this cause serious performance issue while nginx writes new errors in that file?
Sometimes our webserver hangs and recovers itself for about 2 minute.
OS: FreeBSD 8
I believe it depends on nginx implementation details. In theory if nginx internally only opens a log file for append, then I would not expect performance issues from the large size. I recommend has a general good practice to have a log management strategy in place. Truncating the log or other strategy may be used to mitigating the risk of degradation with disk fragmentation or running out of free space.