You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Chris Goffinet <go...@yahoo-inc.com> on 2008/07/22 00:58:51 UTC

Erlang server:start()

Hi

I know from the docs it was mentioned that most of the erlang work  
isn't exactly standard from typical erlang apps. I was wondering if  
anyone has noticed the behavior I am seeing. When I compile, and pass  
the erl -s server flag, erlang shell starts and the following is  
outputted:

thrift service listening on port 9999

But its technically not listening because:

=CRASH REPORT==== 21-Jul-2008::15:57:47 ===
   crasher:
     pid: <0.91.0>
     registered_name: []
     exception exit: {error,closed}
       in function  thrift_socket_server:acceptor_loop/1
     initial call:  
thrift_socket_server:acceptor_loop({<0.90.0>,#Port<0.180>,
                                                        
topics_thrift,server,
                                                       [{recv_timeout, 
500}]})

But it works just fine when calling server:start() from shell without - 
s server :)


-- 
Chris Goffinet
MyBlogLog Senior Performance Engineer

Yahoo!
San Francisco, CA
United States