Wrap lines, spacing nits, etc. following previous change.
Translators please ignore. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
03c9037828
commit
fcb1ca095f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46337
1 changed files with 13 additions and 14 deletions
|
@ -745,17 +745,16 @@ Debugger (msg=0xf01b0383 "Boot flags requested debugger")
|
|||
<title>Debugging Deadlocks</title>
|
||||
|
||||
<para>You may experience so called deadlocks, a situation where
|
||||
a system stops doing useful work. To provide a helpful bug report
|
||||
in this situation, use &man.ddb.4; as described in the previous
|
||||
section.
|
||||
Include the output of <command>ps</command> and
|
||||
<command>trace</command> for suspected processes in the
|
||||
a system stops doing useful work. To provide a helpful bug
|
||||
report in this situation, use &man.ddb.4; as described in the
|
||||
previous section. Include the output of <command>ps</command>
|
||||
and <command>trace</command> for suspected processes in the
|
||||
report.</para>
|
||||
|
||||
<para>If possible, consider doing further investigation. The recipe
|
||||
below is especially useful if you suspect that a deadlock occurs in the
|
||||
VFS layer. Add these options to the kernel configuration
|
||||
file.</para>
|
||||
<para>If possible, consider doing further investigation. The
|
||||
recipe below is especially useful if you suspect that a deadlock
|
||||
occurs in the VFS layer. Add these options to the kernel
|
||||
configuration file.</para>
|
||||
|
||||
<programlisting>makeoptions DEBUG=-g
|
||||
options INVARIANTS
|
||||
|
@ -766,12 +765,12 @@ options DEBUG_LOCKS
|
|||
options DEBUG_VFS_LOCKS
|
||||
options DIAGNOSTIC</programlisting>
|
||||
|
||||
<para>When a deadlock occurs, in addition to the
|
||||
output of the <command>ps</command> command, provide information
|
||||
from the <command>show pcpu</command>, <command>show allpcpu</command>,
|
||||
<para>When a deadlock occurs, in addition to the output of the
|
||||
<command>ps</command> command, provide information from the
|
||||
<command>show pcpu</command>, <command>show allpcpu</command>,
|
||||
<command>show locks</command>, <command>show alllocks</command>,
|
||||
<command>show lockedvnods</command> and <command>alltrace</command>.
|
||||
</para>
|
||||
<command>show lockedvnods</command> and
|
||||
<command>alltrace</command>.</para>
|
||||
|
||||
<para>To obtain meaningful backtraces for threaded processes, use
|
||||
<command>thread thread-id</command> to switch to the thread
|
||||
|
|
Loading…
Reference in a new issue