a half gig of swap and still running out of memory?

a half gig of swap and still running out of memory?

Post by Ronald O. Christia » Mon, 08 Jul 2002 14:53:25



I'm sure I must be missing something.

I have a Celeron 266 system running Red Hat 7.2.  It has a paltry 64
Mbytes memory, but that's all I happen to have at the moment.  I have
a roughly 256 Mbyte swap partition /dev/hda3, and a roughly 300 meg
file on which the system purports to be swapping.  Thus:


Filename                        Type            Size    Used  Priority
/dev/hda3                       partition       257032  24032   -1
/var/swap/swapfile         file            310852      0          -2

vmstat shows this:


   procs                      memory    swap          io     system
cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs
us  sy  id
 3  0  0  24032   7840  32180  35284   0   0     1     1    0     9
1   0   7

When I try to compile the ftape tools, the following happens:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I../../include/ftape
-DLOCALED
IR=\"/usr/local/share/locale\"    -g -O2 -c ftfmt-tapelib.c
Virtual memory exhausted!
make[3]: *** [ftfmt-tapelib.o] Error 1
make[3]: Leaving directory
`/home/roc/backup/ftape/ftape-tools-1.09/src/ftformat
'

I can't believe the system is running out of virtual memory.  It has a
half gig of swap online.  What am I missing?

        Ron

http://roc85.home.attbi.com
"Protesters against the wearing of animal skins by humans
unaccountably fail to throw paint over Hell's Angels."
-- Terry Pratchett

 
 
 

a half gig of swap and still running out of memory?

Post by Ronald O. Christia » Tue, 09 Jul 2002 03:30:11


It was a ulimit problem.  For some bizarre reason, ulimit defaults to
8 megabytes virtual memory, which isn't enough to do very many things.

        Ron

On Sun, 07 Jul 2002 05:53:25 GMT, Ronald O. Christian


>I'm sure I must be missing something.

>I have a Celeron 266 system running Red Hat 7.2.  It has a paltry 64
>Mbytes memory, but that's all I happen to have at the moment.  I have
>a roughly 256 Mbyte swap partition /dev/hda3, and a roughly 300 meg
>file on which the system purports to be swapping.  Thus:


>Filename                        Type            Size    Used  Priority
>/dev/hda3                       partition       257032  24032   -1
>/var/swap/swapfile         file            310852      0          -2

>vmstat shows this:


>   procs                      memory    swap          io     system
>cpu
> r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs
>us  sy  id
> 3  0  0  24032   7840  32180  35284   0   0     1     1    0     9
>1   0   7

>When I try to compile the ftape tools, the following happens:

>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I../../include/ftape
>-DLOCALED
>IR=\"/usr/local/share/locale\"    -g -O2 -c ftfmt-tapelib.c
>Virtual memory exhausted!
>make[3]: *** [ftfmt-tapelib.o] Error 1
>make[3]: Leaving directory
>`/home/roc/backup/ftape/ftape-tools-1.09/src/ftformat
>'

>I can't believe the system is running out of virtual memory.  It has a
>half gig of swap online.  What am I missing?

>    Ron

>http://roc85.home.attbi.com
>"Protesters against the wearing of animal skins by humans
>unaccountably fail to throw paint over Hell's Angels."
>-- Terry Pratchett

http://roc85.home.attbi.com
"Protesters against the wearing of animal skins by humans
unaccountably fail to throw paint over Hell's Angels."
-- Terry Pratchett

 
 
 

1. Page outs with LOTSA memory: why?

I've read up on everything I can regarding Solaris's memory
management, and can't figure out why, with 768 MB of RAM, that it's
still paging out.  It averages between 24 and 100 at any given time.

The only app it's running is a web cache/proxy product from Network
Appliance, therefore there's a huge number of object files it's
managing.  Here's a clip...

# vmstat 3
 procs     memory            page            disk          faults
cpu
 r b w   swap  free  re  mf pi po fr de sr m0 m1 m2 m3   in   sy   cs
us sy id
 0 0 0 758192 325120  0  74 32 18 55  0  5  1  1  1  0  909 2218 1060
6 16 78
 0 1 0 2636576 23768  0   1 42 13 330 0 35  0  0  0  0 1298 5598 3318
17 35 48
 0 0 0 2636568 23760  0   0  8 58 208 0 18  0  0  0  0 1166 3485 1796
14 30 57
 0 0 0 2636568 23768  0   0 13 13 82  0  6  0  0  0  0  927 3943 1680
11 30 59
 0 0 0 2636568 23768  0   0  0 58 186 0 11  0  0  0  0 1408 4989 2033
16 35 50
 0 1 0 2638040 25584  2 306 74 149 301 0 18 11 10 11 0 1556 4339 1722
22 30 49
 0 0 0 2639208 26560  0   0  5 45 45  0  0  0  0  0  0  984 3539 1589
10 29 61
 0 0 0 2639208 26312  0   0 24 42 42  0  0  0  0  0  0 1446 5102 2840
12 35 52

The box is an E-450 with 2 CPUs.  You'd think it was almost
over-powered...

Can anyone shed light on this?

2. Linux PPP on Interaccess

3. Swap utilization (mirroring??) (ration of memory to swap?)

4. suitable backup hardware?

5. Boca printer to ran pin outs

6. Loadleveler Problem

7. Help RAN 16 Port Pin outs

8. ftape problems with Connor Travan 800

9. Is swap space in SCO only swap space or is it consider virtual memory

10. Swap memory , RAM memory and available space disk on a Sun MicroSystem under Solaris 2.6 ?

11. 32 Meg Memory+64 Meg Swap = No free Memory

12. mm/memory.c, 2.4.1 : memory leak with swap cache (updated)

13. Low memory and no swap memory