erlang 21.3 and erts-10.3 scheduler_4 got stuck

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

erlang 21.3 and erts-10.3 scheduler_4 got stuck

Alexander Petrovsky-2
Hello!

Dear maintainers, during perf test I stumble upon that application freeze, don't respond to erlang pings, don't accept any new connections and don't write any logs. Seems like one of the Erlang schedulers got stuck in an endless loop.

# top -H
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15977 hbc 20 0 5103668 1.6g 5764 R 99.9 21.5 10:23.40 4_scheduler

The trace from gdb attached. Is any additional information required?

--
Петровский Александр / Alexander Petrovsky,

Skype: askjuise
Phone: +7 931 9877991


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

erl-cycle.txt (28K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: erlang 21.3 and erts-10.3 scheduler_4 got stuck

Alexander Petrovsky-2
Additional, steps to reproduce from my colleague:

# cat ./loop-rep.gdb
br erl_process.h:2341
cont
set p->run_queue.counter=p->run_queue.counter+1
quit

# gdb --pid 32025 -x ./loop-rep.gdb

where pid 32025 is scheduler thread pid

чт, 27 июн. 2019 г. в 18:23, Alexander Petrovsky <[hidden email]>:
Hello!

Dear maintainers, during perf test I stumble upon that application freeze, don't respond to erlang pings, don't accept any new connections and don't write any logs. Seems like one of the Erlang schedulers got stuck in an endless loop.

# top -H
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15977 hbc 20 0 5103668 1.6g 5764 R 99.9 21.5 10:23.40 4_scheduler

The trace from gdb attached. Is any additional information required?

--
Петровский Александр / Alexander Petrovsky,

Skype: askjuise
Phone: +7 931 9877991



--
Петровский Александр / Alexander Petrovsky,

Skype: askjuise
Phone: +7 931 9877991


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions