Core File Still Generating Even After Setting Core Limit To Zero

(Doc ID 1644759.1)

Last updated on APRIL 08, 2014

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 5.6 [Release OL5 to OL5U6]
Linux x86-64
Linux x86

Goal

In Linux to prevent core file generation, we need to set "core file size" in ulimits to zero. But when you use gdb and use "generate-core" command, it will still generate core. For example  

This will still generate core file. 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms