httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <>
Subject Re: newbie thread/process model question in hybrid server
Date Sun, 11 Jul 1999 07:12:12 GMT
On Sat, 10 Jul 1999 13:00:21 +0400 (MSD), Khimenko Victor wrote:

>10-Jul-99 14:39 you wrote:
>BH> On Fri, 09 Jul 1999 14:07:40 -0400, Rodent of Unusual Size wrote:
>>>Brian Havard wrote:
>>>> Why is hybrid more scalable than purely threaded (with proper kernel
>>>> threads)? What advantage is there in dividing the threads between multiple
>>>> processes?
>>>A segfault won't take out 100% of your server's capacity,
>>>for one thing.
>BH> Yeah, fair point but this isn't a problem on OS/2 where I can trap segfaults
>BH> (and other fatal errors like div 0) and just kill the offending thread.
>Not when this "offending thread" already destroyed important structures :-))
>Common address space is common address space...

Hmmm, good point. How prone are pools to corruption if some code writes past
the end of its allocated space (the most common cause of heap corruption)?

If a child's pool could be cleaned up after a segfault, is there much chance
of it working if the above occurs?

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  |  He's a very naughty boy!" - Life of Brian |

View raw message