New User: Exhausted memory

New User: Exhausted memory

Post by Rachel Polansk » Fri, 07 Jul 1995 04:00:00



Hello,

Well I got the slackware distribution up and running on my 386 sx16!

I have 4MB RAM and a 40MB HD.

I gave the swap file 10MB on /dev/hda3 and  5MB on /dev/hda1

Now, I did swapon -a to get both areas swapping for 15 megs.

When I ran the Man pages to setup Minicom, I got "cannot allocate 10 buffers"
and the process exited.

Also I get "Virtual Memory exhausted" errors a lot.

I know my machine is tiny, but it works, except I am not convinced
I am getting the most out of my virtual memory.

How can I ensure that I am swapping to all the swap partitions?
Is there a program the will give me the status of the disk?

Do I have to call swapon everytime I boot up?

Please advise

bye

Rachel
--

                 http://www.zeta.org.au/~grove/grove.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

New User: Exhausted memory

Post by Uwe Bonn » Fri, 07 Jul 1995 04:00:00



> Hello,

> Well I got the slackware distribution up and running on my 386 sx16!
> I have 4MB RAM and a 40MB HD.
> I gave the swap file 10MB on /dev/hda3 and  5MB on /dev/hda1
> Now, I did swapon -a to get both areas swapping for 15 megs.
> When I ran the Man pages to setup Minicom, I got "cannot allocate 10
> buffers" and the process exited.
> ...
> How can I ensure that I am swapping to all the swap partitions?
> Is there a program the will give me the status of the disk?

> Do I have to call swapon everytime I boot up?

Check with "free" or "top" or " cat /proc/mem" the amount of RAM and swap.
Have a look at the /rtc/rc.d/rc.* files to see how you can do jobs each time
yo start, stop or change the state of your machine.
Are you running X? Then I would advise to use more swap.
Running X, some daemons and emacs I have:
elektron:~/tmp> free
             total       used       free     shared    buffers
Mem:         15200      14860        340       4484       2764
-/+ buffers:            12096       3104
Swap:        31320       4868      26452  
--

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

 
 
 

New User: Exhausted memory

Post by Janne Blomqvi » Tue, 11 Jul 1995 04:00:00


: Hello,

: Well I got the slackware distribution up and running on my 386 sx16!

: I have 4MB RAM and a 40MB HD.

: I gave the swap file 10MB on /dev/hda3 and  5MB on /dev/hda1

: Now, I did swapon -a to get both areas swapping for 15 megs.

: When I ran the Man pages to setup Minicom, I got "cannot allocate 10 buffers"
: and the process exited.

: Also I get "Virtual Memory exhausted" errors a lot.

: I know my machine is tiny, but it works, except I am not convinced
: I am getting the most out of my virtual memory.

: How can I ensure that I am swapping to all the swap partitions?
: Is there a program the will give me the status of the disk?

: Do I have to call swapon everytime I boot up?

: Please advise

: bye

: Rachel
: --

:                  http://www.zeta.org.au/~grove/grove.html

: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Well, I think it's better to use just one swap file (Or even better, a
swap partition). And yes, you must do a swapon every time the machine boots.
But why don't you put the /sbin/swapon -a in the /etc/rc.d/rc.S or
/etc/rc.d/rc.local file?? (It's like dos:s autoexec.bat if you're new to
linux). BTW, if you're low on hard disk space (I think you are with 40Mb
:)) you can use Ms-Windows swapfile for linux if you don't have a swap
partition. Good Luck!
                                -Janne Blomqvist

 
 
 

New User: Exhausted memory

Post by Karsten Fra » Wed, 19 Jul 1995 04:00:00


: Hello,

: Well I got the slackware distribution up and running on my 386 sx16!

: I have 4MB RAM and a 40MB HD.

: I gave the swap file 10MB on /dev/hda3 and  5MB on /dev/hda1

: Now, I did swapon -a to get both areas swapping for 15 megs.

: When I ran the Man pages to setup Minicom, I got "cannot allocate 10 buffers"
: and the process exited.

: Also I get "Virtual Memory exhausted" errors a lot.

: I know my machine is tiny, but it works, except I am not convinced
: I am getting the most out of my virtual memory.

: How can I ensure that I am swapping to all the swap partitions?
: Is there a program the will give me the status of the disk?
Yes, there are 2 programs :
 "free" will show you the real and virtual memory currently used
 "top" (if installed) will do even more : it shows you the
                amount of memory (and CPU-time and a lot more) for every process

But the bad message at the end :
        I failed to install and run Linux on a 4 MB machine, too.
        I just don't know why (I am using Linux on several other machines
        without problems...)

Bye

Karsten
--
Karsten Frank                      
Sietec Systemtechnik GmbH & Co. OHG  V030/386-24027
Nonnendammallee 101  D-13629 Berlin  X030/386-28321

---------------------------------------------------
"/earth is 98% full ... please delete anyone you can."

 
 
 

1. Virtual memory exhausted while compiling new kernel...

 Hello folks...

 I have a 386/40 w/ 8MB RAM on which I installed the Linux 1.2.1 kernel
from a Mitsumi CD not long ago. I have a 32 meg partition for swap, and
another 32 megs of swap in the root filesystem, yet when I try to compile
the 1.2.9 kernel, I get "Virtual memory exhausted" and the compile exits.
This is my first ever attempt at rebuilding a kernel, but I followed the
kernel-HOWTO very carefully. Can anyone make a suggestion?

                Thanks in advance.

2. vim question

3. Buildin new kernel ==> virtual memory exhausted

4. US-CA ORACLE DBA TO 80K

5. Kernel Upgrade : Virtual memory exhausted ?

6. SGI Dos attack??

7. virtual memory exhausted ,v2.2.5

8. local interprocess communication

9. Help! GCC V2.6.3 Error: virtual memory exhausted ...

10. virtual memory exhausted??

11. ld: virtual memory exhausted

12. Virtual Memory Exhausted

13. virtual memory exhausted