🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.bugs
5 messages
5 total messages Started by Jamie Gulden Tue, 05 Jan 1993 22:05
panic faulting when out of memory
#47
Author: Jamie Gulden
Date: Tue, 05 Jan 1993 22:05
28 lines
1529 bytes
This probably isn't a bug but...

Does IRIX (4.0.4) normally panic fault if it runs out of swap
space?  I've got a short 5-7 line program that I try to find
out how much memory I can allocate and it keeps panic faulting.

The syslog has a bunch of these:

Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C514 (page still in memory)
Jan  5 13:52:35 nagel unix: 
Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C834 (page still in memory)
Jan  5 13:52:35 nagel unix: 
Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3CA9C (page still in memory)
Jan  5 13:56:53 nagel syslogd: restart


And then the system comes up with this:

Jan  5 13:57:04 nagel syslogd: restart
Jan  5 13:57:05 nagel savecore: reboot after panic: 
Jan  5 13:57:05 nagel PANIC: swapoutpts - i/o error in swap


So, is there a disk I/O problem, did we tell it to use more blocks
than there actually are, or something else I'm missing.

Thanks, Jamie
Re: panic faulting when out of memory
#48
Author: Dave Olson
Date: Wed, 06 Jan 1993 04:04
41 lines
2282 bytes
In <Jan05.220529.70886@yuma.ACNS.ColoState.EDU> jamison@yuma.ACNS.ColoState.EDU (Jamie Gulden) writes:


| This probably isn't a bug but...
| 
| Does IRIX (4.0.4) normally panic fault if it runs out of swap
| space?  I've got a short 5-7 line program that I try to find
| out how much memory I can allocate and it keeps panic faulting.
| 
| The syslog has a bunch of these:
| 
| Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C514 (page still in memory)
| Jan  5 13:52:35 nagel unix: 
| Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C834 (page still in memory)
| Jan  5 13:52:35 nagel unix: 
| Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3CA9C (page still in memory)
| Jan  5 13:56:53 nagel syslogd: restart
| 
| 
| And then the system comes up with this:
| 
| Jan  5 13:57:04 nagel syslogd: restart
| Jan  5 13:57:05 nagel savecore: reboot after panic: 
| Jan  5 13:57:05 nagel PANIC: swapoutpts - i/o error in swap
| 
| 
| So, is there a disk I/O problem, did we tell it to use more blocks
| than there actually are, or something else I'm missing.

It isn't an out of swap problem at all.  There is a disk error
of some kind, *or* you have somehow configured the system to believe
that there is more swap space than will fit on that partition.

There are a couple of places in the swapping code where the system
is fully committed, and can't recover on an error; in most cases it
will just kill the process that it was trying to swap (or retry it
later).
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
How to check and change swapspace (was Re: panic faulting when
#50
Author: Dong Chen
Date: Wed, 06 Jan 1993 09:19
11 lines
958 bytes
In article <uh43lv0@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
>
>It isn't an out of swap problem at all.  There is a disk error
>of some kind, *or* you have somehow configured the system to believe
>that there is more swap space than will fit on that partition.
>
Sorry this is a FAQ, but I cann't find it from my saved old news files.

How do you check the swap space and change it ?
Also, is there a way to make sure weather it's a disk error or just swap.
Thanks,
Re: How to check and change swapspace (was Re: panic faulting when
#56
Author: Dave Olson
Date: Wed, 06 Jan 1993 17:58
22 lines
1741 bytes
In <63172@mimsy.umd.edu> dong@umiacs.umd.edu (Dong Chen) writes:

| In article <uh43lv0@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
| >
| >It isn't an out of swap problem at all.  There is a disk error
| >of some kind, *or* you have somehow configured the system to believe
| >that there is more swap space than will fit on that partition.
| >
| 
| How do you check the swap space and change it ?
| Also, is there a way to make sure weather it's a disk error or just swap.

/etc/swap -l will tell you.  If there is only one swap area, it is
the configured swap area from the kernel, and that shouldn't be an
issue.  If it is a secondary swap area (as seems likely, since it was
on disk 3), then some rc script in /etc/rc2.d most likely has been
added locally that has swap -a commands in it.  Check the values
against prtvtoc -s dks0d3vh (or whichever disk is appropriate).
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Re: panic faulting when out of memory
#58
Author: Scott Machtmes
Date: Wed, 06 Jan 1993 18:25
52 lines
2906 bytes
In article <uh43lv0@zuni.esd.sgi.com>, olson@anchor.esd.sgi.com (Dave Olson) writes:
|> In <Jan05.220529.70886@yuma.ACNS.ColoState.EDU> jamison@yuma.ACNS.ColoState.EDU (Jamie Gulden) writes:
|> 
|> 
|> | This probably isn't a bug but...
|> | 
|> | Does IRIX (4.0.4) normally panic fault if it runs out of swap
|> | space?  I've got a short 5-7 line program that I try to find
|> | out how much memory I can allocate and it keeps panic faulting.
|> | 
|> | The syslog has a bunch of these:
|> | 
|> | Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C514 (page still in memory)
|> | Jan  5 13:52:35 nagel unix: 
|> | Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3C834 (page still in memory)
|> | Jan  5 13:52:35 nagel unix: 
|> | Jan  5 13:52:35 nagel unix: dks0d3s1: Swap out failed blkno 0x3CA9C (page still in memory)
|> | Jan  5 13:56:53 nagel syslogd: restart
|> | 
|> | 
|> | And then the system comes up with this:
|> | 
|> | Jan  5 13:57:04 nagel syslogd: restart
|> | Jan  5 13:57:05 nagel savecore: reboot after panic: 
|> | Jan  5 13:57:05 nagel PANIC: swapoutpts - i/o error in swap
|> | 
|> | 
|> | So, is there a disk I/O problem, did we tell it to use more blocks
|> | than there actually are, or something else I'm missing.
|> 
|> It isn't an out of swap problem at all.  There is a disk error
|> of some kind, *or* you have somehow configured the system to believe
|> that there is more swap space than will fit on that partition.
|> 
|> There are a couple of places in the swapping code where the system
|> is fully committed, and can't recover on an error; in most cases it
|> will just kill the process that it was trying to swap (or retry it
|> later).
|> --

I also had a customer that had added more swap using the " swap -a " command and
had set the swap boundary's slightly overlapping on another partition causing 
the very same symptoms.

  ---------------------------------------------------------------- 
Scott Machtmes, System Support Engineer, Mt.View,CA,Silicon Graphics.
    Internet         : scottm@sgi.com
    UUCP             : {sun,decwrl,pyramid,ucbvax}!sgi!scottm
    Telephone        : (415) 390-3913
    US Mail          : 2171 Landings Drive, Mountain View, CA 94043
    FAX              : (415) 960-3393
    SGI office mail  : Mail Stop DWR-275
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads