We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msg:490#490: *978936 write() to "log file" failed (11: Resource temporarily unavailable) while logging request, client: 11.199.94.62, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/dev/shm/fcgi.sock", host: "xxx"
从错误时间看,可以确定和日志轮转有关。
sbin/nginx -V
uname -a
The text was updated successfully, but these errors were encountered:
I encountered the same issue using Tengine 2.5.4.
I can confirm no relate with logrotate
Sorry, something went wrong.
tengine worker进程通过管道写入日志rollback进程,滚动时删除文件可能导致rollback进程卡顿导致,导致管道写满日志丢失。由于异步写入,无法绝对避免此问题:
缓解此问题方案:
drawing
No branches or pull requests
Ⅰ. Issue Description
msg:490#490: *978936 write() to "log file" failed (11: Resource temporarily unavailable) while logging request, client: 11.199.94.62, server: , request: "POST / HTTP/1.1", upstream: "fastcgi://unix:/dev/shm/fcgi.sock", host: "xxx"
Ⅱ. Describe what happened
从错误时间看,可以确定和日志轮转有关。
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
sbin/nginx -V
):uname -a
):The text was updated successfully, but these errors were encountered: