[CentOS] What is the stack size?

Wed Mar 14 11:35:39 UTC 2007
James Pearson <james-p at moving-picture.com>

Robert Moskowitz wrote:
> I am installing the hsfmodem drivers for my ALI 5457 softmodem from 
> http://www.linuxant.com/drivers/hsf/full/downloads-rhel40-i686.php
> The following warning is supplied:
> *Note:* The default stack size in original Red Hat Enterprise Linux 4.0 
> kernels is only 4K. Because some drivers require more stack space to 
> operate properly, we recommend using a kernel with a larger stack size 
> if you experience problems or crashes. You can either rebuild your own 
> custom kernel, or *get one of our replacement "stk16" kernels provided 
> for your convenience* 
> <http://www.linuxant.com/drivers/hsf/full/downloads-rhel40-kernel-i686.php>. 
> They are identical to the Red Hat kernels, except that the stack size 
> was increased to 16K.
> I ASSuME that Centos 4 also has a 4K stack?  Should I increase my stack 
> size to 16K and if so, how?

CentOS4 uses a 4K stack size on i686 - you can't alter it at run time - 
as the link suggests, you might want to install one of their modified 
kernels ...

James Pearson