Project

General

Profile

Bug #71963

netdata core dumps to /usr/local/etc

Added by Waqar Ahmed 7 months ago. Updated 6 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Services
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

Copied from FreeNAS - Bug #71955: Correctly set kern.corefileDone

Associated revisions

Revision 2444e895 (diff)
Added by Waqar Ahmed 7 months ago

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

Revision dd892015 (diff)
Added by Waqar Ahmed 7 months ago

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 7 months ago

  • Copied from Bug #71955: Correctly set kern.corefile added

#2 Updated by Waqar Ahmed 6 months ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by Dru Lavigne 6 months ago

  • Needs Merging changed from Yes to No

#4 Updated by Dru Lavigne 6 months ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3-BETA1 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No

Also available in: Atom PDF