From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Stang Newsgroups: gmane.os.tru64.managers Subject: ulimit - memory: follow up Date: Mon, 22 Dec 2003 12:38:58 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1072122303 4299 80.91.224.253 (22 Dec 2003 19:45:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2003 19:45:03 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Dec 22 20:44:53 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AYVz2-00089h-00 for ; Mon, 22 Dec 2003 20:44:52 +0100 Original-Received: (qmail 26021 invoked by uid 5); 22 Dec 2003 19:44:38 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 26006 invoked by uid 49493); 22 Dec 2003 19:44:38 -0000 Original-Received: from karl.stang@mci.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(-5.7/5.0):. Processed in 0.748131 secs); 22 Dec 2003 19:44:38 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 22 Dec 2003 19:44:37 -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 <0HQB00A4VAUCDC@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Dec 2003 14:44:37 -0500 (EST) Original-Received: from omzesmtp01.mci.com (omzesmtp01.mci.com [199.249.17.7]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HQB00B2XAU8NL@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Dec 2003 14:44:33 -0500 (EST) Original-Received: from pmismtp03.wcomnet.com ([166.38.62.38]) by firewall.mci.com (Iplanet MTA 5.2) with ESMTP id <0HQB002J1AJ80T@firewall.mci.com> for tru64-unix-managers@ornl.gov; Mon, 22 Dec 2003 19:37:56 +0000 (GMT) Original-Received: from pmismtp03.wcomnet.com by pmismtp03.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with SMTP id <0HQB00M01AJ7D5@pmismtp03.wcomnet.com> for tru64-unix-managers@ornl.gov; Mon, 22 Dec 2003 19:37:56 +0000 (GMT) Original-Received: from CAD00144B ([166.34.156.149]) by pmismtp03.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with SMTP id <0HQB00JPGAJ6H3@pmismtp03.wcomnet.com> for tru64-unix-managers@ornl.gov; Mon, 22 Dec 2003 19:37:55 +0000 (GMT) In-reply-to: Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:6069 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6069 Just wanted to post a follow up to my earlier posting. But first I want to thanks everyone who took the time to respond with feedback. The reason ulimit -a is only showing one gig form memory when the max_per_proc_address_space value is four gig is due to the fact that the server only has one gig of physical memory. I opened an iTAR with Oracle to inquire why their installer was posting a warning message to my screen recommending at least two gig of memory (when the Oracle 9i Tru64 install doc only mentions a minimum of 512 physical memory). The response I got was mostly "we aren't sure" but they think if certain ulimit values (including memory) are not set to "unlimited" the warning message will appear during the install. Karl -----Original Message----- From: Karl Stang [mailto:karl.stang@mci.com] Sent: Thursday, December 18, 2003 3:47 PM To: tru64-unix-managers@ornl.gov Subject: ulimit - memory I need to apply an Oracle patch on a V5.1 Tru64 server that I recently became responsible for. Oracle says I need to increase my data and memory ulimits. I was able to increase the data limit, but when attempting to increase the memory ulimit I get: server prompt> ulimit -m 2045680 ksh: ulimit: exceeds allowable limit It is my understanding that max_per_proc_address_space is the kernel setting for the hard limit, but it is set to 4,294,967,296. Searches on Google and Oracle's knowledge base have not been fruitful. What am I missing? Thanks in advance. server prompt> ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 1048576 stack(kbytes) 32768 memory(kbytes) 1016368 coredump(blocks) unlimited nofiles(descriptors) 4096 vmemory(kbytes) 4194304 server prompt> ulimit -Hm 1016368 server prompt> /sbin/sysconfig -q proc proc: max_proc_per_user = 64 max_threads_per_user = 256 per_proc_stack_size = 33554432 max_per_proc_stack_size = 33554432 per_proc_data_size = 201326592 max_per_proc_data_size = 1073741824 max_per_proc_address_space = 4294967296 per_proc_address_space = 4294967296 executable_stack = 0 autonice = 0 autonice_time = 600 autonice_penalty = 4 open_max_soft = 4096 open_max_hard = 4096 ncallout_alloc_size = 8192 round_robin_switch_rate = 0 sched_min_idle = 0 give_boost = 1 maxusers = 1024 num_wait_queues = 1024 num_timeout_hash_queues = 1024 enhanced_core_name = 0 enhanced_core_max_versions = 16 exec_disable_arg_limit = 0 Karl Stang Enterprise Production Services DBA karl.stang@mci.com v622 - 0144 (719) 265 - 0144 1-800-PAGE-MCI #1144974