From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5868c9f2fe168f02 X-Google-Attributes: gidfee84,public From: Jeff Sullivan Subject: Re: Memory Allocation entering Function Date: 1998/01/06 Message-ID: <34B25741.48F7C9BF@zk3.dec.com>#1/1 X-Deja-AN: 313325202 References: <68dnko$1v1@wl-web.wl.wpafb.af.mil> <34B11F20.DB116022@zk3.dec.com> Content-Type: multipart/mixed; boundary="------------118170E98F36E2A4E62E8AF9" Organization: Digital Equipment Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 This is a multi-part message in MIME format. --------------118170E98F36E2A4E62E8AF9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I received the following from a colleague when asked about this problem: > This is very likely a problem with their process limits. > They need to first bump their stack limits for the process and > if that's not enough, bump the system limits in /etc/sysconfigtab. You should be able to check this using the "limit" command in the C-shell. The default stacksize may be around 2048 kbytes. Try to do a "limit stacksize unlimited" in your shell and then re-run the (crashing) application. You could then experiment with different values. See man csh(1) and search for "limit" or man ulimit(1) for more information. If this works, then the quickest fix might be to write a shell "wrapper" that bumps up the stacksize and then invokes the program. The change should affect only that shell. For example: % ulimit -s 2048 % cat t.csh #! /bin/csh ulimit -s limit stacksize unlimited ulimit -s % t.csh 2048 32768 % ulimit -s 2048 > They will also need to link with raised -T and -D limits to relocate > the program in an address space that can accomodate the larger stack. > The default limits are -T 120000000 and -D 140000000. They can > be bumped to -T 200000000 and -D 220000000. > Anyone using large stacks has to address raising all these limits. Let us know if any of this helps. Thanks, -Jeff --------------118170E98F36E2A4E62E8AF9 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jeff Sullivan Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Jeff Sullivan n: Sullivan;Jeff org: Digital Equipment Corporation email;internet: jps@zk3.dec.com title: Principal Software Engineer note;quoted-printable:http://www.digital.com/=0D=0A= x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------118170E98F36E2A4E62E8AF9--