Skip to content

Instantly share code, notes, and snippets.

@mranney
Created April 10, 2012 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mranney/2355720 to your computer and use it in GitHub Desktop.
Save mranney/2355720 to your computer and use it in GitHub Desktop.
[root@prod-2119 ~]# dtrace -n 'syscall::*brk*:entry /pid == 6714 || pid == 4918 || pid == 6474 || pid == 5497 || pid == 6972 || pid == 5254 || pid == 4713 || pid == 6230/ { @[jstack(100, 8000)] = count(); }'
dtrace: description 'syscall::*brk*:entry ' matched 1 probe
^C
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0xfc
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.write at tls.js position 6294
<< adaptor >>
(anon) as OutgoingMessage._send at http.js position 20136
(anon) as OutgoingMessage.write at http.js position 31960
<< adaptor >>
(anon) as Client.res_write at /voxer/deploy/server/http_server.js position 9268
(anon) as Session.send_updates_waiting at /voxer/deploy/server/session.js position 27638
(anon) as (anon) at /voxer/deploy/server/session.js position 28396
(anon) as list.ontimeout at timers.js position 4786
<< adaptor >>
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node9TimerWrap9OnTimeoutEP10uv_timer_si+0x62
node`uv__timer_cb+0x85
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
3
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0xfc
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.resume at tls.js position 9672
ondrain at stream.js position 3398
(anon) as EventEmitter.emit at events.js line 40
<< adaptor >>
afterWrite at net.js line 494
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node10StreamWrap10AfterWriteEP10uv_write_si+0x13c
node`uv__write_callbacks+0xad
node`uv__stream_io+0x148
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
3
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0x2e
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.write at tls.js position 6294
<< adaptor >>
(anon) as OutgoingMessage._send at http.js position 20136
(anon) as OutgoingMessage.write at http.js position 31960
<< adaptor >>
(anon) as Client.res_write at /voxer/deploy/server/http_server.js position 9268
(anon) as Session.send_updates_waiting at /voxer/deploy/server/session.js position 27638
(anon) as (anon) at /voxer/deploy/server/session.js position 28396
(anon) as list.ontimeout at timers.js position 4786
<< adaptor >>
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node9TimerWrap9OnTimeoutEP10uv_timer_si+0x62
node`uv__timer_cb+0x85
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
3
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0x2e
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.resume at tls.js position 9672
ondrain at stream.js position 3398
(anon) as EventEmitter.emit at events.js line 40
<< adaptor >>
afterWrite at net.js line 494
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node10StreamWrap10AfterWriteEP10uv_write_si+0x13c
node`uv__write_callbacks+0xad
node`uv__stream_io+0x148
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
3
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0xfc
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.resume at tls.js position 9672
ondrain at stream.js position 3398
(anon) as EventEmitter.emit at events.js line 40
<< adaptor >>
afterWrite at net.js line 494
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node10StreamWrap10AfterWriteEP10uv_write_si+0x13c
node`uv__write_callbacks+0xad
node`uv__stream_io+0x148
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
4
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0x2e
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.resume at tls.js position 9672
ondrain at stream.js position 3398
(anon) as EventEmitter.emit at events.js line 40
<< adaptor >>
afterWrite at net.js line 494
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node10StreamWrap10AfterWriteEP10uv_write_si+0x13c
node`uv__write_callbacks+0xad
node`uv__stream_io+0x148
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
4
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0xfc
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.write at tls.js position 6294
<< adaptor >>
(anon) as OutgoingMessage._send at http.js position 20136
(anon) as OutgoingMessage.write at http.js position 31960
<< adaptor >>
(anon) as Client.res_write at /voxer/deploy/server/http_server.js position 9268
(anon) as Session.send_updates_waiting at /voxer/deploy/server/session.js position 27638
(anon) as (anon) at /voxer/deploy/server/session.js position 28396
(anon) as list.ontimeout at timers.js position 4786
<< adaptor >>
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node9TimerWrap9OnTimeoutEP10uv_timer_si+0x62
node`uv__timer_cb+0x85
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
8
libc.so.1`_brk_unlocked+0x15
libc.so.1`sbrk+0x35
libc.so.1`_morecore+0x2e
libc.so.1`_malloc_unlocked+0x17f
libc.so.1`malloc+0x35
libstdc++.so.6.0.16`_Znwj+0x29
libstdc++.so.6.0.16`_Znaj+0x1d
node`_ZN4node6Buffer7ReplaceEPcjPFvS1_PvES2_+0x118
node`_ZN4node6BufferC1EN2v86HandleINS1_6ObjectEEEj+0xb0
node`_ZN4node6Buffer3NewERKN2v89ArgumentsE+0x8e
node`_ZN2v88internalL30Builtin_HandleApiCallConstructENS0_12_GLOBAL__N_116BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEEPNS0_7IsolateE+0x1d2
<< internal code >>
<< constructor >>
Buffer at buffer.js position 10422
<< adaptor >>
<< constructor >>
(anon) as CryptoStream._push at tls.js position 16790
(anon) as SecurePair.cycle at tls.js position 37626
<< adaptor >>
(anon) as CryptoStream.write at tls.js position 6294
<< adaptor >>
(anon) as OutgoingMessage._send at http.js position 20136
(anon) as OutgoingMessage.write at http.js position 31960
<< adaptor >>
(anon) as Client.res_write at /voxer/deploy/server/http_server.js position 9268
(anon) as Session.send_updates_waiting at /voxer/deploy/server/session.js position 27638
(anon) as (anon) at /voxer/deploy/server/session.js position 28396
(anon) as list.ontimeout at timers.js position 4786
<< adaptor >>
<< internal >>
<< entry >>
node`_ZN2v88internalL6InvokeEbNS0_6HandleINS0_10JSFunctionEEENS1_INS0_6ObjectEEEiPPPS4_Pb+0x18f
node`_ZN2v88internal9Execution4CallENS0_6HandleINS0_6ObjectEEES4_iPPPS3_Pbb+0xc8
node`_ZN2v88Function4CallENS_6HandleINS_6ObjectEEEiPNS1_INS_5ValueEEE+0xcd
node`_ZN4node12MakeCallbackEN2v86HandleINS0_6ObjectEEEPKciPNS1_INS0_5ValueEEE+0xd3
node`_ZN4node9TimerWrap9OnTimeoutEP10uv_timer_si+0x62
node`uv__timer_cb+0x85
node`ev_invoke_pending+0x7b
node`ev_run+0x406
node`uv_run+0x1c
node`_ZN4node5StartEiPPc+0xac
node`main+0x1b
node`_start+0x83
8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment