nginx
io_error
ai_generated
true
nginx: [error] open() /var/log/nginx/access.log failed: Too many open files
ID: nginx/log-rotation-failure
80%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1 | active | — | — | — |
Root Cause
Log file rotation failed or log files consuming too much disk.
genericWorkarounds
-
92% success Use logrotate with postrotate: kill -USR1
-
88% success Signal nginx to reopen logs: nginx -s reopen
Dead Ends
Common approaches that don't work:
-
Delete log files while nginx running
82% fail
nginx still writes to deleted fd
-
Disable logging entirely
78% fail
No visibility into traffic