From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Siebert, Aaron" Newsgroups: gmane.os.tru64.managers Subject: UPDATE: Process reaching some limit Date: Mon, 24 Mar 2003 16:21:23 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4E2CE3FB9E1B744482F6669A9AE2F72E7B8F03@NSTAREXCH1.windows.nagrastar.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1048548100 23420 80.91.224.249 (24 Mar 2003 23:21:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2003 23:21:40 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Mar 25 00:21:37 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18xbG4-000655-00 for ; Tue, 25 Mar 2003 00:21:37 +0100 Original-Received: (qmail 15230 invoked by uid 5); 24 Mar 2003 23:21:30 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15221 invoked by uid 49493); 24 Mar 2003 23:21:30 -0000 Original-Received: from aaron.siebert@nagrastar.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(1.3/5.0):. Processed in 0.618627 secs); 24 Mar 2003 23:21:30 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 24 Mar 2003 23:21:30 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCA00LJC0VSCU@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Mar 2003 18:21:29 -0500 (EST) Original-Received: from windows.nagrastar.com (nstarexch1.windows.nagrastar.com [208.46.80.200]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCA002020VNJ0@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Mar 2003 18:21:24 -0500 (EST) Original-To: "Siebert, Aaron" , tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: UPDATE: Process reaching some limit Thread-Index: AcLyVe5NIoFd8WVbR+6uQot+b/fT0AABAYCQ content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:3769 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3769 After monitoring the execution of the process we notice that it continues to allocate phy memory but virtual memory doesn't seem to move at all. We are using deferred mode for allocation. Here is the output of vmstat and swapon -s Swap partition /dev/rz8b: Allocated space: 135934 pages (1061MB) In-use space: 5765 pages ( 4%) Free space: 130169 pages ( 95%) Total swap allocation: Allocated space: 135934 pages (1061MB) In-use space: 5765 pages ( 4%) Available space: 130169 pages ( 95%) root@VADER # vmstat Virtual Memory Statistics: (pagesize =3D 8192) procs memory pages intr cpu r w u act free wire fault cow zero react pin pout in sy cs us sy id 2 96 27 86K 21K 18K 6M 1M 2M 124K 1M 7622 90 340 565 8 2 90 -----Original Message----- From: Siebert, Aaron=20 Sent: Monday, March 24, 2003 3:37 PM To: tru64-unix-managers@ornl.gov Subject: Process reaching some limit Tru64 4.0D Managers, I am troubleshooting a problem with a process that is crashing during execution with a Malloc error. The developers are telling me that it seems to be when going above 900Mb. Everything that I see says that memory allocation per process is 10Gb. I have included the current proc, vm, and ulimit settings. Please help. Thanks proc subsystem max-proc-per-user =3D 1024 max-threads-per-user =3D 2048 per-proc-stack-size =3D 33554432 max-per-proc-stack-size =3D 33554432 per-proc-data-size =3D 10000000000 max-per-proc-data-size =3D 10000000000 max-per-proc-address-space =3D 10000000000 per-proc-address-space =3D 10000000000 autonice =3D 0 autonice-time =3D 600 autonice-penalty =3D 4 open-max-soft =3D 4096 open-max-hard =3D 4096 ncallout_alloc_size =3D 8192 round-robin-switch-rate =3D 0 round_robin_switch_rate =3D 0 sched-min-idle =3D 0 sched_min_idle =3D 0 give-boost =3D 1 give_boost =3D 1 maxusers =3D 128 task-max =3D 16384 thread-max =3D 32766 num-wait-queues =3D 1024 num-timeout-hash-queues =3D 1024 enable_extended_uids =3D 0 enhanced-core-name =3D 0 enhanced-core-max-versions =3D 16 vm subsystem vm: ubc-minpercent =3D 10 ubc-maxpercent =3D 100 ubc-borrowpercent =3D 20 ubc-maxdirtywrites =3D 5 ubc-nfsloopback =3D 0 vm-max-wrpgio-kluster =3D 32768 vm-max-rdpgio-kluster =3D 16384 vm-cowfaults =3D 4 vm-mapentries =3D 1000000 vm-maxvas =3D 1073741824 vm-maxwire =3D 16777216 vm-heappercent =3D 7 vm-vpagemax =3D 131072 vm-segmentation =3D 1 vm-ubcpagesteal =3D 24 vm-ubcdirtypercent =3D 10 vm-ubcseqstartpercent =3D 50 vm-ubcseqpercent =3D 10 vm-csubmapsize =3D 1048576 vm-ubcbuffers =3D 256 vm-syncswapbuffers =3D 128 vm-asyncswapbuffers =3D 4 vm-clustermap =3D 1048576 vm-clustersize =3D 65536 vm-zone_size =3D 0 vm-kentry_zone_size =3D 16777216 vm-syswiredpercent =3D 80 vm-inswappedmin =3D 1 vm-page-free-target =3D 128 vm-page-free-swap =3D 74 vm-page-free-hardswap =3D 2048 vm-page-free-min =3D 20 vm-page-free-reserved =3D 10 vm-page-free-optimal =3D 74 vm-page-prewrite-target =3D 256 dump-user-pte-pages =3D 0 kernel-stack-guard-pages =3D 1 vm-min-kernel-address =3D 18446744071562067968 malloc-percpu-cache =3D 1 contig-malloc-percent =3D 20 vm-aggressive-swap =3D 0 vm-map-index-count = =3D 64 vm-map-index-rebalance =3D 128 vm-map-index-enabled =3D 1 vm-map-index-hiwat =3D 4 vm-map-index-lowat =3D 2 new-wire-method =3D 1 vm-segment-cache-max =3D 50 vm-page-lock-count =3D 0 gh-chunks =3D 0 gh-min-seg-size =3D 8388608 gh-fail-if-no-mem =3D 1 private-text =3D 0 private-cache-percent =3D 0 ulimit -a reports time(seconds) unlimited file(blocks) unlimited data(kbytes) 9765625 stack(kbytes) 32768 memory(kbytes) 1017656 coredump(blocks) unlimited nofiles(descriptors) 4096 vmemory(kbytes) 9765625 Aaron Siebert IT Systems Engineer Nagrastar w 303-706-5492 f 303-706-5719 Aaron.Siebert@Nagrastar.com=20