Set ddb.console=1 in /etc/sysctl.conf and break to the debugger with
Ctrl-Alt-Esc once the lockup happens. trace and ps there, then continue,
break to debugger again, etc. This could give you some insight what's
going on. Not exactly scientific solution, but easy and quick as the first
attempt.
Regards,
David