From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Butler, Mathew" Newsgroups: gmane.os.tru64.managers Subject: Running out of swap and then system hang Date: Tue, 14 May 2002 16:37:37 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <733D8705A187D511B62300B0D0D15C828ACB63@swires.au.logica.com> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021358295 6707 127.0.0.1 (14 May 2002 06:38:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 May 2002 06:38:15 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 177Vwt-0001k4-00 for ; Tue, 14 May 2002 08:38:15 +0200 Original-Received: (qmail 19256 invoked by uid 5); 14 May 2002 06:38:25 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19248 invoked from network); 14 May 2002 06:38:25 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 14 May 2002 06:38:25 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GW3005TD940TY@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 14 May 2002 02:38:25 -0400 (EDT) Original-Received: from mail1.messagelabs.com (mail1.messagelabs.com [212.125.75.4]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with SMTP id <0GW3009DS93TJG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 14 May 2002 02:38:18 -0400 (EDT) Original-Received: (qmail 21650 invoked from network); Tue, 14 May 2002 06:38:16 +0000 Original-Received: from porgy.logica.co.uk (158.234.250.67) by server-7.tower-1.messagelabs.com with SMTP; Tue, 14 May 2002 06:38:16 +0000 Original-Received: from pearcey.au.logica.com ([128.129.220.79]) by porgy.logica.co.uk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id HAA32220 for ; Tue, 14 May 2002 07:37:43 +0100 Original-Received: by pearcey.au.logica.com with Internet Mail Service (5.5.2448.0) id <2KK4YWHR>; Tue, 14 May 2002 16:37:38 +1000 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2448.0) X-VirusChecked: Checked X-Authentication-warning: porgy.logica.co.uk: Host [128.129.220.79] claimed to be pearcey.au.logica.com Xref: main.gmane.org gmane.os.tru64.managers:164 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:164 I'm working on getting Oracle 9i working on an AS4100 running TRU64 5.1A (Rev. 1885). 2 processors - 1Gb main memory. I've encountered the following problem a couple of times. I edit some static DB initialisation parameters and then restart the DB. Then the server hangs with the console (VT420 terminal) message: "Unable to allocate requested swap space" This leaves me unable to start up a session as the console (terminal) has this message continually scrolling, so I cannot get a prompt. To enable logon I have to halt the system and then re-boot. I can investigate the Oracle issues that cause this (requesting too many resources), but my question is this; How do I configure the swap so that it behaves more rationally. By this I mean, I would like to see the process requesting swap (ie: the Oracle process) to get killed after the O/S has highlighted the swap issue. Or some other solution that will avoid me running out of swap each time I look into the Oracle issue. Here is my swap configuration. Any help or recommendations are gratefully received, Mat. crunchie:?:butlerm > /sbin/swapon -s Swap partition /dev/disk/dsk0b (default swap): Allocated space: 49152 pages (384MB) In-use space: 1 pages ( 0%) Free space: 49151 pages ( 99%) Swap partition /dev/disk/dsk0e: Allocated space: 337513 pages (2.58GB) In-use space: 1 pages ( 0%) Free space: 337512 pages ( 99%) Total swap allocation: Allocated space: 386665 pages (2.95GB) Reserved space: 55926 pages ( 14%) In-use space: 2 pages ( 0%) Available space: 330739 pages ( 85%) Mathew Butler logica Pty Limited, Consultant, Energy & Utilities Division, Australia 17-19 Orion Road, Lane Cove West, Sydney, NSW, 2066 Tel: + 61 (2) 9424 4623 Fax: + 61 (2) 9427 9490 E-Mail: butlergm@logica.com http://www.logica.com This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.