Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-65889

linuxptp-daemon restarting due to thread exhaustion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.21
    • 4.21
    • Networking / ptp
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • 11/27 Dev made an inital fix but QA found further issues. Dev has given QE a test image to see if secondary fix will elevate large pmc process count.
    • None
    • None
    • CNF RAN Sprint 280
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The linuxptp-daemon-container restarts regularly due to thread exhaustion start the pmc processes it seems. Here are the last few lines before the stack trace:
      
      E1121 17:03:04.285880  953473 pmc.go:440] Spawning process 'pmc -u -b 0 -f /var/run/ptp4l.1.config' for monitoring pmc
      runtime/cgo: runtime/cgo: pthread_create failed: Resource temporarily unavailable
      pthread_create failed: Resource temporarily unavailable
      SIGABRT: abort
      PC=0x7fee6ea3794c m=2708 sigcode=18446744073709551610

      Version-Release number of selected component (if applicable):

      ose-linuxptp-daemon-container-v4.21.0-202511201708.p2.gadc7320.assembly.stream.el9

      How reproducible:

          100%

      Steps to Reproduce:

          1. I've reproduced running a GM profile with ntpfailover and an OC profile with phc2sys disabled
          2. Wait a little over 30 minutes (in logs provided)
          3. Notice a SIGABRT on line 86254 of the linuxptp-daemon-container-logs.txt     

      Actual results:

          linuxptp-daemon-container restarts due to thread exhaustion

      Expected results:

          linuxptp-daemon-container does not restart due to thread exhaustion

      Additional info:

      google drive with ptp must-gather, linuxptp-daemon-container-logs.txt

              micosta@redhat.com Michele Tomaso Costa
              rh-ee-klaskosk Kirsten Laskoski
              None
              None
              Kirsten Laskoski Kirsten Laskoski
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: