Skip to content

Instantly share code, notes, and snippets.

@greggy
Created December 8, 2011 09:53
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 greggy/1446599 to your computer and use it in GitHub Desktop.
Save greggy/1446599 to your computer and use it in GitHub Desktop.
(proxy@silver_proxy.stream.lan)1> proxy_sup:start_proxy(122, 211).
2011-12-08 13:46:54:344798 proxy:88:debug [<0.87.0>]->[init_start]: Start proxy: 211
2011-12-08 13:46:54:348767 proxy_gw:79:debug [<0.88.0>]->[]: Start proxy gw
2011-12-08 13:46:54:350000 =PROGRESS REPORT=======
supervisor: {local,proxy_sup}
started: [{pid,<0.87.0>},
{name,'RTMPProxy_211'},
{mfargs,{proxy,start_link,[122,211,'RTMPProxy_211']}},
{restart_type,transient},
{shutdown,2000},
{child_type,worker}]
{ok,<0.87.0>}
(proxy@silver_proxy.stream.lan)2> proxy:st
start_link/3 stop/1
(proxy@silver_proxy.stream.lan)2> proxy:stop(list_to_pid("<0.87.0>")).
2011-12-08 13:48:09:251870 proxy:161:debug [<0.87.0>]->[]: Proxy unnormal stop
ok
2011-12-08 13:48:09:252254 proxy:198:debug [<0.87.0>]->[]: RTMP proxy terminate. Pid <0.87.0>
2011-12-08 13:48:09:252687 =ERROR REPORT=======
** Generic server 'RTMPProxy_211' terminating
** Last message in was {'$gen_cast',unnormal_stop}
** When Server state == {state,211,122,undefined,undefined,[],"fuck",24596}
** Reason for termination ==
** fuck
(proxy@silver_proxy.stream.lan)3> 2011-12-08 13:48:09:252934 proxy_gw:176:debug [<0.88.0>]->[]: Proxy gateway stop.
=ERROR REPORT==== 8-Dec-2011::13:48:09 ===
** Generic server 'RTMPProxy_211' terminating
** Last message in was {'$gen_cast',unnormal_stop}
** When Server state == {state,211,122,undefined,undefined,[],"fuck",24596}
** Reason for termination ==
** fuck
2011-12-08 13:48:09:253663 =CRASH REPORT=======
crasher:
initial call: proxy:init/1
pid: <0.87.0>
registered_name: 'RTMPProxy_211'
exception exit: fuck
in function gen_server:terminate/6
ancestors: [proxy_sup,rtmp_proxy_sup,<0.53.0>]
messages: []
links: []
dictionary: []
trap_exit: false
status: running
heap_size: 987
stack_size: 24
reductions: 2462
neighbours:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment