LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Out of memory?? (https://www.linuxquestions.org/questions/mandriva-30/out-of-memory-310803/)

laurentius 04-07-2005 02:06 PM

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ç.

apolinsky 04-07-2005 02:15 PM

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.

laurentius 04-08-2005 03:26 AM

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ç

bunnadik 04-08-2005 04:31 AM

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


All times are GMT -5. The time now is 11:24 AM.