Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created September 3, 2010 19:50
Show Gist options
  • Select an option

  • Save PharkMillups/564449 to your computer and use it in GitHub Desktop.

Select an option

Save PharkMillups/564449 to your computer and use it in GitHub Desktop.
7:39 <nfo> hi all. Question about javascript functions. If it goes into an infinite
loop, the process will be killed after the specified timeout ?
07:40 <nfo> M/R timeout
07:40 <hemulen> the erlang process will be killed
07:40 <hemulen> i think the VM might get left in a wedged state, though
07:41 <hemulen> where VM = JS VM not Erlang VM
07:42 <nfo> and one single JS VM is used by all erlang processes running JS code ?
07:43 <nfo> s/used/shared
08:10 <hemulen> nfo: there's a pool of them, configured in app.config
08:10 mheld_ joined
08:10 <hemulen> a pool for each cluster node, to be precise
08:11 <nfo> ok. So let's hope it won't happen.
08:13 <hemulen> we should do a better job of detecting runaway VMs, though.
i'll file a ticket for that
08:22 <hemulen> for anyone following along: https://issues.basho.com/show_bug.cgi?id=686
08:23 <nfo> thanks
08:24 <hemulen> np
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment