Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7501891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:41:10+00:00 2026-05-29T20:41:10+00:00

I was setting up a new server (64bit Debian) and, in an attempt to

  • 0

I was setting up a new server (64bit Debian) and, in an attempt to make the apache process as small as possible, disabled any modules that I didn’t need. I then compared the pmap output to apache on a 32bit Debian box with lots more modules turned on. I was very surprised to see that the “optimized” one on the 64bit machine seemed to be consuming much more memory.

pmap -d (just the summary line) shows:

64bit: mapped: 188584K    writeable/private: 14680K    shared: 72K

32bit: mapped: 33824K    writeable/private: 7304K    shared: 888K

Looking more closely at the output. I see differences in the memory allocations for the .so libs. Taking libc as an example…

64bit:

00007f9988e8d000    1380 r-x-- 0000000000000000 008:00001 libc-2.11.3.so

00007f9988fe6000    2044 ----- 0000000000159000 008:00001 libc-2.11.3.so

00007f99891e5000      16 r---- 0000000000158000 008:00001 libc-2.11.3.so

00007f99891e9000       4 rw--- 000000000015c000 008:00001 libc-2.11.3.so

32bit:

b7501000    1364 r-x-- 0000000000000000 008:00001 libc-2.7.so

b7656000       4 r---- 0000000000155000 008:00001 libc-2.7.so

b7657000       8 rw--- 0000000000156000 008:00001 libc-2.7.so

So the difference is the second line in the 64bit output. I can’t find any explanation for those allocations with Mode=”—–” and every .so seems to have one and the size is always 2044 or 2048.

Is this something to do with memory allocation on 64but machines and will I really get considerably less procs per GB of RAM than I would on the 32bit machine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T20:41:13+00:00Added an answer on May 29, 2026 at 8:41 pm

    After more research, I finally found this article which says that these “—–” 2MB lines in the pmap output do not indicate actual memory usage but are a quirk of how the address space is used on 64bit for performance reasons. The summary given is:

    “Applications with lots of shared libraries on 64-bit Linux are reported as using 2MB more per shared library than they actually occupy. This extra doesn’t cost you any RAM or swap space, just address space within each process, which is in plentiful supply on 64-bit platforms. The underlying reason is to do with keeping libraries efficiently sharable, but the implementation is a little odd.”

    I’m still finding it hard to believe it was so hard to find information on this fundamental bug/feature in how process memory usage is reported on 64bit Linux!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am setting up a new server using Apache, Tomcat and Railo ColdFusion. I
I'm setting up a new Apache server. If I set the MaxClients definition to,
I'm setting up a new 64 bit machine to run as a build server.
I'm setting up a new development server and want to install the latest version
I'm setting up our new Dev server, what is the easiest way to assign
I am setting up a new SVN server on Ubuntu Linux. Where is a
Some guys where I work are setting up a new database server for SQL
I have been looking at the new database server we are setting up for
I am new to SQL Server, and I have been tasked with setting permissions
I am setting up a new server to run Jenkins. I have an existing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.