Apache configuration question

2002-04-29 Thread Lawrence.Tilly

Good morning, all.

I'm passing this on from a co-worker who's having a headache. If you need
any additional info to answer this please ask.  Anyway...
Apache (1.3.23)  by default appears to run single threaded.  This apparently
can be changed at compile time, but we're having trouble finding how.

Any info?

Lawrence

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Apache configuration question

2002-04-29 Thread Benjamin Scott

On Mon, 29 Apr 2002, at 9:31am, [EMAIL PROTECTED] wrote:
 Apache (1.3.23)  by default appears to run single threaded.

  Every Apache I've ever seen (on Unix, anyway) uses multiple processes, not
threads.  The number of processes (servers) is controlled by the
MinSpareServers, MaxSpareServers, StartServers, and MaxClients directives.

  Things may be different on Win32, and/or with Apache 2.0, but I'm assuming
neither of those apply here.

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



RE: Apache configuration question

2002-04-29 Thread Tilly, Lawrence

Thanks to Kurth  Ben for the info so far.  I'm passing that on to my chum
working the Apache issue. We are running on Unix (Sun for this particular
box) and I believe we are considering v2, but we're stuck w/ 1.3.23 for now.

Any more info is appreciated greatly.

-Lawrence

-Original Message-
From: Benjamin Scott [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 9:40 AM
To: Greater NH Linux Users' Group
Subject: Re: Apache configuration question


On Mon, 29 Apr 2002, at 9:31am, [EMAIL PROTECTED] wrote:
 Apache (1.3.23)  by default appears to run single threaded.

  Every Apache I've ever seen (on Unix, anyway) uses multiple processes, not
threads.  The number of processes (servers) is controlled by the
MinSpareServers, MaxSpareServers, StartServers, and MaxClients directives.

  Things may be different on Win32, and/or with Apache 2.0, but I'm assuming
neither of those apply here.

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not
|
| necessarily represent the views or policy of any other person, entity or
|
| organization.  All information is provided without warranty of any kind.
|


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Apache configuration question

2002-04-29 Thread Rodent of Unusual Size

[EMAIL PROTECTED] wrote:
 
 Apache (1.3.23)  by default appears to run single threaded.

Correct.

 This apparently can be changed at compile time

Incorrect.  Apache 1.3 is always and immutably single-threaded,
except on Windows.
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

Millennium hand and shrimp!

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



RE: Apache configuration question

2002-04-29 Thread Kenneth E. Lussier

On Mon, 2002-04-29 at 09:49, Tilly, Lawrence wrote:
 Thanks to Kurth  Ben for the info so far.  I'm passing that on to my chum
 working the Apache issue. We are running on Unix (Sun for this particular
 box) and I believe we are considering v2, but we're stuck w/ 1.3.23 for now.
 
 Any more info is appreciated greatly.

There is some info on threading (HAVE_PTHREAD_SERIALIZED_ACCEPT) in the
performance tuning notes at
http://httpd.apache.org/docs/misc/perf-tuning.html. If you do a search
on Apache.org's documentation site, you might find more on it.

FYI,
Kenny
-- 

Tact is just *not* saying true stuff -- Cordelia Chase

Kenneth E. Lussier
Sr. Systems Administrator
Zuken, USA
PGP KeyID CB254DD0 
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCB254DD0



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



RE: Apache configuration question

2002-04-29 Thread Lawrence.Tilly

Well, it looks like Ken nailed our pretty well.  Time to talk to the
powers-that-be to bring us up to date on our version.  

-Lawrence

-Original Message-
From: Rodent of Unusual Size [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:12 AM
To: Greater New Hampshire Linux Users
Subject: Re: Apache configuration question


[EMAIL PROTECTED] wrote:
 
 Apache (1.3.23)  by default appears to run single threaded.

Correct.

 This apparently can be changed at compile time

Incorrect.  Apache 1.3 is always and immutably single-threaded,
except on Windows.
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

Millennium hand and shrimp!

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Apache configuration question

2002-04-29 Thread Kenneth E. Lussier

On Mon, 2002-04-29 at 10:12, Rodent of Unusual Size wrote:

  This apparently can be changed at compile time
 
 Incorrect.  Apache 1.3 is always and immutably single-threaded,
 except on Windows.

It's not that it can be configured at compile time, per se. However,
there are hacks to the http_main.c that can be done to make it threaded,
and there are some third party patches that will do it for you. I'm not
an expert on the subject (like Ken is ;-), but according to the
performance tuning docs, it can be done. However, I'm also seeing that
multi-threaded has worse performance than single-threaded.

C-Ya,
Kenny 
-- 

Tact is just *not* saying true stuff -- Cordelia Chase

Kenneth E. Lussier
Sr. Systems Administrator
Zuken, USA
PGP KeyID CB254DD0 
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCB254DD0



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



RE: Apache configuration question

2002-04-29 Thread Benjamin Scott

On Mon, 29 Apr 2002, at 10:11am, [EMAIL PROTECTED] wrote:
 Incorrect.  Apache 1.3 is always and immutably single-threaded,
 except on Windows.

 Well, it looks like Ken nailed our pretty well.  Time to talk to the
 powers-that-be to bring us up to date on our version.

  Whoa.  What are you trying to accomplish here?  I am getting the
impression that you are operating under the assumption that you need
multi-threaded operation for some reason.  Is that impression correct?  
Because the assumption may not be.  Apache does quite well as a
single-threaded, multi-process server.  Is there a reason you want
threading?

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



RE: Apache configuration question

2002-04-29 Thread Tilly, Lawrence

Actually, there is...but my explanation would probably not be very clear (not to 
mention probably embarrassing).

I deal with this mostly from the point of view of the WebSphere Application Servers 
and head up the performance monitoring drive. I'll ask my partner-in-crime who's 
running w/ the Apache issue to write me up a little note about the problem and I'll 
pass it on.

-Lawrence

-Original Message-
From: Benjamin Scott [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 10:19 AM
To: Greater NH Linux Users' Group
Subject: RE: Apache configuration question


On Mon, 29 Apr 2002, at 10:11am, [EMAIL PROTECTED] wrote:
 Incorrect.  Apache 1.3 is always and immutably single-threaded,
 except on Windows.

 Well, it looks like Ken nailed our pretty well.  Time to talk to the
 powers-that-be to bring us up to date on our version.

  Whoa.  What are you trying to accomplish here?  I am getting the
impression that you are operating under the assumption that you need
multi-threaded operation for some reason.  Is that impression correct?  
Because the assumption may not be.  Apache does quite well as a
single-threaded, multi-process server.  Is there a reason you want
threading?

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Apache configuration question

2002-04-29 Thread Rodent of Unusual Size

Tilly, Lawrence wrote:
 
 Any more info is appreciated greatly.

Like what?  Maybe the 'how it works' presentation at
URL:http://Ken.Coar.Org/Podium/ might be useful..
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

Millennium hand and shrimp!

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Apache configuration question

2002-04-29 Thread Rodent of Unusual Size

[EMAIL PROTECTED] wrote:
 
 Well, it looks like Ken nailed our pretty well.  Time to talk to the
 powers-that-be to bring us up to date on our version.

Why is threading such a big issue?  Is it just a buzzword 'gotta have'
for someone, or is there technical justification?
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

Millennium hand and shrimp!

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Apache configuration question

2002-04-29 Thread Rodent of Unusual Size

Tilly, Lawrence wrote:
 
 I deal with this mostly from the point of view of the WebSphere
 Application Servers and head up the performance monitoring drive.

Ehh..  WAS isn't supported on Apache 2 yet AFAIK.  Not on Linux,
anyway.  OS/390, maybe (using a version of 2.0 more than a year old),
but not anywhere else.
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

Millennium hand and shrimp!

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*