/proc/XXX/smaps does not exist The 2019 Stack Overflow Developer Survey Results Are InDoes...

Why doesn't shell automatically fix "useless use of cat"?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Correct punctuation for showing a character's confusion

Does adding complexity mean a more secure cipher?

Why doesn't UInt have a toDouble()?

Worn-tile Scrabble

What is preventing me from simply constructing a hash that's lower than the current target?

Is it a good practice to use a static variable in a Test Class and use that in the actual class instead of Test.isRunningTest()?

How do PCB vias affect signal quality?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Output the Arecibo Message

Button changing its text & action. Good or terrible?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

Ubuntu Server install with full GUI

Can there be female White Walkers?

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

Likelihood that a superbug or lethal virus could come from a landfill

Loose spokes after only a few rides

What do these terms in Caesar's Gallic Wars mean?

What do hard-Brexiteers want with respect to the Irish border?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

How to support a colleague who finds meetings extremely tiring?



/proc/XXX/smaps does not exist



The 2019 Stack Overflow Developer Survey Results Are InDoes 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;
}







0















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










share|improve this question














bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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


















0















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










share|improve this question














bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • 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














0












0








0








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










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 13 '13 at 15:59









mathieumathieu

16318




16318





bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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











  • 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










2 Answers
2






active

oldest

votes


















0














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





share|improve this answer
























  • 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





    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





















-2














Should enable kernel config:



CONFIG_PROC_PAGE_MONITOR






share|improve this answer
























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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





    share|improve this answer
























    • 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





      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


















    0














    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





    share|improve this answer
























    • 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





      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
















    0












    0








    0







    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





    share|improve this answer













    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






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 13 '13 at 19:21









    mgorvenmgorven

    26.4k755108




    26.4k755108













    • 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





      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





















    • 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





      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



















    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















    -2














    Should enable kernel config:



    CONFIG_PROC_PAGE_MONITOR






    share|improve this answer




























      -2














      Should enable kernel config:



      CONFIG_PROC_PAGE_MONITOR






      share|improve this answer


























        -2












        -2








        -2







        Should enable kernel config:



        CONFIG_PROC_PAGE_MONITOR






        share|improve this answer













        Should enable kernel config:



        CONFIG_PROC_PAGE_MONITOR







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 6 '18 at 8:46









        user1979289user1979289

        1




        1






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...