ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-132579 was an investigation into a longstanding and persistent crash, AF-928, on Atlas, where thread creation fails with glibc's pthread_create returning EAGAIN, and so std::thread's constructor throws an exception that is uncaught and so the server terminates.

      It would be good to know which resource has caused pthread_create to return EAGAIN. According to AI analysis, it could be several things on Linux.

      This ticket is the work of enumerating all of the potentially exhausted resources that might cause pthread_create to fail with EAGAIN on Linux, and to log their values along with their limits before the exception thrown by std::thread's constructor propagates far enough to terminate the program.

      With this logging, we could identify the offending resource and look into why it is being exhausted.

            Assignee:
            Gabriel Spil
            Reporter:
            David Goffredo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: