Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-03 Thread Ruediger Pluem
On 01/04/2009 12:49 AM, Rainer Jung wrote: > On 04.01.2009 00:36, Paul Querna wrote: >> 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 kee

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-03 Thread Rainer Jung
On 04.01.2009 00:36, Paul Querna wrote: 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

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. MaxKeepAliveReque

Problem with file descriptor handling in httpd 2.3.1

2009-01-03 Thread Rainer Jung
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. MaxKeepAliveRequests=100 (Default)

Re: svn commit: r731009 - /httpd/httpd/trunk/modules/session/config.m4

2009-01-03 Thread Ruediger Pluem
On 01/04/2009 12:01 AM, Ruediger Pluem wrote: > > On 01/03/2009 05:12 PM, rj...@apache.org wrote: >> Author: rjung >> Date: Sat Jan 3 08:12:55 2009 >> New Revision: 731009 >> >> URL: http://svn.apache.org/viewvc?rev=731009&view=rev >> Log: >> Allow feature test for apr_ssl.h to succeed: >> Add

Re: svn commit: r731009 - /httpd/httpd/trunk/modules/session/config.m4

2009-01-03 Thread Ruediger Pluem
On 01/03/2009 05:12 PM, rj...@apache.org wrote: > Author: rjung > Date: Sat Jan 3 08:12:55 2009 > New Revision: 731009 > > URL: http://svn.apache.org/viewvc?rev=731009&view=rev > Log: > Allow feature test for apr_ssl.h to succeed: > Add necessary search paths temporarily to CPPFLAGS. > > Addit

Re: svn commit: r730949 - /httpd/httpd/trunk/server/listen.c

2009-01-03 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: > > conf = (core_server_config *)apr_pmemdup(p, virt, sizeof(core_server_config)); Bloody heck, this is ridiculous. The error is right there, you *must* always dup the base and then apply non-defaults from virt. Working on it.

Re: svn commit: r730949 - /httpd/httpd/trunk/server/listen.c

2009-01-03 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: > rpl...@apache.org wrote: >> Author: rpluem >> Date: Sat Jan 3 01:52:12 2009 >> New Revision: 730949 >> >> URL: http://svn.apache.org/viewvc?rev=730949&view=rev >> Log: >> * Handle the case where conf->accf_map is NULL gracefully instead of >> segfaulting >> >> Modifi

Re: svn commit: r730835 - /httpd/httpd/trunk/server/core.c

2009-01-03 Thread William A. Rowe, Jr.
Ruediger Pluem wrote: > > As I dig deeper into this I think that the whole AcceptFilter config > is busted: Ahhh, better explanation, thanks! Note AcceptFilter is ONLY accepted in the global context, so all that logic below was nonsense. > ap_apply_accept_filter allows you set up individual acc

Re: svn commit: r730949 - /httpd/httpd/trunk/server/listen.c

2009-01-03 Thread William A. Rowe, Jr.
rpl...@apache.org wrote: > Author: rpluem > Date: Sat Jan 3 01:52:12 2009 > New Revision: 730949 > > URL: http://svn.apache.org/viewvc?rev=730949&view=rev > Log: > * Handle the case where conf->accf_map is NULL gracefully instead of > segfaulting > > Modified: > httpd/httpd/trunk/server/lis

Re: svn commit: r730984 - /httpd/httpd/trunk/configure.in

2009-01-03 Thread Justin Erenkrantz
On Sat, Jan 3, 2009 at 5:37 AM, wrote: > Author: rjung > Date: Sat Jan 3 05:37:05 2009 > New Revision: 730984 > > URL: http://svn.apache.org/viewvc?rev=730984&view=rev > Log: > Fix correct linking against PCRE. > r730882 broke builds on MacOSX. Works fine now on Mac OS X w/jlibtool. Thanks. -

Re: svn commit: r730717 - /httpd/httpd/trunk/modules/session/config.m4

2009-01-03 Thread Rainer Jung
On 03.01.2009 16:02, Graham Leggett wrote: rj...@apache.org wrote: URL: http://svn.apache.org/viewvc?rev=730717&view=rev Log: Add a header check for apr_ssl.h to mod_session_crypto. The modules needs the header which is at the moment only part of the ssl-evp branch of APR. I have just finish

Re: svn commit: r730717 - /httpd/httpd/trunk/modules/session/config.m4

2009-01-03 Thread Graham Leggett
rj...@apache.org wrote: URL: http://svn.apache.org/viewvc?rev=730717&view=rev Log: Add a header check for apr_ssl.h to mod_session_crypto. The modules needs the header which is at the moment only part of the ssl-evp branch of APR. I have just finished updating session_crypto to depend on the

httpd build variables

2009-01-03 Thread Rainer Jung
Most build variables for httpd are used via APACHE_SUBST, which means they get added to build/config_vars.mk. A) Where to define them? There are two places, were a lot of ariables are added via APACHE_SUBST: 1) Macro APACHE_GEN_CONFIG_VARS Defined in acinclude.m4 and

Re: Undefined symbols in ab.c

2009-01-03 Thread Graham Leggett
Rainer Jung wrote: It works for me on Solaris. Those symbols (without the leading underscore) are referenced indeed by ab.c, but they should be in your libcrypto (BIO*) resp. libssl (SSL*). Are you sure, that the libraries libcrypto and libssl can be found? Are they in /Users/minfrin/src/ap

Re: svn commit: r730835 - /httpd/httpd/trunk/server/core.c

2009-01-03 Thread Ruediger Pluem
On 01/02/2009 10:50 PM, Ruediger Pluem wrote: > > On 01/02/2009 10:27 PM, William A. Rowe, Jr. wrote: >> Ruediger Pluem wrote: >>> Otherwise the table will not be empty anymore in the case that >>> neither APR_HAS_SO_ACCEPTFILTER nor APR_TCP_DEFER_ACCEPT is set. >> Uhm ... huh? What gave you th

Re: svn commit: r730882 - /httpd/httpd/trunk/configure.in

2009-01-03 Thread Rainer Jung
On 03.01.2009 08:52, Justin Erenkrantz wrote: [ It's odd as I didn't get the email for this commit...anyway... ] Author: rjung Date: Fri Jan 2 17:01:56 2009 New Revision: 730882 URL: http://svn.apache.org/viewvc?rev=730882&view=rev Log: Only link libhttpd against pcre. Modified: httpd/ht

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

2009-01-03 Thread Ruediger Pluem
On 01/03/2009 07:39 AM, 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 > > > Vote closes at 7:00 UTC on Thursday January 8 2009. -1. It crashes o