Skip to main content
NetApp Knowledgebase

How to remove a core file size restriction

Views:
102
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

StorageGRID

Description

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.

Example:

gdb /usr/local/clb/clb clb.core.29051

GNU gdb (GDB) SUSE (6.8.50.20090302-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:

<http://www.gnu.org/software/gdb/bugs/>...

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.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support