[H-GEN] Apache segfaulting... how to debug

Robert Brockway robert at timetraveller.org
Thu Jul 10 00:44:07 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Thu, 10 Jul 2003, Greg Black wrote:

>     * Perhaps Alan Cox said it best: "Computers are state
>       machines.  Threads are for people who can't program state
>       machines."

I particularly like this one.

I can knock some C together but I'm not a programmer, I'm a sysadmin.  As
a result I've always been quiet on heavy programming issues.  But I have
to say I've always been a bit suspicious of the virtues of threads.  To me
they seem to be the wrong way to do the right thing.  There, I said it -
gosh I feel better :)

My main problem with threads is to do with all the memory locking that
apparently has to worry the programmer.  Now maybe threading libraries
have improved since I last learnt a little about them, but in many ways it
just seemed a step backwards.  Let the OS worry about memory locking
issues.  It does when you use fork() [1].

[1] Possibly excluding IPC via shared memory regions?  Don't know enough
about programming IPC to be sure.

Hmm...maybe this is the stuff dreams and flamewars are made of.

Ladies and Gentlemen, bring on your best for I am fork()man, immune to
your strongest flames! :)

Rob

-- 
Robert Brockway B.Sc. email: robert at timetraveller.org  ICQ: 104781119
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list