Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1011

erlang 21.3 and erts-10.3 scheduler_4 got stuck

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      From Alexander Petrovsky askjuise@gmail.com to Erlang Questions Mailing List:

      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.

      1. 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?

      Additional, steps to reproduce from my colleague:

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

      where pid 32025 is scheduler thread pid

        Attachments

          Activity

            People

            Assignee:
            kjell Kjell Winblad
            Reporter:
            kjell Kjell Winblad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: