LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-07-2005, 02:06 PM   #1
laurentius
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
Out of memory??


Hello everybody

After installing a new kernel 2.6.8.1, it seems that I've ran out of memory.
When I boot, I get the message:

"Warning, free space for </userdefined> is <0> which is inferior to <20000>"

After this my linux tries to start the X-server, but it fails and ask-me to reconfigure it again.

What should I do??

Thanks a lot, Llorenç.
 
Old 04-07-2005, 02:15 PM   #2
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 439

Rep: Reputation: 46
I think it is space, rather than memory that is the problem. When you start x, it writes some temporary files in the /tmp directory. You can check space at the command prompt by giving a df. It will tell you the amount of space used, and what is available. The "Warning, free space for </userdefined> is <0> which is inferior to <20000>" is highlighting the lack of space in the root partition.
 
Old 04-08-2005, 03:26 AM   #3
laurentius
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
df command

Yes, it seems i've no space in the root partition. The df command gave me:

Files system...........Size..............Using............Free..........%Used.........Mounted in
/dev/hda1..............2,2G.............2,1G..............0...............100%............../
/dev/hda6..............1,4G.............205M............1,2G.............15%............./home

What should I do?? Can I get space from hda6 and give it to the hda1??
If yes How many should I need?
If not aaaaaarrggg!!! what I do??

Thanks a lot, Llorenç
 
Old 04-08-2005, 04:31 AM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
If you compiled your own kernel you might have a lot of (big) files in /usr/src
Theoretically you can remove all the files and directories there.
Do a 'ls /usr/src' and for each directory listed do a ' du -sh name-of-the-listed-directory' to see
which takes the most space.

Another often big (and somewhat unnecessery) directory is /usr/share/doc

Also do a 'du -sh /tmp' and 'du -sh /var/tmp' to see if you have big temp-files lying around
And 'du -sh /var/log' to check for big log files.

- Peder
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tool to detect number of memory slots, memory module type, speed, and size stefanwolf Linux - Hardware 8 04-22-2013 09:48 AM
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM
RH 8.0 Mapping Virtual Memory to get access to VMIC Reflective Memory PCI card. Merlin53 Linux - Hardware 0 05-05-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration