Skip to content

Commit 31cd3c3

Browse files
committed
Add information on ulimit when no cores are generated.
1 parent 0d56fff commit 31cd3c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

signals.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@
157157
\item Creating a core dump means to store the contents of the process virtual
158158
address space to a file. Usually such file has a word \texttt{core} in its
159159
file name. Some systems, e.g. macOS, may not generate core dumps by default even
160-
if its for signals with default core dump action.
160+
if its for signals with default core dump action. In that case, \texttt{ulimit
161+
-c unlimited} usually helps, and it affects the current shell only. See the
162+
present shell limits with \texttt{ulimit -a}.
161163
\item Most of the signals implicitly terminate the process, some create a core
162164
dump on top of that to enable a post-mortem analysis.
163165
\item The reason why \funnm{exec}() replaces all user set handlers to its

0 commit comments

Comments
 (0)