I am running Nginx on Ubuntu. I am reading over the configuration directives for the Core Module. One of these directives is called
worker_rlimit_core. It says the directive:
Changes the limit on the largest size of a core file (RLIMIT_CORE) for worker processes. Used to increase the limit without restarting the main process.
From my understanding, when they are talking about the core file, they are in effect talking about the core dump file, which contains an image of a process's memory when it crashes so you can inspect what the issue was.
Why would I want to change the size of the core dump file for my Nginx process? What insight would I gain from this?