ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGSEGV for stack growth failure on HP-UX


From: Tim Mooney
Subject: Re: SIGSEGV for stack growth failure on HP-UX
Date: Fri, 23 Mar 2001 12:36:20 -0600 (CST)

In regard to: Re: SIGSEGV for stack growth failure on HP-UX, Lutz Jaenicke...:

>> It sounds like there is some environemnt variable
>> that I need to set to increase the stacksize, or
>> could it be something I need to set when I build
>> the program?
>...
>> The machine should have plenty of memory and swapspace,
>> I think it has 256 MBytes of ram and 500MB of swapspace.
>
>The HP-UX kernel has a default stack size of 8MB(?) per process.
>You need to extend maxssiz and recompile the kernel (and reboot).
>You can use SAM to do this.
>(While at it, check out the maxdsiz parameter for the maximum amount
>of data a program can use. It depends on your applications, if the
>default of 64MB is enough or not.)

These are good suggestions, but I would check the shell limits first.
It might just be that the default shell limits are what's causing the
problem.

Assuming Freddy uses `ksh' or `bash' as his shell, doing a

        ulimit -a

followed by reading the man page for ulimit and trying to up all his
personal limits to the max may be worth trying.

It may very well be that he has to resort to upping the kernel params
themselves, but I would try turning the smaller knob first.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

[Prev in Thread] Current Thread [Next in Thread]