noproc error on Map/Reduce

Bryan Fink bryan at basho.com
Mon Oct 15 11:38:40 EDT 2012


On Thu, Oct 11, 2012 at 12:12 AM, Matt Black <matt.black at jbadigital.com> wrote:
> When I run the query it fails with this error, with which I am unfamiliar..
> Any thoughts on how to diagnose?

Hi, Matt. The interesting part of that error is:

> '{"phase":0,"error":"{noproc,{gen_server,call,[riak_kv_js_map,{reserve_vm,<0.23487.1151>},infinity]}}"

That `noproc` is saying that the process that gen_server:call/3 was
trying to contact wasn't there. The arguments indicate that it was
calling the riak_kv_js_map process, which is the riak_kv_js_manager of
the Javascript VMs used in evaluating map functions. If it's not
there, it must have crashed, which should have left a message in your
Riak node's logs. If it's there, you'll probably find it by searching
for riak_kv_js_manager, together with the phrase "initial call".

It's also possible that it was not the manager, but instead the VM
process that was absent. This particular error can bubble up in this
way. If this is the problem, there may be a race condition in the
checkin/checkout of those VMs. We did fix one such condition earlier
this year … which Riak version are you using? If this is the problem,
you'll probably see errors in your Riak node's logs about
riak_kv_js_vm crashing/exiting.

I've opened a new issue to track this problem here:
https://github.com/basho/riak_kv/issues/403 . If you learn more about
the root cause, please reply either here or there.

Thank you,
Bryan




More information about the riak-users mailing list