>> I have an apache server that I built under Solaris 2.6, and run on
>> both Solaris 8 and Solaris 9. I notice that `pstack' on the httpd
>> process on Solaris 8 shows four threads, but on Solaris 9, it shows
>> only a single thread. This is apache_1.3.27, which is supposed to
>> be single-threaded. What's going on?
>You are seeing the daemon threads created by the default libthread
>for its own internal purposes in Solaris 8.
Ah, I see. Nothing to be concerned about, then.
Quote:>In Solaris 9, there is an entirely new libthread.
>(It was the alternate libthread in Solaris 8.)
>It doesn't create any daemon threads.
>The only threads you get are the ones you create.
>If apache_1.3.27 is supposed to be single-threaded,
>why did you link it with -lthread?
I didn't, explicitly. The default configuration includes:
LIBS="$LIBS -lsocket -lnsl -lpthread"
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-