redetecting changed DIMM RAM in Redhat box

If I remove or add additional DIMM memory chips into a Redhat (RHES 5.4)
box (DL380 Proliant G7), do I need to issue a command for the server
to redetect the reduced / increased memory?

If so, what's the command?  How do I check it's been detected &
the OS can utilize the additional memory inserted?

What about the swap size?  Do I need to adjust it as well ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

No, the BIOS will detect the memory change and the RHEL can get the change from BIOS.
So no need to run any command for memory change.

But you might want to adjust swap size if the system swap quite often,
1) your server does not have hot-lug memory, you need to shut it down.
2) if i browse web correctly it has 2 sets of 2x3 sockets, so you need to put a set of 2 or three  same modules at the time.
If you stuck it in correctly, it should get recognized.

You can issue this commands to check what you have.


Open in new window

You can also check with the following commands.
dmidecode --type memory

Open in new window

OR you can issue these
free -m

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Acronis Data Cloud 7.8 Enhances Cyber Protection

A closer look at five essential enhancements that benefit end-users and help MSPs take their cloud data protection business further.

You can increase or decrease your swap size.  On Red Hat, you can increase or decrease your swap with a number of ways.

Read this for more info and all commands /ways you may do it.
sunhuxAuthor Commented:

Thanks a lot guys.

Hi Gheist,

> it has 2 sets of 2x3 sockets, so you need to put a set of 2 or three  same modules at the time
You mean for Proliant G7, I'll need to insert 2 pcs of DIMM of the same capacity ?  Can you
elaborate on this?  So if I insert 4 pcs of DIMM of the same capacity/type, it's OK?
they are placed in 2x3 array if i got idea right

so you place 2 of them where it is 2 slots in a direction.

PS there is speciall config that a single module works in lowest numbered slot

PPS 3-channel config is 1,5x faster that 2-channel
check for module layout.
HP proliant firmware CD might be necessary to force redetection.
sunhuxAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.