* Swap *must* be enough
@ 1996-09-12 4:00 Jorge Prates
1996-09-13 4:00 ` Curt Smith
1996-09-13 4:00 ` Gleb O. Raiko
0 siblings, 2 replies; 3+ messages in thread
From: Jorge Prates @ 1996-09-12 4:00 UTC (permalink / raw)
Why do I get
# a.out
Unable to obtain requested swap space
Segmentation fault (core dumped)
If the same source compiled on a SG Indigo 32MB RAM 80MB swap
runs perfectly (but much slower I presume)
Thanks for your answers
Jp++
-- You may need this --
# uname -a
OSF1 batata.cenoura.pt V3.2 69.73 alpha
# swapon -s
Swap partition /dev/rz0b (default swap):
Allocated space: 24225 pages (189MB)
In-use space: 3705 pages ( 15%)
Free space: 20520 pages ( 84%)
Total swap allocation:
Allocated space: 24225 pages (189MB)
Reserved space: 8205 pages ( 33%)
In-use space: 3705 pages ( 15%)
Available space: 16020 pages ( 66%)
----- EVENT INFORMATION -----
EVENT CLASS OPERATIONAL EVENT
OS EVENT TYPE 300. SYSTEM STARTUP
SEQUENCE NUMBER 0.
OPERATING SYSTEM DEC OSF/1
OCCURRED/LOGGED ON Tue Sep 3 18:17:12 1996
OCCURRED ON SYSTEM hopper
SYSTEM ID x0007000F
SYSTYPE x00000000
MESSAGE PCXAL keyboard, language
Portugues
Alpha boot: available memory
from
_0x9a8000 to 0x5f16000
Digital UNIX V3.2F (Rev. 69.73);
Wed
_Jul 31 16:29:26 WET DST 1996
physical memory = 96.00
megabytes.
available memory = 86.10
megabytes.
using 360 buffers containing
2.81
_megabytes of memory
Firmware revision: 6.0
PALcode: OSF version 1.21
Digital AlphaStation 500/400
Mem_size = 98435072, consmem =
272
pci0 at nexus
tu0: DECchip 21040-AA: Revision:
2.4
tu0 at pci0 slot 6
tu0: DEC TULIP Ethernet
Interface,
_hardware address: XXXXXXXXX
tu0: console mode: selecting UTP
_(10BaseT) port
tga0 at pci0 slot 7
tga0: depth 8, map size 2MB,
640x480
isp0 at pci0 slot 9
isp0: QLOGIC ISP1020A
isp0: Firmware revision 2.10
(loaded
_by console)
scsi0 at isp0 slot 0
rz0 at scsi0 bus 0 target 0 lun
0 (DEC
_ RZ28D (C) DEC 0008)
rz4 at scsi0 bus 0 target 4 lun
0 (DEC
_ RRD45 (C) DEC 0436)
eisa0 at pci0
ace0 at eisa0
ace1 at eisa0
lp0 at eisa0
fdi0 at eisa0
fd0 at fdi0 unit 0
msb0 at eisa0
gpc0 at eisa0
lvm0: configured.
lvm1: configured.
dli: configured
SuperLAT. Copyright 1993
Meridian
_Technology Corp. All rights
_reserved.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Swap *must* be enough
1996-09-12 4:00 Swap *must* be enough Jorge Prates
@ 1996-09-13 4:00 ` Curt Smith
1996-09-13 4:00 ` Gleb O. Raiko
1 sibling, 0 replies; 3+ messages in thread
From: Curt Smith @ 1996-09-13 4:00 UTC (permalink / raw)
Cc: Jorge.Prates
Jorge Prates (Jorge.Prates@navier.ist.utl.pt) wrote:
: Why do I get
: # a.out
: Unable to obtain requested swap space
: Segmentation fault (core dumped)
Maybe your a.out is demanding more virtual than you think?
Also, your DEC box may still be in the default, agressive swap
mode. If you have the sym-link: /sbin/swapdefault
then try mv'ing it to another name and re-booting. This changes the
swap behavior to "lazy" mode, and will consume less swap and
leave process and data in RAM until more physical RAM is demanded.
Good luck.
curts@compgen.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Swap *must* be enough
1996-09-12 4:00 Swap *must* be enough Jorge Prates
1996-09-13 4:00 ` Curt Smith
@ 1996-09-13 4:00 ` Gleb O. Raiko
1 sibling, 0 replies; 3+ messages in thread
From: Gleb O. Raiko @ 1996-09-13 4:00 UTC (permalink / raw)
Jorge Prates wrote:
>
> Why do I get
> # a.out
> Unable to obtain requested swap space
> Segmentation fault (core dumped)
>
> If the same source compiled on a SG Indigo 32MB RAM 80MB swap
> runs perfectly (but much slower I presume)
> Total swap allocation:
> Allocated space: 24225 pages (189MB)
> Reserved space: 8205 pages ( 33%)
> In-use space: 3705 pages ( 15%)
> Available space: 16020 pages ( 66%)
Remember Alpha is 64-bit architecture and so apps require more memory
than 32-bit box. Output shows you've got approx. 100MB of swap.
Do you really know it's enough ?
It is not easy to understand the problem without info... but I guess...
If you use immediate swap mode, try to switch to lazy. Just remove
/sbin/swapdefault. See swapon(8) for more details.
Regards,
Gleb.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-09-13 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-12 4:00 Swap *must* be enough Jorge Prates
1996-09-13 4:00 ` Curt Smith
1996-09-13 4:00 ` Gleb O. Raiko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox