Project

General

Profile

Bug #71955

Correctly set kern.corefile

Added by Waqar Ahmed over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Services
Target version:
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 #70489: Correctly set kern.corefileReady for Testing
Copied to FreeNAS - Bug #71963: netdata core dumps to /usr/local/etcDone

Associated revisions

Revision 404833d4 (diff)
Added by Waqar Ahmed over 2 years 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: #71955

Revision 28619189 (diff)
Added by Waqar Ahmed over 2 years ago

Correctly set kern.corefile This commit fixes an issue where we could fill up /etc directory with application's core dumps. Ticket: #71955

History

#1 Updated by Waqar Ahmed over 2 years ago

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

#2 Updated by Waqar Ahmed over 2 years ago

  • Copied to Bug #71963: netdata core dumps to /usr/local/etc added

#3 Updated by Waqar Ahmed over 2 years ago

  • Status changed from In Progress to Ready for Testing

#4 Updated by Dru Lavigne over 2 years ago

  • Subject changed from netdata core dumps to /usr/local/etc to Correctly set kern.corefile
  • Needs Merging changed from Yes to No

#8 Avatar?id=55038&size=24x24 Updated by Zackary Welch over 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

I can confirm that kern.corefile has changed to from %N.core to /var/tmp/%N.core.

#9 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF