Update on Playing with Solaris memory debuggers
Wednesday Sep 05, 2007
A long time ago I wrote about my experiences playing with various memory debuggers in Solaris. One thing I mentioned was:
Note, a core dump is not necessary. Use "mdb -o nostop -p PID" where PID is the proc. ID of the running process and then do the findleaks stuff: echo '::findleaks' | mdb -o nostop -p $(pgrep gssd) echo '000cb608::bufctl_audit' | mdb -o nostop -p $(pgrep gssd)The "mdb -o nostop" trick does not work in the upcoming Solaris Nevada. Instead use:
gcore $(pgrep -x daemon_name)to get a core dump of a running process then do:
echo "::findleaks" | mdb core_produced_by_gcoreand so on. You can read the rest of my previous blog entry here.










