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

Re: stack size



++++++++ Francesco Pietra 09:38 Tue 22 Apr      ++++++++

With amd 64 etch (NUMA 4 dual-opteron, 24 GB RAM, set with shmmax) it
was suggested (for heavy calculations) to set 'stack size' to
'unlimited'.

At each new boot, I do that with
$ ulimit -s unlimited

thus changing the stack size from usual 8192 kbytes. If there is no
drawback in setting 'stack size' to u'nlimited', how do set that
permanently?

If you have access to the source code, you should be able to recompile
for a very large stack size, if I recall correctly.

You might still have to do the ulimit thing, though.

--
Happiness is twin floppies.


Reply to: