That is probably that the connection process died (noproc error). You should probably link, monitor, or supervise the connection process so you can know when to reopen it.
Sean Cribbs <[email protected]> Developer Advocate Basho Technologies, Inc. http://basho.com/ On Jan 25, 2011, at 8:32 AM, Joshua Partogi wrote: > When I am using riak erlang client to query the database, sometimes I get an > exception exit. How can this happen and what should I do to prevent this from > happening? > > ([email protected])10> riakc_pb_socket:list_keys(Pid, <<"pages">>). > ** exception exit: {noproc,{gen_server,call, > [<0.5116.0>, > {req,{rpblistkeysreq,<<"pages">>}, > 60000, > {104158872,<0.1478.7>}}]}} > in function gen_server:call/2 > in call from riakc_pb_socket:list_keys/3 > > Thanks heaps for your help. > > Kind regards, > Joshua. > -- > http://twitter.com/jpartogi > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
