Re: Simple MPM is in trunk

2008-11-12 Thread Graham Leggett
harish kulkarni wrote: We are planning to use apache in forward proxy mode, but in case the server response has latency of 2+secs.. we see that to support high traffic say 5K/sec we require huge number of threads. We see a huge CPU usage... Just to take an example to support 3K req/secs we ha

Re: Simple MPM is in trunk

2008-11-11 Thread harish kulkarni
Hi Paul and others, We are planning to use apache in forward proxy mode, but in case the server response has latency of 2+secs.. we see that to support high traffic say 5K/sec we require huge number of threads. We see a huge CPU usage... Just to take an example to support 3K req/secs we have to ha

Re: Simple MPM is in trunk

2008-10-30 Thread Rich Bowen
On Oct 29, 2008, at 07:32, Joe Orton wrote: On Tue, Oct 28, 2008 at 12:12:51AM -0700, Paul Querna wrote: I've added the Simple MPM to trunk: https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ Great! - The name. Someone suggest something better than "Simple". I like namin

Re: Simple MPM is in trunk

2008-10-30 Thread Rich Bowen
On Oct 29, 2008, at 07:32, Joe Orton wrote: On Tue, Oct 28, 2008 at 12:12:51AM -0700, Paul Querna wrote: I've added the Simple MPM to trunk: https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ Great! - The name. Someone suggest something better than "Simple". I like namin

Re: Simple MPM is in trunk

2008-10-30 Thread Bing Swen
Jorge Schrauwen wrote on 2008-10-30 18:46 biggest problem atm is getting the apr dbd drivers for mysql and such. (never got that to work) Personally I'd love to see the httpd project release 64-bit binaries themselves. But it's a lot of work for not much gain!* * tests with the early 2.2 bran

Re: Simple MPM is in trunk

2008-10-30 Thread Jorge Schrauwen
On Thu, Oct 30, 2008 at 10:44 AM, Bing Swen <[EMAIL PROTECTED]> wrote: > Jorge Schrauwen <[EMAIL PROTECTED]> wrote on 2008-10-30 17:03 > > On Thu, Oct 30, 2008 at 5:37 AM, Bing Swen <[EMAIL PROTECTED]> wrote: > >> Paul Querna wrote on 2008-10-30 12:10 >> >>> >>> Bing Swen wrote: >>> Paul Qu

Re: Simple MPM is in trunk

2008-10-30 Thread Bing Swen
Jorge Schrauwen wrote on 2008-10-30 17:03 On Thu, Oct 30, 2008 at 5:37 AM, Bing Swen <[EMAIL PROTECTED]> wrote: Paul Querna wrote on 2008-10-30 12:10 Bing Swen wrote: Paul Querna wrote on 2008-10-28 15:12 Hope you've included 64-bit Windows in mind. Make x64 Windo

Re: Simple MPM is in trunk

2008-10-30 Thread Jorge Schrauwen
On Thu, Oct 30, 2008 at 5:37 AM, Bing Swen <[EMAIL PROTECTED]> wrote: > Paul Querna wrote on 2008-10-30 12:10 > >> >> Bing Swen wrote: >> >>> Paul Querna wrote on 2008-10-28 15:12 >>> >>> Hope you've included 64-bit Windows in mind. Make x64 Windows a >>> first-class citizen in httpd-2.4.x, please

Re: Simple MPM is in trunk

2008-10-29 Thread Bing Swen
Paul Querna wrote on 2008-10-30 12:10 Bing Swen wrote: Paul Querna wrote on 2008-10-28 15:12 Hope you've included 64-bit Windows in mind. Make x64 Windows a first-class citizen in httpd-2.4.x, please. How is it not a first class citizen in 2.2.x? Here are some reasons: 1. Currently Win-x

Re: Simple MPM is in trunk

2008-10-29 Thread Paul Querna
Bing Swen wrote: Paul Querna wrote on 2008-10-28 15:12 I've added the Simple MPM to trunk: https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ ... One of the major departures is that it doesn't use any of the functions from os/unixd/, which I believe is a good long term decisi

Re: Simple MPM is in trunk

2008-10-29 Thread Bing Swen
Paul Querna wrote on 2008-10-28 15:12 I've added the Simple MPM to trunk: https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ ... One of the major departures is that it doesn't use any of the functions from os/unixd/, which I believe is a good long term decision, since I would

Re: Simple MPM is in trunk

2008-10-29 Thread Eric Covener
On Wed, Oct 29, 2008 at 7:32 AM, Joe Orton <[EMAIL PROTECTED]> wrote: > On Tue, Oct 28, 2008 at 12:12:51AM -0700, Paul Querna wrote: >> I've added the Simple MPM to trunk: >> https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ > > Great! > >> - The name. Someone suggest something be

Re: Simple MPM is in trunk

2008-10-29 Thread Joe Orton
On Tue, Oct 28, 2008 at 12:12:51AM -0700, Paul Querna wrote: > I've added the Simple MPM to trunk: > https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ Great! > - The name. Someone suggest something better than "Simple". I like naming projects by grepping the dictionary, and gre

Re: Simple MPM is in trunk

2008-10-28 Thread Paul Querna
Nick Kew wrote: On Tue, 28 Oct 2008 00:12:51 -0700 Paul Querna <[EMAIL PROTECTED]> wrote: I've added the Simple MPM to trunk: https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ One central part of interest (simplified): int simple_child_loop(simple_core_t *sc) { simple_setu

Re: Simple MPM is in trunk

2008-10-28 Thread Paul Querna
Takashi Sato wrote: I built trunk with --with-mpm=simple, and I have found : * simple_io.c line 111 and 145 cause a build falure with --enable-maintainer-mode . * simple_children.c should include simple_children.h. * simple_io_timeot_cb should be static. Fixed in trunk, r708599. Thanks, Pau

Re: Simple MPM is in trunk

2008-10-28 Thread Nick Kew
On Tue, 28 Oct 2008 00:12:51 -0700 Paul Querna <[EMAIL PROTECTED]> wrote: > I've added the Simple MPM to trunk: > https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ One central part of interest (simplified): int simple_child_loop(simple_core_t *sc) { simple_setup_workers(sc);

Re: Simple MPM is in trunk

2008-10-28 Thread Rich Bowen
On Oct 28, 2008, at 03:12, Paul Querna wrote: What is on purpose: - SimpleProcCount and SimpleThreadCount. I hate MaxClients, MinSpareThreads, MaxSpareThreads, ThreadsPerChild, ThreadLimit, StartServers, StartThreads, and ServerLimit. They are all going to die in 2.4. Thoughts? Bravo

Re: Simple MPM is in trunk

2008-10-28 Thread Graham Leggett
Paul Querna wrote: What is on purpose: - SimpleProcCount and SimpleThreadCount. I hate MaxClients, MinSpareThreads, MaxSpareThreads, ThreadsPerChild, ThreadLimit, StartServers, StartThreads, and ServerLimit. They are all going to die in 2.4. Simplification is good :) How will the simple M

Re: Simple MPM is in trunk

2008-10-28 Thread Takashi Sato
I built trunk with --with-mpm=simple, and I have found : * simple_io.c line 111 and 145 cause a build falure with --enable-maintainer-mode . * simple_children.c should include simple_children.h. * simple_io_timeot_cb should be static.

Simple MPM is in trunk

2008-10-28 Thread Paul Querna
I've added the Simple MPM to trunk: https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/ It isn't a fork on the previous MPMs, it is a about as clean room as it can get, and tries to keep every part of the MPM compartmentalized. At the same time it uses APR and APR-Util as much as