»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 08-04-2003, 08:49 PM   #1 (permalink)
Registered User
 
ShawnD1's Avatar
 
Join Date: May 2003
Location: organic chem lab
Posts: 921
ShawnD1 is on a distinguished road
Why does Linux use so much memory?

I put a dual boot on my computer just to toy with Linux for a bit. Win2k uses about 150-200mb of ram when idle (no applications open). Mandrake 9.1 takes a whopping 400mb of ram when idle.

What is that 400mb used for exactly? The only thing I had running was KDE.

ShawnD1 is offline   Reply With Quote
Old 08-04-2003, 08:55 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
Its not actually using it. It allocates it for its use, but if an application requests the memory the kernel gives it up.

From what I"ve read at least
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 08-04-2003, 08:59 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
That doesn't seem right. Just ran Gentoo and it takes 76 on idle. Sound like you have wayyy too many services running.
Redwolf is offline   Reply With Quote
Old 08-04-2003, 09:12 PM   #4 (permalink)
Registered User
 
Gait_Keeper's Avatar
 
Join Date: Feb 2003
Location: Da Bronx, NY
Posts: 1,709
Gait_Keeper is on a distinguished road
Send a message via AIM to Gait_Keeper
interesting, so how do you turn off the sevices?
Gait_Keeper is offline   Reply With Quote
Old 08-04-2003, 09:14 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
In mandrake, there's a section in the Mandrake Control Center. Otherwise, you have to edit some files in /etc .
Redwolf is offline   Reply With Quote
Old 08-04-2003, 09:15 PM   #6 (permalink)
Registered User
 
ShawnD1's Avatar
 
Join Date: May 2003
Location: organic chem lab
Posts: 921
ShawnD1 is on a distinguished road
When I ran top, it said 77 things are running, 1 program active, 76 sleeping, 0 zombie (wtf is zombie?).

All default services.
ShawnD1 is offline   Reply With Quote
Old 08-04-2003, 09:15 PM   #7 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
change /etc/rc.d/rc5.d/S<service name> to
/etc/rc.d/rc5.d/K<service name>

That will keep them from being in memory after you get to run level 5 at least

I may have missed a folder in there
May have to add init.d.. can't remember
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 08-04-2003, 09:17 PM   #8 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
You are correct Vass.

Simply moving the symlinks from S to K will stop them from being started at boot.

Most distros have an applet to do this so that you do not have to manually move the files.

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 08-04-2003, 09:26 PM   #9 (permalink)
Registered User
 
ShawnD1's Avatar
 
Join Date: May 2003
Location: organic chem lab
Posts: 921
ShawnD1 is on a distinguished road
Ok thanks. rohn where did you get that avatar?
ShawnD1 is offline   Reply With Quote
Old 08-04-2003, 09:29 PM   #10 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Made it from a picture of a monkey holding a gun

Probably my best creation ever.

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 02:09 AM.