Linux.com

Tomas Ramirez

Tomas Ramirez

  • Linux.com Member
  • Posts: 17
  • Member Since: 28 May 11
  • Last Logged In: 25 Jul 12

Latest Posts

Posted by
Topic
Post Preview
Posted
  • Tomas Ramirez
    RE: apache make httpd cannot allocate memory
    FYI, my swap space appears to be 0 bytes. As I understand it, swap space sort of extends the actual amount of RAM that can be used, and so here I have 0. This implies that my system was attempting to allocate more than 1GB of RAM. Is there a log file I can check to see how much RAM the system was attempting to allocate at the time that I was running this build? Here is the /proc/meminfo snapshot. MemTotal: 1048576 kB MemFree: 976056 kB Buffers: 0 kB Cached: 0 kB SwapCached: 0 kB Active: 0 kB Inactive: 0 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 1048576 kB LowFree: 976056 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 0 kB Slab: 0 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 0 kB Committed_AS: 0 kB VmallocTotal: 0 kB VmallocUsed: 0 kB VmallocChunk: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 Hugepagesize: 2048 kB
    Link to this post 15 Jan 12

    FYI, my swap space appears to be 0 bytes. As I understand it, swap space sort of extends the actual amount of RAM that can be used, and so here I have 0. This implies that my system was attempting to allocate more than 1GB of RAM.

    Is there a log file I can check to see how much RAM the system was attempting to allocate at the time that I was running this build?

    Here is the /proc/meminfo snapshot.

    MemTotal: 1048576 kB
    MemFree: 976056 kB
    Buffers: 0 kB
    Cached: 0 kB
    SwapCached: 0 kB
    Active: 0 kB
    Inactive: 0 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 1048576 kB
    LowFree: 976056 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 0 kB
    Writeback: 0 kB
    AnonPages: 0 kB
    Mapped: 0 kB
    Slab: 0 kB
    PageTables: 0 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 0 kB
    Committed_AS: 0 kB
    VmallocTotal: 0 kB
    VmallocUsed: 0 kB
    VmallocChunk: 0 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    Hugepagesize: 2048 kB

  • Tomas Ramirez
    RE: apache make httpd cannot allocate memory
    @mfilpot, yeah, I should have written it down. I believe it was an malloc out of memory exception. It didn't really say much else than that. I'm guessing that I have somewhat less than 20GB of free space; that's how much comes with the plan, and I haven't installed anything except for apache. @Rubberman, not sure how much swap space is allocated. I'll check tonight. @marc, is that so? It could see compiles requiring a lot of memory to hold all the definitions and trees. FYI, the installation was successful - happy!
    Link to this post 09 Jan 12

    @mfilpot, yeah, I should have written it down. I believe it was an malloc out of memory exception. It didn't really say much else than that. I'm guessing that I have somewhat less than 20GB of free space; that's how much comes with the plan, and I haven't installed anything except for apache.

    @Rubberman, not sure how much swap space is allocated. I'll check tonight.

    @marc, is that so? It could see compiles requiring a lot of memory to hold all the definitions and trees.

    FYI, the installation was successful - happy!

  • Tomas Ramirez
    apache make httpd cannot allocate memory
    I was doing the build step for apache http server, and I kept getting this error saying something could not allocate memory. I did some searching, and I didn't exactly find an answer, but it seems that the problem may have been that my server just didn't have enough memory to execute the make in one go. So I kept on trying, and that seems to have worked (still working on the apache installation). My question is: do you think the lack of memory was really the problem here? I just setup this virtual dedicated linux server with godaddy. It's the smallest version, economy, but it says it has 1GB of RAM, so I'm surprised.
    Link to this post 08 Jan 12

    I was doing the build step for apache http server, and I kept getting this error saying something could not allocate memory. I did some searching, and I didn't exactly find an answer, but it seems that the problem may have been that my server just didn't have enough memory to execute the make in one go. So I kept on trying, and that seems to have worked (still working on the apache installation).

    My question is: do you think the lack of memory was really the problem here? I just setup this virtual dedicated linux server with godaddy. It's the smallest version, economy, but it says it has 1GB of RAM, so I'm surprised.

  • Tomas Ramirez
    RE: documentation
    ok, thanks
    Link to this post 04 Jan 12

    ok, thanks

  • Tomas Ramirez
    documentation
    Hi, I'm relatively new to linux, and one thing I have trouble with is documentation. Are pro linux users expected to be reading source code for the _real_ documentation? I'm already a windows developer, but I'm still learning to develop on linux, and I want to be skilled like a pro. Here's a specific example. I was just trying to understand how to interpret the list that is printed when I run [code]yum check-update[/code] After searching the man page and yum website, I only saw a description of what the command does, but not how to interpret the output. I know it is supposed to list all packages with updates applied to them, but I do not simply get a list of names, I get a list in the format ' |
    Link to this post 02 Jan 12

    Hi, I'm relatively new to linux, and one thing I have trouble with is documentation. Are pro linux users expected to be reading source code for the _real_ documentation? I'm already a windows developer, but I'm still learning to develop on linux, and I want to be skilled like a pro.

    Here's a specific example. I was just trying to understand how to interpret the list that is printed when I run

    yum check-update

    After searching the man page and yum website, I only saw a description of what the command does, but not how to interpret the output. I know it is supposed to list all packages with updates applied to them, but I do not simply get a list of names, I get a list in the format '<name> | <size> <time>', followed by a list in the format <name> <number>/<number>. Here's an example:
    Loaded plugins: langpacks, presto, refresh-packagekit
    adobe-linux-i386 | 951 B 00:00
    adobe-linux-i386/primary | 11 kB 00:00
    fedora/metalink | 21 kB 00:00
    fedora | 4.2 kB 00:00
    fedora/primary_db | 12 MB 01:23
    fedora/group_gz | 431 kB 00:03
    spotify | 1.3 kB 00:00
    spotify/primary | 1.5 kB 00:00
    updates/metalink | 17 kB 00:00
    updates | 4.7 kB 00:00
    updates/primary_db | 2.9 MB 00:19
    updates/group_gz | 431 kB 00:02
    adobe-linux-i386 17/17
    spotify 3/3

    Since there are two lists, I'm not sure what each one means. Plus, I want to know what the values in each column mean. I have guesses about all of this, but I want to be certain - you know?

  • Tomas Ramirez
    RE: audio keys while screen is locked
    I had music playing and the screen locked, then someone came into my office to talk to me, and I wanted to just mute the box by pressing the mute key. Since the screen was locked (password required), I could not mute.
    Link to this post 07 Sep 11

    I had music playing and the screen locked, then someone came into my office to talk to me, and I wanted to just mute the box by pressing the mute key. Since the screen was locked (password required), I could not mute.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board