[SERVER-9177] "warning: failed to read from /proc/self/numa_maps: errno:2 No such file or directory" < 100 characters Created: 29/Mar/13  Updated: 10/Dec/14  Resolved: 31/Mar/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.4.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Stephen Lee Assignee: Andrew Morrow (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.4


Attachments: Text File 26133_numa.txt    
Issue Links:
Depends
Duplicate
duplicates SERVER-9047 warning: failed to read from /proc/se... Closed
Operating System: ALL
Participants:

 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.



 Comments   
Comment by Andrew Morrow (Inactive) [ 31/Mar/13 ]

It is. Linked and resolved as duplicate.

Comment by Eliot Horowitz (Inactive) [ 30/Mar/13 ]

Is this a dup of SERVER-9047?

Generated at Thu Feb 08 03:19:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.