Actions
Bug #9526
closed/var/log/nginx/error.log - Never cleared, invisible, always grows until /var overflows :(
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/15/2019
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
SYMPTOMS
- My /var partition overflowed, causing havoc.
- Found a huge /log/nginx/error.log with many weeks of data
ANALYSIS AND IMPACT
This log file is essentially an invisible time bomb for pfSense admins:- It is invisible in the UI
- It is not specifically configured in the nginx conf file (uses default /var/log/nginx/error.log)
- It is not referenced nor cleared by any log rotation
- Status -> System Logs -> Settings -> Reset Log Files does not clear this log
(Thus, NOT true in docs: "Pressing this button will clear log data from all of the logs managed by the pfSense base system.") - It is not cleared on reboot
IOW, this error.log grows ad nauseum until pfSense dies. :(
I'm running 2.4.4p2
Actions