arnomi

arnomi

Remote shells going rogue

I recently ran across a problem looking very similar to (Erlang/Elixir Interactive Shell jobs get stuck when printing to output) but regrettably it is not easily reproducible.

What we observed (running on OTP 21.1) is that if remote shells are kept connected (but unused) there is the chance that they go into a rogue mode where they start consuming a lot of CPU but without actually doing any work. We’ve traced the problem to the group.erl process which seems to be stuck in an endless loop with driver.erl. The group.erl process is receiving data (otp/lib/kernel/src/group.erl at master · erlang/otp · GitHub) and the driver is constantly sending empty messages of the form {#PID<0.73.0>, {:data, []}}. The result is that the remote shell process is taking up as much of the CPU as it can with all work spent in the more_data function while it should not be doing anything.

Does any of this sound familiar?

Most Liked

hubertlepicki

hubertlepicki

hubertlepicki

hubertlepicki

I have reported the problem you are referencing on https://bugs.erlang.org and it is probably best place to reach out the Erlang team as it seems like another bug you found :slight_smile:

arnomi

arnomi

Could you send me the ticket number for this? I did a search earlier and couldn’t find anything related.

Last Post!

ckhrysze

ckhrysze

I may have run into the same thing, but also can’t reliably reproduce. If anyone else can, the new ticket number is:

Where Next?

Popular in Questions Top

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

Other popular topics Top

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" =&gt; #BSON.ObjectId&lt;58eb1a7a9ad169198c3dXXXX&gt;, "email" =&gt; ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31525 112
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement