Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14558

dtest: log-watching thread leak and thread starvation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Test/dtest/python
    • Normal

    Description

      We get occasional build timeouts on b.a.o after pytest becomes unresponsive for over 20 minutes. This will result in a thread dump like this one:

      https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-2.2-dtest/117/consoleFull

      If you look for "Log-watching thread starting" messages and the dump, it becomes quite obvious whats the issue here.

      I had a quick look at the python3 / pytest related changes in CASSANDRA-14134 and it seems that some of the handling around dtest_setup's log_watch_thread var has been changed in a way that would prevent eventually yielding the allocated thread.

      Attachments

        Issue Links

          Activity

            People

              spod Stefan Podkowinski
              spod Stefan Podkowinski
              Stefan Podkowinski
              Kurt Greaves
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: