I am tracing a process on OSX 10.13 using dtruss
trying to understand why it freezes up while doing a socket connect. However when it reaches the connect
the tracer freezes and then displays 783 dynamic variable drops with non-empty dirty list
on the screen. So it's not much help in understanding why the process is freezing!
What does "dynamic variable drops with non-empty dirty list" mean? and how might i get insight into why my process is freezing up using dtruss/dtrace?
I'm on osx 10.13
Did you try the
-b bufsize
option mentioned in the comments?In a custom DTrace script (not the dtruss wrapper), I was able to solve a similar problem by tweaking the 'cleanrate' and 'dynvarsize' options:
I figured this out by reading http://blogs.sun.com/roller/resources/bmc/dtrace_tips.pdf
https://community.oracle.com/thread/1921528 refers to the same problem and document.
Looking at /usr/bin/dtruss on macOS,
corresponds to
dynvarsize
.