From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin C McCarty Newsgroups: gmane.os.tru64.managers Subject: adding swap Date: Thu, 15 Jan 2004 13:27:39 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074194951 5998 80.91.224.253 (15 Jan 2004 19:29:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2004 19:29:11 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jan 15 20:29:08 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AhDAx-0003iD-00 for ; Thu, 15 Jan 2004 20:29:08 +0100 Original-Received: (qmail 853 invoked by uid 5); 15 Jan 2004 19:28:56 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 838 invoked by uid 49493); 15 Jan 2004 19:28:56 -0000 Original-Received: from kmccart6@csc.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 2.045629 secs); 15 Jan 2004 19:28:56 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 15 Jan 2004 19:28:54 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRJ0028MQ44CG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 15 Jan 2004 14:28:53 -0500 (EST) Original-Received: from amer-mta01.csc.com (amer-mta01.csc.com [20.137.2.247]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTPS id <0HRJ00365Q40PB@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 15 Jan 2004 14:28:49 -0500 (EST) Original-Received: from amer-mta01.csc.com (localhost [127.0.0.1]) by amer-mta01.csc.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id i0FJVCII025005 for ; Thu, 15 Jan 2004 14:31:13 -0500 (EST) Original-Received: from csc.com (va-fch32.csc.com [20.6.39.233]) by amer-mta01.csc.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id i0FJV1IK024665 for ; Thu, 15 Jan 2004 14:31:12 -0500 (EST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 X-MIMETrack: Serialize by Router on VA-FCH32/SRV/CSC(Release 6.0.3|September 26, 2003) at 01/15/2004 02:27:07 PM, Serialize complete at 01/15/2004 02:27:07 PM Xref: main.gmane.org gmane.os.tru64.managers:6218 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6218 Hello Managers, I could use some advice on a memory problem please, I just can't figure this one out, I thought I had it but not quite. The scenario is this: ES40 10Gb ram, 2-833CPU , 5.1, we have a custom application that runs alongside oracle, and when the app is run it fails halfway through with a segmentation fault. Oracle and the app call it 'foo' start to steal back and forth the ram available. I have 4Gb of swap space set to disk0b, but I don't understand how to increase it if the partition on either side of dsk0b are used. My other partitions, dsk0g and dsk0h are used. A listing of sysconfigdb proc and vm are: proc: max-proc-per-user = 1024 max-threads-per-user = 4096 maxusers = 2048 task_max = 1024 per_proc_stack_size = 16000000 max_per_proc_stack_size = 4026531840 per_proc_data_size = 8589934592 max_per_proc_data_size = 8589934592 max_per_proc_address_space = 8589934592 per_proc_address_space = 8589934592 # /sbin/sysconfigdb -l vm vm: swapdevice = /dev/disk/dsk0b vm-swap-eager = 1 vm_mapentries = 300 vm_segmentation = 1 A listing of swap is: Swap partition /dev/disk/dsk0b (default swap): Allocated space: 524288 pages (4.00GB) In-use space: 1 pages ( 0%) Free space: 524287 pages ( 99%) Total swap allocation: Allocated space: 524288 pages (4.00GB) Reserved space: 66746 pages ( 12%) In-use space: 1 pages ( 0%) Available space: 457542 pages ( 87%) The advfs filesystem is 6 drives in Raid5 with about 80Gb on dsk0h, but since it is in use and 80% messing with it is out of the queston right? How do you add swap on a box that is using the dsk0h? I have been using the system tuning guide and system administration guide as well. As always I appreciate the help! Kevin McCarty CCNP Computer Sciences Corporation Defense Sector ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ----------------------------------------------------------------------------------------