Thread memory allocation question

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jun 19 23:21:52 CEST 2009


In message <5C056AE2-7207-42F8-9E4B-0F541DC4B1B2 at slide.com>, Ken Brownfield wri
tes:

>Would a stack overflow take out the whole child, or just that thread?

The kernel would try to extend the stack and provided you are not on
a 32 bit system, it shouldn't ever have a problem with that.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list