Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9177

"warning: failed to read from /proc/self/numa_maps: errno:2 No such file or directory" < 100 characters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.4.1
    • None
    • None
    • None
    • CentOS 6.4
    • ALL

    Description

      /proc/<PID>/numa_maps is checked with the following code.

                  if (f.is_open()) {
                      char line[100]; //we only need the first line
                      f.getline(line, sizeof(line));
                      if (f.fail()) {
                          warning() << "failed to read from /proc/self/numa_maps: "
                                    << errnoWithDescription() << startupWarningsLog;
                          warned = true;
                      }   
       

      so the expectation is that the first line of /proc/<PID>/numa_maps is 100 or fewer characters.

      But this warning was still triggered for the 98 character first line of a numa_maps file.

      Attachments

        1. 26133_numa.txt
          6 kB
          Stephen Lee

        Issue Links

          Activity

            People

              andrew.morrow@mongodb.com Andrew Morrow
              stephen.lee Stephen Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: