[VOTE] Release Apache HTTP server 2.3.1-alpha

2009-01-02 Thread Paul Querna
Test tarballs for Apache httpd 2.3.1-alpha are available at: http://httpd.apache.org/dev/dist/ Your votes please; ±1 [ ] Release httpd-2.3.0 as Alpha Vote closes at 7:00 UTC on Thursday January 8 2009. Thanks, Paul

Re: [VOTE] Release Apache HTTP server 2.3.1-alpha

2009-01-02 Thread Paul Querna
Paul Querna wrote: Test tarballs for Apache httpd 2.3.1-alpha are available at: http://httpd.apache.org/dev/dist/ Your votes please; ±1 [ ] Release httpd-2.3.0 as Alpha This should actually be Release httpd-2.3.1 as Alpha, but I fail at editing copied text. I hope everyone

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-03 Thread Paul Querna
Rainer Jung wrote: During testing 2.3.1 I noticed a lot of errors of type EMFILE: Too many open files. I used strace and the problem looks like this: - The test case is using ab with HTTP keep alive, concurrency 20 and a small file, so doing about 2000 requests per second.

Re: [VOTE] Release Apache HTTP server 2.3.1-alpha

2009-01-08 Thread Paul Querna
Vote closed with one -1, and no other votes. I guess 2.3.1 was DOA. I think the issues that killed it have been fixed in trunk. Thoughts on starting 2.3.2 early next week? -Paul Paul Querna wrote: Test tarballs for Apache httpd 2.3.1-alpha are available at: http://httpd.apache.org

Re: Longevity of versions

2009-01-15 Thread Paul Querna
William A. Rowe, Jr. wrote: rts wrote: how long will version 2.0 be available for use? Always? or until a certain date generally speaking? Forever. It's open source, if it's broke, you get to keep both pieces (and fix them if you like). If you see http://archives.apache.org/ the foundation

Re: svn commit: r736809 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-01-22 Thread Paul Querna
Ruediger Pluem wrote: On 01/22/2009 10:47 PM, pque...@apache.org wrote: Author: pquerna Date: Thu Jan 22 13:47:16 2009 New Revision: 736809 URL: http://svn.apache.org/viewvc?rev=736809view=rev Log: Use the more traditional create/clear/destroy style for the main loop pool. Suggested by:

Re: [patch] Add IPV6 'specials' flag to mod_rewrite - try 2

2009-01-26 Thread Paul Querna
Ryan Phillips wrote: Thanks for the tips. IN6_IS_ADDR_V4MAPPED is defined in netinet/in.h on unices and APR defines it on windows. I've modified the patch to check for APR_HAVE_IPV6 support and check for APR_HAVE_NETINET_IN_H. Also, this patch will apply to trunk/. needs docs, but committed

Re: svn commit: r739150 - /httpd/httpd/trunk/os/unix/unixd.h

2009-01-30 Thread Paul Querna
Roy T. Fielding wrote: On Jan 30, 2009, at 3:30 PM, Roy T. Fielding wrote: On Jan 30, 2009, at 3:07 PM, Ruediger Pluem wrote: On 01/30/2009 03:48 AM, field...@apache.org wrote: +AP_DECLARE(int) ap_unixd_setup_child(void); /* mod_cgid needs this */ + Hm. This break compilation of trunk as

Re: new watchdog module

2009-02-04 Thread Paul Querna
Mladen Turk wrote: Hi, I would like to commit this module to trunk. It's a watchdog module that creates a worker threads either in parent, child via an API, and it's not for standalone use, but for other module usage like mod_heartbeat, probably mod_jk and others that need maintenance threads.

Re: new watchdog module

2009-02-04 Thread Paul Querna
Nick Kew wrote: On Wed, 04 Feb 2009 10:38:44 -0800 Paul Querna c...@force-elite.com wrote: Mladen Turk wrote: I would like to commit this module to trunk. Tending to +1 in principle, subject to think-time. For example heartbeat would be by an order of magnitude simpler (I took some

Re: new watchdog module

2009-02-04 Thread Paul Querna
Jeff Trawick wrote: On Wed, Feb 4, 2009 at 11:09 AM, Mladen Turk mt...@apache.org mailto:mt...@apache.org wrote: Hi, I would like to commit this module to trunk. It's a watchdog module that creates a worker threads either in parent, child via an API, and it's not for

Re: svn commit: r730296 - in /httpd/httpd/trunk: CHANGES include/ap_mmn.h include/httpd.h modules/filters/mod_include.c server/util.c

2009-02-07 Thread Paul Querna
n...@apache.org wrote: Author: niq Date: Tue Dec 30 18:27:24 2008 New Revision: 730296 URL: http://svn.apache.org/viewvc?rev=730296view=rev Log: Add support for escaping all non-ascii chars to ap_escape_html, and use it to fix PR#25202: encoding=entity doesn't work as advertised in mod_include.

Re: Getting pool associated with current thread/child

2009-02-07 Thread Paul Querna
Philip M. Gollucci wrote: Brian McCallister wrote: So, in mod_lua I need to get the apr pool associated with the current thread (that being the main thread if in prefork). Paul suggested that this is not possible, presently, and suggested adding a current_thread field to the request_rec, which

Re: Getting pool associated with current thread/child

2009-02-07 Thread Paul Querna
Graham Leggett wrote: Brian McCallister wrote: So, in mod_lua I need to get the apr pool associated with the current thread (that being the main thread if in prefork). What about the process_rec structure? In other words, r-server-process-pool? (Not sure if this is what you are

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: An alternative, for my need, is to be able to add a cleanup hook to the current thread. I can then just create a pool and put it in a thread local (you can do that with just the os thread in apr). I cannot find a way to actually register a cleanup for the threadlocal

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: On Sun, Feb 8, 2009 at 3:54 PM, Paul Querna c...@force-elite.com wrote: I think doing it via the mpm/extending the request rec is the right way to do it, and I don't understand why there is resistance to just doing it that way? I don't think there is resistance

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister bri...@skife.org wrote: On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its

Re: Getting pool associated with current thread/child

2009-02-08 Thread Paul Querna
Brian McCallister wrote: On Sun, Feb 8, 2009 at 5:05 PM, Brian McCallister bri...@skife.org wrote: On Sun, Feb 8, 2009 at 4:59 PM, Paul Querna c...@force-elite.com wrote: r742218 adds conn_rec::current_thread, and implements support for it on all the common Unix MPMs. It turns out its

Re: json library

2009-02-21 Thread Paul Querna
i'm somewhat involved with libjsox: http://code.google.com/p/libjsox/ Matthew Rushton wrote: Does anyone have any experience with using any of the C JSON libraries to encode json in responses? It looks like there are several options, I just wanted to know what people are using if anything?

Re: mod_lua and libapreq2

2009-02-22 Thread Paul Querna
Bertrand Mansion wrote: On Sat, Feb 21, 2009 at 1:23 PM, Bertrand Mansion bmans...@mamasam.net wrote: Hello, I was wondering why support of libapreq2 was removed from mod_lua? The way mod_lua currently deals with cookies, querystring and POST data is not very robust nor complete. Actually

Re: mod_wombat and mod_lua

2009-02-25 Thread Paul Querna
Brian McCallister wrote: Brian, Bertrand, and others are using (variations on in many cases) mod_wombat right now, pulling it into trunk is good in the long term, but it leaves some folks hanging. I'm thinking we should maintain the mod_wombat tree as an external backport to 2.2. It can use

Re: mod_wombat and mod_lua

2009-02-25 Thread Paul Querna
Brian Akins wrote: On 2/25/09 11:23 AM, Brian McCallister bri...@skife.org wrote: It can use Brian's thread scope approach (thugh I actually want to change it to add the pool still, and backport all the rest of the trunk changes), I was thinking about this, and I think having direct access

Re: Help and Guidance for developing Hybrid Multiprocessing Multithreading Architecture for a software

2009-03-15 Thread Paul Querna
On Sun, Mar 15, 2009 at 10:35 AM, SAMEER KUMAR sameer.kasi2...@gmail.com wrote: Hi to all, We are working on hybrid architecture of OpenSIP Server. It already has a Multiprocessing architecture. We would like to extend it to have hybrid architecture like apache 2.0. Any advice or help or

Re: svn commit: r757373 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

2009-03-23 Thread Paul Querna
On Mon, Mar 23, 2009 at 11:56 AM, Paul Querna p...@querna.org wrote: On Mon, Mar 23, 2009 at 11:51 AM,  rpl...@apache.org wrote: Author: rpluem Date: Mon Mar 23 10:51:00 2009 New Revision: 757373 URL: http://svn.apache.org/viewvc?rev=757373view=rev Log: * If the SNI extension supplied

intend to roll 2.3.2 alpha

2009-03-23 Thread Paul Querna
i intend to roll 2.3.2 alpha this evening in Amsterdam. most likely about 5pm. get your patches in :) thanks, paul

Re: svn commit: r757373 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

2009-03-23 Thread Paul Querna
On Mon, Mar 23, 2009 at 11:51 AM, rpl...@apache.org wrote: Author: rpluem Date: Mon Mar 23 10:51:00 2009 New Revision: 757373 URL: http://svn.apache.org/viewvc?rev=757373view=rev Log: * If the SNI extension supplied a hostname. So don't accept requests with  either no hostname or a

[VOTE] release 2.3.2 as alpha

2009-03-23 Thread Paul Querna
Test tarballs for Apache httpd 2.3.2-alpha are available at: http://people.apache.org/~pquerna/dev/httpd-2.3.2/ Your votes please; ±1 [ ] Release httpd-2.3.2 as Alpha Vote closes at 18:00 UTC on Friday March 27 2009. Thanks, Paul

Re: moving towards loadable MPMs

2009-03-24 Thread Paul Querna
On Tue, Mar 24, 2009 at 2:42 PM, Mladen Turk mt...@apache.org wrote: Jeff Trawick wrote: On Tue, Mar 24, 2009 at 12:41 PM, Mladen Turk mt...@apache.org mailto:mt...@apache.org wrote:    Jeff Trawick wrote:        (no plans here to touch WinNT MPMs, and I don't see any        compelling

Re: criteria for axing MPMs from the tree

2009-03-26 Thread Paul Querna
On Thu, Mar 26, 2009 at 9:18 AM, Ruediger Pluem rpl...@apache.org wrote: We should axe leader perchild threadpool immediately in trunk as IMHO they are not maintained for years. I am not quite sure how much care the platform specific MPMs for OS2 and BEOS get. Novell seems to be still

Re: svn commit: r758597 - /httpd/httpd/trunk/server/mpm/config.m4

2009-03-26 Thread Paul Querna
As much as i would like to use simple, I don't think its quite ready yet (time/patches welcome!). I think the default should be event for the time being. 2009/3/26 j...@apache.org: Author: jim Date: Thu Mar 26 11:09:33 2009 New Revision: 758597 URL:

Re: Untouchable header fields ?

2009-03-28 Thread Paul Querna
On Sat, Mar 28, 2009 at 2:08 PM, Dirk-Willem van Gulik di...@webweaving.org wrote: Folks, Am I right in looking at (trunk, 2.2): file: http_filters.c    function basic_http_header        if (proxy)        else {        date = apr_palloc(r-pool, APR_RFC822_DATE_LEN);        

mod_serf: now somewhat working

2009-03-28 Thread Paul Querna
I've updated mod_serf. It now does: - Fully Async Proxying when running on the Event MPM - Dynamic Clustered Backends based on machines with mod_heartbeat running. - New provider for providing a list of IPs to use, rather than the mod_proxy interface of only working with known workers -- I

Re: svn commit: r759386 - in /httpd/httpd/trunk/modules/proxy: mod_serf.c mod_serf.h

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 11:05 AM, Ruediger Pluem rpl...@apache.org wrote: On 03/28/2009 12:10 AM, pque...@apache.org wrote: Author: pquerna Date: Fri Mar 27 23:10:21 2009 New Revision: 759386 URL: http://svn.apache.org/viewvc?rev=759386view=rev +static void *

[PROPOSAL] mod_cloudbeat

2009-03-29 Thread Paul Querna
The Problem: You just bought into whole cloud computing craze. But how do you load balance to this constantly changing fabric, without sysadmins constantly changing server configurations. Most generic cloud computing platforms , for example Amazon EC2, provide almost no way of load balancing

Re: [PROPOSAL] mod_cloudbeat

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 6:00 PM, Graham Leggett minf...@sharp.fm wrote: Paul Querna wrote: The (vaporware) solution: mod_cloudbeat automatically finds all of your nodes, both front end load balancers and backend application servers.  All load balancing is completely configurationless

Re: [PROPOSAL] mod_cloudbeat

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 7:28 PM, ntwrkd ntw...@gmail.com wrote: Can you explain why this would not be accomplishable through mod_proxy_balancer and would merit it's own module? 1) it is not currently possibly to add proxy workers without a graceful restart, meaning you either need to script or

Re: [PROPOSAL] mod_cloudbeat

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 7:36 PM, Graham Leggett minf...@sharp.fm wrote: Paul Querna wrote: no, this is just a utility module, which tells you where other members are. second, mod_backhand has never been ported to 2.x, and it does allow you to autoconfigure on cloud-enviroments, which mostly

mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 9:17 PM, mt...@apache.org wrote: Author: mturk Date: Sun Mar 29 19:17:30 2009 New Revision: 759751 URL: http://svn.apache.org/viewvc?rev=759751view=rev Log: Use child singleton watchdog for running the heartbeat module Modified:    

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 10:25 PM, Mladen Turk mt...@apache.org wrote: Paul Querna wrote: On Sun, Mar 29, 2009 at 9:17 PM,  mt...@apache.org wrote: Author: mturk Date: Sun Mar 29 19:17:30 2009 New Revision: 759751 URL: http://svn.apache.org/viewvc?rev=759751view=rev Log: Use child

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-29 Thread Paul Querna
On Sun, Mar 29, 2009 at 10:44 PM, Paul Querna p...@querna.org wrote: On Sun, Mar 29, 2009 at 10:25 PM, Mladen Turk mt...@apache.org wrote: Paul Querna wrote: On Sun, Mar 29, 2009 at 9:17 PM,  mt...@apache.org wrote: Author: mturk Date: Sun Mar 29 19:17:30 2009 New Revision: 759751 URL

Re: mod_watchdog API, was Re: svn commit: r759751 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

2009-03-30 Thread Paul Querna
On Mon, Mar 30, 2009 at 10:48 AM, Mladen Turk mt...@apache.org wrote: Paul Querna wrote: On Sun, Mar 29, 2009 at 10:44 PM, Paul Querna p...@querna.org wrote: Inside a MPM that does it natively, just use the registered list of providers, and implement the same behavoirs as the module

Re: [PROPOSAL] mod_cloudbeat

2009-03-30 Thread Paul Querna
On Mon, Mar 30, 2009 at 4:45 PM, Jim Jagielski j...@jagunet.com wrote: On Mar 29, 2009, at 11:43 AM, Paul Querna wrote: URL Authentication is done by computing an randomly seeded md5 signature of:    seed + $+ MD5(seed + shared_secret + uri) This is base64 encoded, and placed in a 'X

Re: [PROPOSAL] mod_cloudbeat

2009-03-30 Thread Paul Querna
On Mon, Mar 30, 2009 at 5:10 PM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com wrote: -Ursprüngliche Nachricht- Von: Paul Querna Gesendet: Montag, 30. März 2009 17:04 An: dev@httpd.apache.org Betreff: Re: [PROPOSAL] mod_cloudbeat On Mon, Mar 30, 2009 at 4:45 PM, Jim Jagielski

Re: [PROPOSAL] mod_cloudbeat

2009-03-30 Thread Paul Querna
On Mon, Mar 30, 2009 at 5:28 PM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com wrote: -Ursprüngliche Nachricht- Von: Paul Querna Gesendet: Montag, 30. März 2009 17:18 An: dev@httpd.apache.org Betreff: Re: [PROPOSAL] mod_cloudbeat On Mon, Mar 30, 2009 at 5:10 PM, Plüm

what is in modules vs what is in the core

2009-03-30 Thread Paul Querna
mod_watchdog is the latest offender in a series of modules that expose additional functions to the API. (mod_proxy and mod_cache do too!) What happened to all functions that are not inside server/* must be either dynamic optional functions or hooks? Doesn't anyone remember the load order pain of

Re: HTTP over SCTP

2009-03-31 Thread Paul Querna
On Wed, Apr 1, 2009 at 1:34 AM, Preethi Natarajan preethi@gmail.com wrote: Hello folks, We are trying to adapt HTTP to work over SCTP streams (http://tools.ietf.org/html/draft-natarajan-http-over-sctp-01). Since this proposal was received warmly at the httpbis WG, we are contemplating on

Re: segfaults / core dumps caused by ap_internal_fast_redirect

2009-04-07 Thread Paul Querna
On Tue, Apr 7, 2009 at 10:01 AM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Plüm, Rüdiger, VF-Group wrote: How to solve? I don't know. This is why I write this mail :-). We eliminate internal_fast_redirect ;-) hell yeah, I would love to eliminate internal redirects completely.

Re: Event MPM Status

2009-05-04 Thread Paul Querna
On Mon, May 4, 2009 at 10:45 AM, IT_Architect jack.toer...@leadingedgeita.com wrote: Takashi Sato-5 wrote: Event MPM has been Experimental for a long time. Is there any plan to mark as Productional MPM? Or any plan to drop it like Leader, Threadpool or Perchild? There are a lot of people

Re: Event MPM Status

2009-05-04 Thread Paul Querna
Then the docs are outdated On May 4, 2009, at 12:09 PM, IT_Architect jack.toer...@leadingedgeita.com wrote: Paul Querna-6 wrote: it does work with mod_ssl now. AFAIK it does work with mod_rewrite too, unless there is some issue I don't know about.That would be great news. The docs

mod_proxy hooks for clustering and load balancing

2009-05-06 Thread Paul Querna
Hi, There is lots of discussion about fixing mod_proxy and mod_proxy_balancer, to try to make it do things that the APIs are just broken for, and right now, it seems from the outside to be turning into a ball of mud. I think the right way to frame the discussion is, how should the API optimally

Re: mod_proxy hooks for clustering and load balancing

2009-05-06 Thread Paul Querna
On Wed, May 6, 2009 at 11:46 AM, Jim Jagielski j...@jagunet.com wrote: On May 6, 2009, at 2:26 PM, Paul Querna wrote: Hi, I think the right way to frame the discussion is, how should the API optimally be structured -- then change the existing one to be closer to it, rather than the barrage

Re: mod_proxy hooks for clustering and load balancing

2009-05-06 Thread Paul Querna
On Wed, May 6, 2009 at 12:04 PM, Jim Jagielski j...@jagunet.com wrote: On May 6, 2009, at 2:53 PM, Paul Querna wrote: Stop worrying about 2.2, and just focus on doing it right -- then ship 2.4 in 3-4 months imo, trunk really isn't that far off from being a decent 2.4, it just needs some

Re: mod_proxy hooks for clustering and load balancing

2009-05-07 Thread Paul Querna
On Thu, May 7, 2009 at 3:50 AM, jean-frederic clere jfcl...@gmail.com wrote: Paul Querna wrote: Hi, There is lots of discussion about fixing mod_proxy and mod_proxy_balancer, to try to make it do things that the APIs are just broken for, and right now, it seems from the outside

Re: [PATCH] mod_mbox id escaping

2009-05-07 Thread Paul Querna
On Thu, May 7, 2009 at 4:22 AM, Rick van der Zwet i...@rickvanderzwet.nl wrote: When a ampersand '' is included into the message header, it is not escaped properly causing an XML validation error. It currently using URI_ESCAPE_OR_BLANK, but I Message-Id is not of URI type, actually  

Re: svn commit: r771998

2009-05-08 Thread Paul Querna
On Fri, May 8, 2009 at 1:49 PM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Ruediger Pluem wrote: On 05/08/2009 07:09 PM, William A. Rowe, Jr. wrote: Plüm, Rüdiger, VF-Group wrote: --enable-mods-shared=all \ And what is/was your last httpd -l Compiled in modules:   core.c  

Re: board report due Monday

2009-05-15 Thread Paul Querna
On Fri, May 15, 2009 at 6:42 PM, Roy T. Fielding field...@gbiv.com wrote: Does anyone have anything special that they would like me to pass on to the ASF board?  I could request a budget for our thousand-open-bugs-bash party. an httpd party would be cool. it would be nice to crush some of our

Re: svn commit: r777499 - in /httpd/mod_ftp/trunk: CHANGES CHANGES-FTP LICENSE LICENSE-FTP NOTICE NOTICE-FTP README README-FTP STATUS STATUS-FTP

2009-05-24 Thread Paul Querna
On Fri, May 22, 2009 at 11:56 AM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: j...@apache.org wrote: Author: jim Date: Fri May 22 12:49:41 2009 New Revision: 777499 URL: http://svn.apache.org/viewvc?rev=777499view=rev Log: No need (that I can see) to have the -FTP suffix here -1

Re: Mitigating the Slowloris DoS attack

2009-06-22 Thread Paul Querna
On Sun, Jun 21, 2009 at 4:10 AM, Andreas Krennmaira...@synflood.at wrote: Hello everyone, . The basic principle is that the timeout for new connections is adjusted according to the current load on the Apache instance: a load percentage is computed in the perform_idle_server_maintenance()

Re: Mitigating the Slowloris DoS attack

2009-06-22 Thread Paul Querna
On Mon, Jun 22, 2009 at 9:07 PM, Graham Dumpletongraham.dumple...@gmail.com wrote: 2009/6/23 Weibin Yao nbubi...@gmail.com: William A. Rowe, Jr. at 2009-6-23 2:00 wrote: Andreas Krennmair wrote: * Guenter Knauf fua...@apache.org [2009-06-22 04:30]: wouldnt limiting the number of

Re: Using slotmem in /mod_lbmethod_heartbeat/mod_heartmonitor

2009-06-23 Thread Paul Querna
On Tue, Jun 23, 2009 at 5:35 AM, jean-frederic clerejfcl...@gmail.com wrote: Hi, I plan to use slotmem (additionally to the actual file based logic) in the heartbeat logic. HeartbeatStorage mem:logs/hb.dat (slotmem and key/save uses logs/hb.dat). HeartbeatStorage logs/hb.dat (existing

Re: svn commit: r790205 - /httpd/httpd/trunk/modules/experimental/mod_noloris.c

2009-07-01 Thread Paul Querna
On Wed, Jul 1, 2009 at 8:01 AM, n...@apache.org wrote: Author: niq Date: Wed Jul  1 15:01:55 2009 New Revision: 790205 URL: http://svn.apache.org/viewvc?rev=790205view=rev Log: mod_noloris just moved from discussion to attracting its first patch on d...@.  That means it wants to be in svn.

Events, Destruction and Locking

2009-07-06 Thread Paul Querna
Can't sleep, so finally writing this email I've been meaning to write for about 7 months now :D One of the challenges in the Simple MPM, and to a smaller degree in the Event MPM, is how to manage memory allocation, destruction, and thread safety. A 'simple' example: - 1) Thread A: Client

Re: Events, Destruction and Locking

2009-07-07 Thread Paul Querna
On Mon, Jul 6, 2009 at 10:50 PM, Justin Erenkrantzjus...@erenkrantz.com wrote: On Mon, Jul 6, 2009 at 10:20 PM, Paul Quernap...@querna.org wrote: I am looking for an alternative that doesn't expose all this crazyness of when to free, destruct, or lock things.  The best idea I can come up with

Re: Events, Destruction and Locking

2009-07-07 Thread Paul Querna
On Mon, Jul 6, 2009 at 10:56 PM, Mladen Turkmt...@apache.org wrote: Paul Querna wrote: Can't sleep, so finally writing this email I've been meaning to write for about 7 months now :D Pools don't help, but don't really make it worse, and are good enough for the actual cleanup part

Re: Events, Destruction and Locking

2009-07-07 Thread Paul Querna
On Tue, Jul 7, 2009 at 7:34 AM, Graham Leggettminf...@sharp.fm wrote: Paul Querna wrote: I think it is possible to write a complete server that deals with all these intricacies and gets everything just 'right', but as soon as you introduce 3rd party module writers, no matter how 'smart' we

Re: Events, Destruction and Locking

2009-07-07 Thread Paul Querna
On Tue, Jul 7, 2009 at 8:39 AM, Graham Leggettminf...@sharp.fm wrote: Paul Querna wrote: Nah, 90% of what is done in moduels today should be out of process aka in FastCGI or another method, but out of process. (regardless of MPM) You're just moving the problem from one server to another

Re: Events, Destruction and Locking

2009-07-07 Thread Paul Querna
On Tue, Jul 7, 2009 at 10:01 AM, Graham Leggettminf...@sharp.fm wrote: Paul Querna wrote: Yes, but in a separate process it has fault isolation.. and we can restart it when it fails, neither of which are true for modules using the in-process API directly -- look at the reliability of QMail

Re: Events, Destruction and Locking

2009-07-07 Thread Paul Querna
On Tue, Jul 7, 2009 at 12:54 PM, Akins, Brianbrian.ak...@turner.com wrote: This is how I envisioned the async stuff working. -Async event thread is used only for input/output of httpd to/from network* -After we read the headers, we pass the request/connection to the worker threads.  Each

Re: Events, Destruction and Locking

2009-07-08 Thread Paul Querna
On Wed, Jul 8, 2009 at 3:05 AM, Graham Dumpletongraham.dumple...@gmail.com wrote: 2009/7/8 Graham Leggett minf...@sharp.fm: Paul Querna wrote: It breaks the 1:1: connection mapping to thread (or process) model which is critical to low memory footprint, with thousands of connections, maybe

Re: Events, Destruction and Locking

2009-07-08 Thread Paul Querna
On Wed, Jul 8, 2009 at 9:11 PM, Bojan Smojverbo...@rexursive.com wrote: On Wed, 2009-07-08 at 11:01 +1000, Bojan Smojver wrote: So, the loop would be: - poll() - try assembling a full request from data read so far   - process if successful   - go back to poll() if not Too naive? I see

Re: Problems with mod_mbox

2009-07-23 Thread Paul Querna
On Wed, Jul 22, 2009 at 4:44 PM, Noah Slaternsla...@apache.org wrote: Hey, I just sent the following email to the CouchDB developer list:  http://mail-archives.apache.org/mod_mbox/couchdb-dev/200907.mbox/20090722214200.ga11...@tumbolia.org Preparing these emails is such a chore, I thought

Re: [FINAL] Re: [VOTE] httpd 2.2.12 tarballs

2009-07-27 Thread Paul Querna
On Mon, Jul 27, 2009 at 6:25 AM, Jim Jagielskij...@jagunet.com wrote: All looks good! Plenty of both binding and non-binding +1s and not a -1 to be found. I will start the process of releasing 2.2.12! I have upgraded www.apache.org to 2.2.12, yell if you see anything odd :) Thanks, Paul

Re: svn commit: r798359 - in /httpd/httpd/branches/2.2.x: modules/ssl/ssl_engine_init.c modules/ssl/ssl_engine_kernel.c modules/ssl/ssl_engine_vars.c modules/ssl/ssl_util_ssl.c support/ab.c

2009-07-27 Thread Paul Querna
-1 veto, please revert this commit. Unless I missed something, these changes were not voted on in the STATUS file. I think wrowe's endorsement was... badly worded. Thanks, Paul On Mon, Jul 27, 2009 at 7:08 PM, fua...@apache.org wrote: Author: fuankg Date: Tue Jul 28 02:08:32 2009 New

Re: svn commit: r799152 - in /httpd/site/trunk: docs/contributors/index.html xdocs/contributors/index.xml

2009-07-30 Thread Paul Querna
ugh, looks like dan never actually added himself to the XML -- only to the HTML. Will fix this in a few. On Thu, Jul 30, 2009 at 1:17 AM, Rainer Jungrainer.j...@kippdata.de wrote: Hi Paul, I guess you didn't want to delete Dan from the contributors list ;) Regards, Rainer On 30.07.2009

Re: svn commit: r799334 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

2009-08-03 Thread Paul Querna
On Thu, Jul 30, 2009 at 8:37 AM, jfcl...@apache.org wrote: Author: jfclere Date: Thu Jul 30 15:37:22 2009 New Revision: 799334 URL: http://svn.apache.org/viewvc?rev=799334view=rev Log: Add the file logic for the handler. (Next step add the slotmem logic for the multicast socket).

Re: Apache HTTP Server development

2009-08-23 Thread Paul Querna
On Sun, Aug 23, 2009 at 8:58 PM, tim robertsontim...@email.com wrote: Apache HTTP Server should be Event-driven by default, instead of using Processes/Threads. Alot of other http web servers are outperforming Apache because they use Events because this reduces cpu and memory usage. Events will

Re: mod_cache, mod_deflate and Vary: User-Agent

2009-08-26 Thread Paul Querna
On Wed, Aug 26, 2009 at 11:47 AM, William A. Rowe, Jr.wr...@rowe-clan.net wrote: I think we blew it :) Vary: user-agent is not practical for correcting errant browser behavior. For example;  User-Agent: Mozilla/5.0 Gecko/20090729 Firefox/3.5.2 produces a myriad number of 'variant' flavors

Re: mod_cache, mod_deflate and Vary: User-Agent

2009-08-26 Thread Paul Querna
On Wed, Aug 26, 2009 at 2:50 PM, William A. Rowe, Jr.wr...@rowe-clan.net wrote: Paul Querna wrote: Yes, write a Varied header to 'hash' plugin API for mod_cache. I would write little lua scriptlets that map user agents to two buckets: supports gzip, doesnt support gzip.  store the thing

Re: Snow Leopard hints

2009-08-31 Thread Paul Querna
On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielskij...@jagunet.com wrote: If compiling, at least for now, make sure you use CC='gcc -arch i386' (or use gcc-4.0)... APR won't build under both archs and the default for gcc-4.2 is to build for x86_64, which makes APR barf. did anyone ask friends at

Re: Snow Leopard hints

2009-08-31 Thread Paul Querna
On Mon, Aug 31, 2009 at 10:53 AM, Jim Jagielskij...@jagunet.com wrote: On Aug 31, 2009, at 1:48 PM, Paul Querna wrote: On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielskij...@jagunet.com wrote: If compiling, at least for now, make sure you use CC='gcc -arch i386' (or use gcc-4.0)... APR won't

http over local machine, was Re: slotmem API notes

2009-09-03 Thread Paul Querna
On Thu, Sep 3, 2009 at 10:31 AM, Akins, Brianbrian.ak...@turner.com wrote: Also, could just make external process use HTTP. I'm seeing the idea of this pattern show up in lots of places. It'd be nice to actually get an open source module that did it. somewhere

Re: Using mod_fcgid without matching files (virtual)

2009-09-11 Thread Paul Querna
On Fri, Sep 11, 2009 at 5:19 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 12.09.2009 01:44, Rainer Jung wrote: On 11.09.2009 23:40, William A. Rowe, Jr. wrote: Rainer Jung wrote: In r814006 and r814017 I added a feature similar to Action ... virtual in CGI to mod_fcgi: By default it is

Re: Memory usage, core output filter, and apr_brigade_destroy

2009-09-14 Thread Paul Querna
On Mon, Sep 14, 2009 at 12:48 PM, Ruediger Pluem rpl...@apache.org wrote: On 09/14/2009 07:32 PM, Stefan Fritsch wrote: On Sun, 13 Sep 2009, Ruediger Pluem wrote: But your patch is causing core dumps during the proxy tests when running the test suite :-(. I currently don't understand why.

Re: Logging command line at startup

2009-09-15 Thread Paul Querna
On Tue, Sep 15, 2009 at 11:58 AM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Dan Poirier wrote: I'd like to log the server command line and server root at startup. The reason is: sometimes when debugging a problem I'm given some logs and a directory full of various revisions of the

Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Paul Querna
On Thu, Sep 17, 2009 at 2:22 PM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Jeff Trawick wrote: On Thu, Sep 17, 2009 at 3:53 PM, William A. Rowe, Jr.     How soon do we want another tarball with the whole flurry of fixes     committed to mod_fcgid already? I'd like to see another beta

Virtual Hosts FCGI paths, was Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Paul Querna
Hi, I spoke a little too soon, there is one problem. mod_fcgid correctly uses the VirtualHost as one of the unique inputs for each backend daemon. (Sidenote: This virtualhost code is *only* present in the unix process manager, which means there is a separate bug/issue in the win32 process

Re: mod_serf uses non-public API

2009-09-30 Thread Paul Querna
very likely, mod_serf in its current for should just be polished to replace mod_proxy_*, and all of the async stuff should be pushed towards the MPMs.. On Wed, Sep 30, 2009 at 5:57 PM, Guenter Knauf fua...@apache.org wrote: Hi, mod_serf uses in line 102:        

Re: Event mpm

2009-10-02 Thread Paul Querna
On Fri, Oct 2, 2009 at 9:03 AM, Jim Jagielski j...@jagunet.com wrote: At least regarding the perl test framework, Event is the fastest MPM for OS X (compared to worker and prefork). Interesting :) yes, because it doesn't use the accept mutex. If you modify the worker mpm to also not use the

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-02 Thread Paul Querna
Unless there are any objections, i intend to convert httpd.apache.org later tonight. On Thu, Oct 1, 2009 at 3:27 AM, Graham Leggett minf...@sharp.fm wrote: Hi all, Does httpd want to volunteer for this? Regards, Graham -- Hi, apr.apache.org is now managed by SvnPubSub. I think we are

Re: Event mpm

2009-10-02 Thread Paul Querna
On Fri, Oct 2, 2009 at 12:40 PM, Jim Jagielski j...@jagunet.com wrote: On Oct 2, 2009, at 1:44 PM, Paul Querna wrote: On Fri, Oct 2, 2009 at 9:03 AM, Jim Jagielski j...@jagunet.com wrote: At least regarding the perl test framework, Event is the fastest MPM for OS X (compared to worker

Re: QoS marking by default on sockets

2009-10-02 Thread Paul Querna
On Fri, Oct 2, 2009 at 2:04 PM, Philip A. Prindeville philipp_s...@redfish-solutions.com wrote: Hi. I haven't contributed to Apache in about 10 years, so it's been a while since I've stared at the source. I did, however, recently pull down the 2.2.13 tarball and did: [phil...@builder

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-03 Thread Paul Querna
On Sat, Oct 3, 2009 at 8:49 AM, Graham Leggett minf...@sharp.fm wrote: Jeff Trawick wrote: Does anybody know the current status of the syncing effort?  (other than the fact that we aren't synced yet ;) ) I saw commits from Paul yesterday but didn't understand the big picture.

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-03 Thread Paul Querna
Okay, its done for the first round. https://svn.apache.org/repos/asf/httpd/site/trunk/docs maps 'live' within a few seconds to http://httpd.apache.org/ if you want to try it out, edit docs/test.txt, and you can see it show up here: http://httpd.apache.org/test.txt pretty quickly. This does not

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-03 Thread Paul Querna
to the rest of our mirror network. thanks, paul On Sat, Oct 3, 2009 at 12:06 PM, Paul Querna p...@querna.org wrote: Okay, its done for the first round. https://svn.apache.org/repos/asf/httpd/site/trunk/docs maps 'live' within a few seconds to http://httpd.apache.org/ if you want to try it out, edit

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-03 Thread Paul Querna
On Sat, Oct 3, 2009 at 5:26 PM, William A. Rowe, Jr. wr...@rowe-clan.net wrote: Yesterday I had fixed /dist/httpd, but not ../win32/binaries.  These have also now shown up.  Looks like we are (belatedly) in good shape, even netware appears to be out there now. all the files are now

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-03 Thread Paul Querna
On Sat, Oct 3, 2009 at 6:14 PM, Guenter Knauf fua...@apache.org wrote: Hi Paul, Paul Querna schrieb: all the files are now sourced from svn: https://dist.apache.org/repos/dist/release/httpd/ woah, so that means all files are now to be commited to SVN? And that's not an issue on the long term

Re: [Fwd: SvnPubSub websites -- need more volunteers]

2009-10-04 Thread Paul Querna
On Sat, Oct 3, 2009 at 11:50 PM, Roy T. Fielding field...@gbiv.com wrote: On Oct 3, 2009, at 7:36 PM, William A. Rowe, Jr. wrote: Paul Querna wrote: On Sat, Oct 3, 2009 at 6:14 PM, Guenter Knauf fua...@apache.org wrote: Hi Paul, Paul Querna schrieb: all the files are now sourced from svn

Re: svn commit: r821477 - in /httpd/httpd/trunk: CHANGES modules/http/byterange_filter.c modules/http/http_filters.c server/core_filters.c

2009-10-04 Thread Paul Querna
On Sun, Oct 4, 2009 at 1:08 AM, s...@apache.org wrote: Author: sf Date: Sun Oct  4 08:08:50 2009 New Revision: 821477 URL: http://svn.apache.org/viewvc?rev=821477view=rev Log: Make sure to not destroy bucket brigades that have been created by earlier filters. Otherwise the pool cleanups

Re: Time for a 2.3/2.4 branch?

2009-10-04 Thread Paul Querna
On Sun, Oct 4, 2009 at 11:48 AM, Jim Jagielski j...@jagunet.com wrote: On Oct 4, 2009, at 2:21 PM, William A. Rowe, Jr. wrote: Jim Jagielski wrote: If we are serious about trying to get a 2.4 out this year, what do people say about branching off trunk at this point, so we could focus on

c conf 2012

2012-05-08 Thread Paul Querna
Heya, A friend of mine is helping organizing the first C Conf: http://www.cconf.org/ I think it could be a very interesting conference for those of us that still enjoy coding C :-) I think it would be great if we could get a few talks submitted about APR and HTTPD too, two projects with a

<    3   4   5   6   7   8   9   10   >