/proc/XXX/smaps does not exist Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Does DDR3-800 RAM even exist?File does not exist: /htdocsVPS exceedingly slow, /proc/meminfo looks suspiciousWhat does siblings mean in /proc/cpuinfo?Apache: SSLCertificateKeyFile: file does not exist or is emptyLinux Kernel (/proc/meminfo) Not Reporting All MemoryLSI 3Ware tw_cli and tdm2 segfault with Debian Linux kernels after 3.8vSphere | VMs are balooning and swapping | sched.mem.max paratmetar does not existPort already in use by process that does not existUser shown in ps does not exist
Wu formula for manifolds with boundary
What does the "x" in "x86" represent?
How to Make a Beautiful Stacked 3D Plot
Is there a kind of relay only consumes power when switching?
Using audio cues to encourage good posture
Did MS DOS itself ever use blinking text?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
When coming out of haste, do attackers have advantage on you?
Is it common practice to audition new musicians 1-2-1 before rehearsing with the entire band?
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
Is it cost-effective to upgrade an old-ish Giant Escape R3 commuter bike with entry-level branded parts (wheels, drivetrain)?
How to show element name in portuguese using elements package?
For a new assistant professor in CS, how to build/manage a publication pipeline
What does this Jacques Hadamard quote mean?
Can anything be seen from the center of the Boötes void? How dark would it be?
An adverb for when you're not exaggerating
Significance of Cersei's obsession with elephants?
Is the Standard Deduction better than Itemized when both are the same amount?
Why didn't Eitri join the fight?
How do pianists reach extremely loud dynamics?
Dating a Former Employee
Do jazz musicians improvise on the parent scale in addition to the chord-scales?
How do I stop a creek from eroding my steep embankment?
Closed form of recurrent arithmetic series summation
/proc/XXX/smaps does not exist
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Does DDR3-800 RAM even exist?File does not exist: /htdocsVPS exceedingly slow, /proc/meminfo looks suspiciousWhat does siblings mean in /proc/cpuinfo?Apache: SSLCertificateKeyFile: file does not exist or is emptyLinux Kernel (/proc/meminfo) Not Reporting All MemoryLSI 3Ware tw_cli and tdm2 segfault with Debian Linux kernels after 3.8vSphere | VMs are balooning and swapping | sched.mem.max paratmetar does not existPort already in use by process that does not existUser shown in ps does not exist
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to debug what is going on on an ubuntu server. I tried to use my good old friend smem but it does not display anything, even if run as root. strace shows the culprit:
open("/proc/32376/smaps", O_RDONLY) = -1 ENOENT (No such file or directory)
I started to scream and kick. Hopefully, the server is not located in my office or it would have suffered some serious damage.
Maybe someone knows why the smaps files do not exist on this box ? (I am running a 2.6.38 kernel on a 64bit box so, it should be here, really)
Mathieu
ubuntu memory
add a comment |
I am trying to debug what is going on on an ubuntu server. I tried to use my good old friend smem but it does not display anything, even if run as root. strace shows the culprit:
open("/proc/32376/smaps", O_RDONLY) = -1 ENOENT (No such file or directory)
I started to scream and kick. Hopefully, the server is not located in my office or it would have suffered some serious damage.
Maybe someone knows why the smaps files do not exist on this box ? (I am running a 2.6.38 kernel on a 64bit box so, it should be here, really)
Mathieu
ubuntu memory
Obvious check: is the process ID correct?
– Hennes
Feb 13 '13 at 16:19
Yes, could it be that PID 32376 is gone in the meantime?
– ott--
Feb 13 '13 at 16:25
yes, the pid is correct: this was one of the very many errors I got with strace and I checked that cat /proc/self/smaps fails too.
– mathieu
Feb 13 '13 at 16:33
Please identify the specific distribution of Ubuntu. No issue but I am using a 3.2.0 kernel. Are you sure it is present in the 2.6.x kernels?
– mdpc
Feb 13 '13 at 17:42
You might try moving this question to the Ubuntu group.
– mdpc
Feb 13 '13 at 17:43
add a comment |
I am trying to debug what is going on on an ubuntu server. I tried to use my good old friend smem but it does not display anything, even if run as root. strace shows the culprit:
open("/proc/32376/smaps", O_RDONLY) = -1 ENOENT (No such file or directory)
I started to scream and kick. Hopefully, the server is not located in my office or it would have suffered some serious damage.
Maybe someone knows why the smaps files do not exist on this box ? (I am running a 2.6.38 kernel on a 64bit box so, it should be here, really)
Mathieu
ubuntu memory
I am trying to debug what is going on on an ubuntu server. I tried to use my good old friend smem but it does not display anything, even if run as root. strace shows the culprit:
open("/proc/32376/smaps", O_RDONLY) = -1 ENOENT (No such file or directory)
I started to scream and kick. Hopefully, the server is not located in my office or it would have suffered some serious damage.
Maybe someone knows why the smaps files do not exist on this box ? (I am running a 2.6.38 kernel on a 64bit box so, it should be here, really)
Mathieu
ubuntu memory
ubuntu memory
asked Feb 13 '13 at 15:59
mathieumathieu
16318
16318
Obvious check: is the process ID correct?
– Hennes
Feb 13 '13 at 16:19
Yes, could it be that PID 32376 is gone in the meantime?
– ott--
Feb 13 '13 at 16:25
yes, the pid is correct: this was one of the very many errors I got with strace and I checked that cat /proc/self/smaps fails too.
– mathieu
Feb 13 '13 at 16:33
Please identify the specific distribution of Ubuntu. No issue but I am using a 3.2.0 kernel. Are you sure it is present in the 2.6.x kernels?
– mdpc
Feb 13 '13 at 17:42
You might try moving this question to the Ubuntu group.
– mdpc
Feb 13 '13 at 17:43
add a comment |
Obvious check: is the process ID correct?
– Hennes
Feb 13 '13 at 16:19
Yes, could it be that PID 32376 is gone in the meantime?
– ott--
Feb 13 '13 at 16:25
yes, the pid is correct: this was one of the very many errors I got with strace and I checked that cat /proc/self/smaps fails too.
– mathieu
Feb 13 '13 at 16:33
Please identify the specific distribution of Ubuntu. No issue but I am using a 3.2.0 kernel. Are you sure it is present in the 2.6.x kernels?
– mdpc
Feb 13 '13 at 17:42
You might try moving this question to the Ubuntu group.
– mdpc
Feb 13 '13 at 17:43
Obvious check: is the process ID correct?
– Hennes
Feb 13 '13 at 16:19
Obvious check: is the process ID correct?
– Hennes
Feb 13 '13 at 16:19
Yes, could it be that PID 32376 is gone in the meantime?
– ott--
Feb 13 '13 at 16:25
Yes, could it be that PID 32376 is gone in the meantime?
– ott--
Feb 13 '13 at 16:25
yes, the pid is correct: this was one of the very many errors I got with strace and I checked that cat /proc/self/smaps fails too.
– mathieu
Feb 13 '13 at 16:33
yes, the pid is correct: this was one of the very many errors I got with strace and I checked that cat /proc/self/smaps fails too.
– mathieu
Feb 13 '13 at 16:33
Please identify the specific distribution of Ubuntu. No issue but I am using a 3.2.0 kernel. Are you sure it is present in the 2.6.x kernels?
– mdpc
Feb 13 '13 at 17:42
Please identify the specific distribution of Ubuntu. No issue but I am using a 3.2.0 kernel. Are you sure it is present in the 2.6.x kernels?
– mdpc
Feb 13 '13 at 17:42
You might try moving this question to the Ubuntu group.
– mdpc
Feb 13 '13 at 17:43
You might try moving this question to the Ubuntu group.
– mdpc
Feb 13 '13 at 17:43
add a comment |
2 Answers
2
active
oldest
votes
From the proc(5) manpage:
This file is only present if the CONFIG_MMU kernel configuration option is enabled.
Check the kernel configuration to see if this option is enabled (look for a config- file in /boot/ or for /proc/config.gz):
% grep CONFIG_MMU /boot/config-$(uname -r)
CONFIG_MMU=y
CONFIG_MMU_NOTIFIER=y
I haveCONFIG_MMU=y(zgrep CONFIG_MMU /proc/config.gz) but still getting the same error -find /proc -name smapsfinds nothing, andsmemshows no output. Additional ideas?
– grebneke
Feb 5 '14 at 15:46
1
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables/proc/<pid>/smapsfor security reasons.
– grebneke
Feb 5 '14 at 18:49
add a comment |
Should enable kernel config:
CONFIG_PROC_PAGE_MONITOR
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f478430%2fproc-xxx-smaps-does-not-exist%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
From the proc(5) manpage:
This file is only present if the CONFIG_MMU kernel configuration option is enabled.
Check the kernel configuration to see if this option is enabled (look for a config- file in /boot/ or for /proc/config.gz):
% grep CONFIG_MMU /boot/config-$(uname -r)
CONFIG_MMU=y
CONFIG_MMU_NOTIFIER=y
I haveCONFIG_MMU=y(zgrep CONFIG_MMU /proc/config.gz) but still getting the same error -find /proc -name smapsfinds nothing, andsmemshows no output. Additional ideas?
– grebneke
Feb 5 '14 at 15:46
1
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables/proc/<pid>/smapsfor security reasons.
– grebneke
Feb 5 '14 at 18:49
add a comment |
From the proc(5) manpage:
This file is only present if the CONFIG_MMU kernel configuration option is enabled.
Check the kernel configuration to see if this option is enabled (look for a config- file in /boot/ or for /proc/config.gz):
% grep CONFIG_MMU /boot/config-$(uname -r)
CONFIG_MMU=y
CONFIG_MMU_NOTIFIER=y
I haveCONFIG_MMU=y(zgrep CONFIG_MMU /proc/config.gz) but still getting the same error -find /proc -name smapsfinds nothing, andsmemshows no output. Additional ideas?
– grebneke
Feb 5 '14 at 15:46
1
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables/proc/<pid>/smapsfor security reasons.
– grebneke
Feb 5 '14 at 18:49
add a comment |
From the proc(5) manpage:
This file is only present if the CONFIG_MMU kernel configuration option is enabled.
Check the kernel configuration to see if this option is enabled (look for a config- file in /boot/ or for /proc/config.gz):
% grep CONFIG_MMU /boot/config-$(uname -r)
CONFIG_MMU=y
CONFIG_MMU_NOTIFIER=y
From the proc(5) manpage:
This file is only present if the CONFIG_MMU kernel configuration option is enabled.
Check the kernel configuration to see if this option is enabled (look for a config- file in /boot/ or for /proc/config.gz):
% grep CONFIG_MMU /boot/config-$(uname -r)
CONFIG_MMU=y
CONFIG_MMU_NOTIFIER=y
answered Feb 13 '13 at 19:21
mgorvenmgorven
26.4k755108
26.4k755108
I haveCONFIG_MMU=y(zgrep CONFIG_MMU /proc/config.gz) but still getting the same error -find /proc -name smapsfinds nothing, andsmemshows no output. Additional ideas?
– grebneke
Feb 5 '14 at 15:46
1
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables/proc/<pid>/smapsfor security reasons.
– grebneke
Feb 5 '14 at 18:49
add a comment |
I haveCONFIG_MMU=y(zgrep CONFIG_MMU /proc/config.gz) but still getting the same error -find /proc -name smapsfinds nothing, andsmemshows no output. Additional ideas?
– grebneke
Feb 5 '14 at 15:46
1
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables/proc/<pid>/smapsfor security reasons.
– grebneke
Feb 5 '14 at 18:49
I have
CONFIG_MMU=y (zgrep CONFIG_MMU /proc/config.gz) but still getting the same error - find /proc -name smaps finds nothing, and smem shows no output. Additional ideas?– grebneke
Feb 5 '14 at 15:46
I have
CONFIG_MMU=y (zgrep CONFIG_MMU /proc/config.gz) but still getting the same error - find /proc -name smaps finds nothing, and smem shows no output. Additional ideas?– grebneke
Feb 5 '14 at 15:46
1
1
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables
/proc/<pid>/smaps for security reasons.– grebneke
Feb 5 '14 at 18:49
Answering my own question for future readers: My kernel uses grsecurity patches. Grsecurity disables
/proc/<pid>/smaps for security reasons.– grebneke
Feb 5 '14 at 18:49
add a comment |
Should enable kernel config:
CONFIG_PROC_PAGE_MONITOR
add a comment |
Should enable kernel config:
CONFIG_PROC_PAGE_MONITOR
add a comment |
Should enable kernel config:
CONFIG_PROC_PAGE_MONITOR
Should enable kernel config:
CONFIG_PROC_PAGE_MONITOR
answered Jun 6 '18 at 8:46
user1979289user1979289
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f478430%2fproc-xxx-smaps-does-not-exist%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Obvious check: is the process ID correct?
– Hennes
Feb 13 '13 at 16:19
Yes, could it be that PID 32376 is gone in the meantime?
– ott--
Feb 13 '13 at 16:25
yes, the pid is correct: this was one of the very many errors I got with strace and I checked that cat /proc/self/smaps fails too.
– mathieu
Feb 13 '13 at 16:33
Please identify the specific distribution of Ubuntu. No issue but I am using a 3.2.0 kernel. Are you sure it is present in the 2.6.x kernels?
– mdpc
Feb 13 '13 at 17:42
You might try moving this question to the Ubuntu group.
– mdpc
Feb 13 '13 at 17:43