Bug #71963
netdata core dumps to /usr/local/etc
Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Services
Target version:
Seen in:
Severity:
Med High
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No
Description
if netdata crashes and creates a core dump file, it creates the core files in /usr/local/etc/netdata/
On TrueNAS HA systems, /usr/local/etc/ partition is tmpfs and is only 34M in size. This cause the file system to fill up entirely, which prevents things like iscsi/afp/smb to generate a config properly because the partition is out of space.
The location in which netdata core dumps it's stack needs to be changed.
Related issues
Associated revisions
Correctly set kern.corefile
This commit fixes an issue where we could fill up /etc directory with application's core dumps.
Ticket: #71963
History
#1
Updated by Waqar Ahmed 26 days ago
- Copied from Bug #71955: netdata core dumps to /usr/local/etc added
Correctly set kern.corefile
This commit fixes an issue where we could fill up /etc directory with application's core dumps. It also corrects the permissions for cores system dataset so that processes owned by user other then root can also dump their cores there.
Ticket: #71963