From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kjell Andresen Newsgroups: gmane.os.tru64.managers Subject: kernel tuning; ulimit problem; tru64 v5.1a with bash Date: Fri, 01 Nov 2002 16:01:47 +0100 (MET) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1036162857 25335 80.91.224.249 (1 Nov 2002 15:00:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2002 15:00:57 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 187dI7-0006aE-00 for ; Fri, 01 Nov 2002 16:00:55 +0100 Original-Received: (qmail 27744 invoked by uid 5); 1 Nov 2002 15:02:03 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27735 invoked by uid 49493); 1 Nov 2002 15:02:03 -0000 Original-Received: from kjell.andresen@usit.uio.no by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-0.2/5.0):. Processed in 0.41961 secs); 01 Nov 2002 15:02:03 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 1 Nov 2002 15:02:02 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4W0092WKF7MB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Nov 2002 10:02:02 -0500 (EST) Original-Received: from mons.uio.no (mons.uio.no [129.240.130.14]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4W008O6KF2OR@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Nov 2002 10:01:51 -0500 (EST) Original-Received: from harald.uio.no ([129.240.20.58]) by mons.uio.no with esmtp (Exim 2.12 #7) id 187dIy-0006Ck-00; Fri, 01 Nov 2002 16:01:48 +0100 Original-Received: from beta.uio.no ([129.240.186.52]) by harald.uio.no with esmtp (Exim 2.12 #1) id 187dIy-001mVG-00; Fri, 01 Nov 2002 16:01:48 +0100 Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:2286 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2286 One of my users need to allocate more space on the stack to run her application (weather forecasting). I have been running dxkerneltuner and loaded some new values into running kernel as well into /etc/sysconfigtab. Checking the latter file lists the maximun values: .. proc: per_proc_stack_size=4398046511104 max_per_proc_stack_size=4398046511104 per_proc_data_size=4398046511104 max_per_proc_data_size=4398046511104 max_per_proc_address_space=4398046511104 per_proc_address_space=4398046511104 Since I'd been strugling some time I rebooted the machine because I were suspecting these varables only to be updated at boot. No difference for her. Now I am able to change the stacksize as root, but not as the user: my_machine /# ulimit -s 4294967296 my_machine /# ulimit -s unlimited my_machine /# ulimit -s 4294967296 my_machine /# su - user12 user12@my_machine ~ $ ulimit -s 128000 user12@my_machine ~ $ ulimit -s unlimited bash: ulimit: cannot modify stack size limit: Not owner user12@my_machine ~ $ ulimit -s 129000 bash: ulimit: cannot modify stack size limit: Not owner This is just to show root is able to change the value: my_machine /# ulimit -s 90 my_machine /# ulimit -s 90 my_machine /# ulimit -s unlimited my_machine /# ulimit -s 4294967296 I'm not an expert in kerneltuning so I need help to solve this matter. Regards, Kjell Andresen Systems administrator, University of Oslo, Norway Center for Information Technology Services and Department of Geophysics