Before uploading any StorageGRID core file to NetApp, test the file integrity using a GDB backtrace.
For information on performing a GDB backtrace, see KB: How to collect a GDB backtrace from a StorageGRID service
The GDB output will indicate if a core file is truncated after the GNU license header.
gdb /usr/local/clb/clb clb.core.29051
GNU gdb (GDB) SUSE (18.104.22.16890302-1.5.18)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
BFD: Warning: /var/local/core/clb.core.29051 is truncated: expected core file size >= 1381822464, found: 1381818368.
This final line (first line after the GNU header) may alternately look like:
"/var/local/core/clb.core.29051" is not a core dump: File truncated
There are several possibilities for a core file getting truncated, such as the following:
- Disk/filesystem I/O issues
- RAM issues
- OS restriction on the core file size
If a truncated file is discovered, as a first step, confirm that there are no restrictions on the core file sizes, and then remove the restrictions found. Removing a core file size restriction is accomplished by editing the corresponding OS parameter and then rebooting the server.