Re: Apache BUG: 36495 : ajp_proxy_connect_backend failure

2006-11-07 Thread Rainer Jung
Hi, adding to Mladens advice: is it possible, that you are trying to produce more connections, than configured worker threads on your tomcat connector? Does the error only show up under high load? How many connections to 1.1.1.2:8009 in which state do you have, when the error appears? netstat

Re: determining MPM type from module ?

2007-02-20 Thread Rainer Jung
To find out, if the MPM uses multiple threads, you can use the query API documented in ap_mpm.h (excerpt for Apache 2.0): #define AP_MPMQ_MAX_DAEMON_USED1 /* Max # of daemons used so far */ #define AP_MPMQ_IS_THREADED2 /* MPM can do threading */ #define AP_MPMQ_IS_FORKED

pconf, plog and module logging

2007-03-15 Thread Rainer Jung
Sorry second post, I think I used the wrong sender address the first time. == Hello httpd developers, we ran into a crash on the iSeries platform with mod_jk. It turned out, that the crash was fixed by using the pool plog instead of pconf

Re: Arranging mod_proxy_ajp

2007-03-15 Thread Rainer Jung
Mladen Turk wrote: Jean-Frederic wrote: -if (status != APR_SUCCESS) { +if (! isok) { /* We had a failure: Close connection to backend */ conn-close++; This is what concerns me (not your code but the old conn-close++. Hope It wasn't me ;) Caution: this line

Re: ProxyTimeout Revisited

2007-06-15 Thread Rainer Jung
As I understand mod_proxy_* and APR code, the BalancerManager timeout will set a timeout for individual read and write attempts to backend connections. So it neither correlates to an idle timeout on the connection (see ttl and smax) neither to a request timeout in the sense of a limit to the

Re: ProxyTimeout Revisited

2007-06-15 Thread Rainer Jung
I think you need to make a distinction between the timeout *attribute* on a BalancerMember and the one on a balancer itself. At least the code does the distinction (2.2.4). a) timeout for a Balancermember (aka worker): timeout waiting for a read or write on an existing backend connection to

Re: hung apache during shutdown

2007-07-27 Thread Rainer Jung
Darryl L. Miles wrote: The hung apache runtime always occur after the leader apache process has been given its signal to terminate. So talking in terms of what web pages it serves makes no sense, since it has already shutdown all further webpage processing. The fatal bug is that the apache

Re: Apachelounge problems

2007-08-19 Thread Rainer Jung
Hello Steffen, I'm a Tomcat committer but not part of the httpd project. Nevertheless as all projects we also need to control, how release candidates get distributed. On the one hand we want a lot of testers to participate, on the other hand we need to unambiguously tell people downloading the

Re: And 2.2.6 Re: Notice of Intent: TR 2.0.61

2007-08-21 Thread Rainer Jung
Guenter Knauf wrote: may I ask a question on this topic: why is piped logging so important, and why dont we add f.e. mod_log_rotate which does the job of rotating logs more nicerly on every platform? That would avoid 95% usage of piped logging:

Re: [PATCH] proxy/ajp_header.c: Fix header detection

2007-08-30 Thread Rainer Jung
I committed Martins patch to mod_jk a couple of minutes ago. Thanks Martin! The Content-Type part of the patch didn't apply to mod_jk though. Regards, Rainer Jim Jagielski wrote: Yeah, all this is being fixed in the mod_jk code as well... On Aug 30, 2007, at 6:55 AM, Martin Kraemer wrote:

Re: [PATCH] proxy/ajp_header.c: Fix header detection

2007-08-30 Thread Rainer Jung
Hi Martin, Martin Kraemer wrote: Hi. While looking at ajp_header.c, I realized that its method of parsing the header line tokens is flakey: it uses memcmp() to check, e.g., whether the header token is Accept-Charset:, by uppercasing the token name (- ACCEPT-CHARSET), then compares the initial

proxy health checks [was: Proxying OPTIONS *]

2007-10-03 Thread Rainer Jung
Jim Jagielski wrote: On Oct 2, 2007, at 5:56 PM, Ruediger Pluem wrote: Slightly off topic, but this gives me the idea that we could use OPTIONS * as some kind of ping / health check for pooled connections in mod_proxy_http before sending a request (at least in the reverse proxy case before

Re: AP_CONN_CLOSE on force-response-1.0

2007-10-10 Thread Rainer Jung
Aleksey Midenkov wrote: The behavior is wrong since 2001-03-16 and since then it *sure* made and keeps making confusion. About 6 years. If so (making confusion), we should see a long history of bugzilla tickets with an impressive CC list on them. Are there? This is not a rhethorical

Re: time for 1.3.40 and 2.2.7 ?

2007-12-14 Thread Rainer Jung
Hi, Jim Jagielski schrieb: From what I can see, both 1.3 and 2.2 are backport free, so it's just 2.0 right now. maybe a good candidate for inclusion in 2.0 would be http://issues.apache.org/bugzilla/show_bug.cgi?id=43943 shmcb crash on Sparc when compiled with gcc 4. It has been fixed with

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Rainer Jung
the usefulness of this routing algorithm. Does reply time (from the backend server)correlate with resource utilization on the backend server in any but the most contrived cases? Yes, the algorithm is the average over the predefined amount of time. Further more Rainer Jung (our newest Tomcat commiter

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-19 Thread Rainer Jung
Henri Gomez wrote: For the load-balancing algorythm, do you plan to propose a bunch of pre build algos and let users select the right one for their use or allow externals modules ? We could see that like mod_jk / mod_proxy modules like apache modules does for HTTP... A pluggable balancing

Re: hot standby in proxy added

2006-07-11 Thread Rainer Jung
Jim Jagielski schrieb: Ruediger Pluem wrote: On 07/11/2006 10:41 PM, Jim Jagielski wrote: The hot-standby worker is the last resort if the site would be otherwise dead. The hot-standby worker can be used e.g. to display a maintenance page or a simpler version of the site or if you can

Re: hot standby in proxy added

2006-07-12 Thread Rainer Jung
Jim Jagielski schrieb: Yes, and that's why it's confusing. I can also see cases where you would want a hot-standby available at the same distance as well (check to see if there's a hot standby first, before checking hosts at a greater distance). You are totally right, I missed that one.

Re: load balancer cluster set

2006-07-31 Thread Rainer Jung
Jim Jagielski wrote: I'm trying to figure out which impl of the the LB cluster set makes the most sense and would appreciate the feedback. Basically, I see 2 different methods: 1. Members in all cluster sets which have the same or lower set numbers are checked 2. Only members is a

Re: load balancer cluster set

2006-07-31 Thread Rainer Jung
My experience: some organisations have a network group, that is able to understand application communication behaviour and do a very good job in making most of these features available via there load balancer appliances and then benefit from their central administration, GUIs etc. On the

mod_define ported to httpd 2.0/2.2

2006-08-25 Thread Rainer Jung
Hi, I ported mod_define to Apache httpd 2.0 and 2.2. The module has been originally created by Ralf S. Engelschall for Apache httpd 1.3 and distributed as an addon to mod_ssl (although it's function is unrelated to mod_ssl). There are a couple of people who were looking for a 2.0/2.2 compatible

Re: mod_define ported to httpd 2.0/2.2

2006-08-25 Thread Rainer Jung
Thanks for the feedback. I'll post URLs during the weekend. Of course you'll need to look at it before making decisions, I was simply interested in a first basic opinion. Concerning mod_define and mod_macro: they are a good fit together. mod_macro gives you the ability to factor out repeating

Re: mod_define ported to httpd 2.0/2.2

2006-08-25 Thread Rainer Jung
I put the code up on http://people.apache.org/~rjung/mod_define/ Comments are welcome. For big sites and well trained admins having an external tool like m4, scripting languages, ant etc. might be the better way to use config templates. But for a couple of easier use cases and less skilled

Re: mod_define ported to httpd 2.0/2.2

2006-08-25 Thread Rainer Jung
Hi Joshua, that's a very good hint. Somehow I missed ap_resolve_env() when I searched through the code to check the built-in features. So is ap_resolve_env() an official feature? Regards, Rainer Joshua Slive schrieb: On 8/25/06, Rainer Jung [EMAIL PROTECTED] wrote: I put the code up on http

Re: porstfs bug t2000 and 2.2

2006-08-30 Thread Rainer Jung
Look at Sun Alert 102485: http://sunsolve.sun.com/search/document.do?assetkey=1-26-102485-1 The bug should have been fixed with 118833-12 several months ago. Most early evaluaters of Niagara with Apache 2.2 ran into kernel panics because of the bug. The most recent kernel update patch is

Re: time for 1.3.40 and 2.2.7 ?

2008-01-03 Thread Rainer Jung
Ruediger Pluem schrieb: On 01/03/2008 12:21 AM, Ruediger Pluem wrote: But there was a problem with the _default_ setting for a virtual host. I am not sure so far if this is my config or if there is something else going wrong on Solaris 10. I will investigate tomorrow. This is a bug

Re: time for 1.3.40 and 2.2.7 ?

2008-01-03 Thread Rainer Jung
Rainer Jung schrieb: been last updated on December 18 this year, although it goes back to this - last (it's already next year) :)

Re: Huge httpd-process

2008-03-12 Thread Rainer Jung
Hi Marten, Marten Lehmann schrieb: Hello, If you think this is a bug, please open a bug in bugzilla. Adding you configuration to the bug could be also helpful. in the meantime I have upgraded to 2.2.8, but I still sometimes see processes like this: 2069 nobody15 01 0:46.23

Re: flood random profiletype?

2008-03-17 Thread Rainer Jung
Skye Poier Nott schrieb: Even better - very cool patch!! Like many people, I'm interested primarily in simulating real world traffic and round_robin doesn't really cut it. So is it in SVN or... ? At the moment it exists as an attachment to older mails of Guy to the same list. See e.g. his

Re: Proposal: a cron interface for httpd

2008-03-26 Thread Rainer Jung
Graham Leggett wrote: Hi all, On a number of occasions recently I have run into the need to run some kind of garbage collection within httpd, either in a dedicated process, or a dedicated thread. Attempts to solve this to date have involved setting up of external tools to try and solve

Re: Proposal: a cron interface for httpd

2008-03-27 Thread Rainer Jung
Nick Kew wrote: On Wed, 26 Mar 2008 17:15:02 +0100 Rainer Jung [EMAIL PROTECTED] wrote: ap_hook_monitor? As I understand the monitor hook, httpd itself also uses it. Thus letting modules do maintenance stuff in the same hook could easily break the timing of the httpd internal tasks

Empty Reason Phrase (BZ 44995/45092)

2008-05-20 Thread Rainer Jung
Hi, I did some research on BZ 44995 and BZ 45092 and stumbled into the following observation: It seems that httpd 2.0 and 2.2 require a non empty reason phrase in the status line. RFC 2616 allows an empty reason phrase: 6.1 Status-Line Status-Line = HTTP-Version SP Status-Code SP

Re: Empty Reason Phrase (BZ 44995/45092)

2008-05-20 Thread Rainer Jung
Sorry: BZ 45092 - 45026

Re: Empty Reason Phrase (BZ 44995/45092)

2008-05-20 Thread Rainer Jung
Hi Jeff, Jeff Trawick wrote: On Tue, May 20, 2008 at 8:56 AM, Rainer Jung [EMAIL PROTECTED] wrote: Hi, I did some research on BZ 44995 and BZ 45092 and stumbled into the following observation: It seems that httpd 2.0 and 2.2 require a non empty reason phrase in the status line. RFC 2616

Re: Empty Reason Phrase (BZ 44995/45092)

2008-05-20 Thread Rainer Jung
Ruediger Pluem schrieb: On 05/20/2008 08:52 PM, Jeff Trawick wrote: On Tue, May 20, 2008 at 8:56 AM, Rainer Jung [EMAIL PROTECTED] wrote: It seems that httpd 2.0 and 2.2 require a non empty reason phrase in the status line. RFC 2616 allows an empty reason phrase: 6.1 Status-Line Status

Re: Empty Reason Phrase (BZ 44995/45092)

2008-05-27 Thread Rainer Jung
Jeff Trawick schrieb: On Tue, May 20, 2008 at 3:27 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: On 05/20/2008 08:52 PM, Jeff Trawick wrote: Do we really need to require the space in the case that the reason phrase is empty? No... Both sets of code should be changed to consider the space

Re: Empty Reason Phrase (BZ 44995/45092)

2008-05-28 Thread Rainer Jung
Jeff Trawick wrote: On Tue, May 27, 2008 at 3:29 PM, Rainer Jung [EMAIL PROTECTED] wrote: Jeff Trawick schrieb: On Tue, May 20, 2008 at 3:27 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: On 05/20/2008 08:52 PM, Jeff Trawick wrote: Do we really need to require the space in the case

2.2.9 testing with OpenSSL 0.9.8h

2008-06-10 Thread Rainer Jung
This is only an info for others who might run into the same problem: I used the httpd test suite for httpd 2.2.9 in combination with OpenSSL 0.9.8h (the recent version). The test suite calls openssl \ req -new -key keys/client_revoked.pem -out csr/client_revoked.csr \ -passin

Re: [VOTE] Release Apache HTTP Server 2.2.9

2008-06-11 Thread Rainer Jung
Jim Jagielski schrieb: Test tarballs for Apache httpd 2.2.9 are available at: http://httpd.apache.org/dev/dist/ Your votes please; +/-1 [ ] Release httpd-2.2.9 as GA +1 (non-binding) Tested on Solaris 8 Sparc with latest test framework (without -ssl). No failures, but a couple of

Re: Virtualhost _default_:nnnn in test framework

2008-06-12 Thread Rainer Jung
Hi Nick, Nick Kew wrote: Line 367 in t/conf/httpd.conf reads: VirtualHost _default_:8530 This causes a failure on Solaris, with Could not resolve address '255.255.255.255' -- check resolver configuration. The same thing happens in various other places in the test suite's config. The

Wrong list address for [EMAIL PROTECTED]

2008-07-31 Thread Rainer Jung
Oon the page http://httpd.apache.org/lists.html the addresses for the httpd testers list are wrong (subscription) etc. All of them miss the httpd fragment ([EMAIL PROTECTED] - [EMAIL PROTECTED] etc.). Regards, Rainer

WIX-based httpd installer [Was: about httpd installer]

2008-08-04 Thread Rainer Jung
William A. Rowe, Jr. wrote: I'll add though, that if you can do it from scratch, the obvious way in this day and age is to start with the WIX project (sourceforge, MS created) which is an XML format - very transparent, and can be built by any of the contributors using free tools. That's

Re: Adding full environment variable support to mod_proxy_ajp

2008-09-04 Thread Rainer Jung
Ian Ward Comfort wrote: On 2 Sep 2008, at 9:34 PM, Mladen Turk wrote: Anyhow I agree with Nick that using existing directives from mod_rewrite or mod_headers would be much nicer solution, so I'm not in favor of adding new directives. Do you like the idea of proxying the entire subprocess_env

Re: Behaviour of mod_proxy_ajp if CPING/CPONG fails

2008-09-06 Thread Rainer Jung
Rüdiger Plüm schrieb: On 09/05/2008 06:21 PM, Mladen Turk wrote: Plüm, Rüdiger, VF-Group wrote: +1 for the concept. However for threaded servers you should call ap_proxy_acquire_connection inside retry loop, cause there might be available connections inside the pool. I don't think

Re: Behaviour of mod_proxy_ajp if CPING/CPONG fails

2008-09-07 Thread Rainer Jung
Ruediger Pluem schrieb: On 09/06/2008 10:54 PM, Rainer Jung wrote: Rüdiger Plüm schrieb: On 09/05/2008 06:21 PM, Mladen Turk wrote: Plüm, Rüdiger, VF-Group wrote: while (apr_proxy_acguire_connection) { fresh = 0 if (conn-sock == NULL) { fresh = 1

Re: Speeding up mod_proxy_balancer on Windows

2008-10-13 Thread Rainer Jung
Mladen Turk wrote: Ruediger Pluem wrote: Not exactly. I would prefer to fix the basic issue with Windows. If we need to support milliseconds for connection timeouts seems to be another story for me. Can some of the Windows gurus come to the rescue to either confirm and explain why it takes

Re: Speeding up mod_proxy_balancer on Windows

2008-10-13 Thread Rainer Jung
Jess Holle wrote: I just set this parameter to 0 and the issue went away entirely. And indeed http://support.microsoft.com/kb/175523 confirms, that Microsoft has a different way of handling RST than Unixes. Good catch, Ruediger! Thank you -- and all who helped on this thread! I think it

Re: SSL toolkit detection in acinclude.m4

2008-10-16 Thread Rainer Jung
Ruediger Pluem wrote: While investigating PR46018 I came across the following in acinclude.m4 dnl Run header and version checks saved_CPPFLAGS=$CPPFLAGS saved_LIBS=$LIBS if test x$ap_ssltk_base != x; then APR_ADDTO(CPPFLAGS, [-I$ap_ssltk_base/include]) APR_ADDTO(INCLUDES,

Re: leak on graceful restarts

2008-10-18 Thread Rainer Jung
Ruediger Pluem schrieb: On 10/18/2008 01:25 AM, Paul Querna wrote: Looking at a problem that seems easy to re-produce using un-patched trunk, 2.2.10 and 2.0.63. Using a graceful restart causes higher memory usage in the parent, which is then passed on to the 'new' children processes.

Re: Environment confusion

2008-10-20 Thread Rainer Jung
Paul Querna schrieb: Graham Leggett wrote: Hi all, I have just been picking apart the way that environment variables are handled at config time within httpd, and there seems to be some overloading on concepts that has caused some confusion. There are two environments within httpd, the

Re: SSL toolkit detection in acinclude.m4

2008-11-06 Thread Rainer Jung
: Samstag, 25. Oktober 2008 15:18 An: dev@httpd.apache.org Betreff: Re: SSL toolkit detection in acinclude.m4 On 10/16/2008 12:04 PM, Rainer Jung wrote: Ruediger Pluem wrote: While investigating PR46018 I came across the following in acinclude.m4 dnl Run header and version checks

Re: SSL toolkit detection in acinclude.m4

2008-11-06 Thread Rainer Jung
Plüm, Rüdiger, VF-Group schrieb: On 10/16/2008 12:04 PM, Rainer Jung wrote: Ruediger Pluem wrote: While investigating PR46018 I came across the following in acinclude.m4 dnl Run header and version checks saved_CPPFLAGS=$CPPFLAGS saved_LIBS=$LIBS if test x$ap_ssltk_base != x

Re: SSL toolkit detection in acinclude.m4

2008-11-06 Thread Rainer Jung
Rainer Jung schrieb: Plüm, Rüdiger, VF-Group schrieb: Rainer does the patch fix your issues on Solaris? I'll test once more without the save-related parts of the patch and let you know. I now removed the changes for INCLUDES and LDFLAGS and only kept the additional `$apr_config --libs

Re: SSL toolkit detection in acinclude.m4

2008-11-06 Thread Rainer Jung
Ruediger Pluem schrieb: On 11/06/2008 05:50 PM, Rainer Jung wrote: Rainer Jung schrieb: Plüm, Rüdiger, VF-Group schrieb: Rainer does the patch fix your issues on Solaris? I'll test once more without the save-related parts of the patch and let you know. I now removed the changes

Re: Time for 2.2.11?

2008-11-16 Thread Rainer Jung
ess Holle schrieb: Ruediger Pluem wrote: On 11/15/2008 09:50 PM, Ruediger Pluem wrote: Given the positive feedback: Please vote now on the backports :-). I /really/ want to see a sub-second proxy connection timeout as this is needed due to Windows' inappropriate RFC interpretation. This

Re: Preferred versions of libtool and autoconf for TR

2008-11-28 Thread Rainer Jung
Plüm, Rüdiger, VF-Group schrieb: -Ursprüngliche Nachricht- Von: Paul Querna Gesendet: Freitag, 28. November 2008 17:55 An: dev@httpd.apache.org Betreff: Re: Preferred versions of libtool and autoconf for TR Plüm, Rüdiger, VF-Group wrote: What are our preferred versions of

Re: svn commit: r712611 - /httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in

2008-11-29 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: Author: pquerna Date: Sun Nov 9 21:48:21 2008 New Revision: 712611 URL: http://svn.apache.org/viewvc?rev=712611view=rev Log: Add Simple MPM to example mpm config. Submited by: Ryan Phillips ryan trolocsis.com Modified:

Re: svn commit: r721952 - in /httpd/httpd/trunk: ./ modules/ modules/cluster/

2008-12-05 Thread Rainer Jung
Jim Jagielski schrieb: On Dec 5, 2008, at 4:21 AM, Paul Querna wrote: Is there any reason why we must use either APR_LOCK_FCNTL or APR_LOCK_FLOCK, wouldn't the default mutex work? The default lock mech on OSX is sysvsem. I couldn't get it to work properly after forking at all. Maybe

Re: rotatelogs improvement

2008-12-05 Thread Rainer Jung
glim schrieb: Greetings. If this isn't being sent to the correct list, I apologize. Let me know and I'll go elsewhere. I'd like to make a minor improvement to rotatelogs and wanted to check with the list to see what would be most appreciated. rotatelogs as it stands now cannot rotate by

Re: svn commit: r712611 - /httpd/httpd/trunk/docs/conf/extra/httpd-mpm.conf.in

2008-12-18 Thread Rainer Jung
On 29.11.2008 20:27, Rainer Jung wrote: pque...@apache.org schrieb: Author: pquerna Date: Sun Nov 9 21:48:21 2008 New Revision: 712611 URL: http://svn.apache.org/viewvc?rev=712611view=rev Log: Add Simple MPM to example mpm config. Submited by: Ryan Phillipsryan trolocsis.com Modified

Re: Intend to roll 2.3.1 on January 2nd

2009-01-02 Thread Rainer Jung
Hi Paul, On 26.12.2008 21:56, Paul Querna wrote: Hi, As in the Subject, I intend to roll and start a vote for 2.3.1 on Friday January 2nd, 2009. Thanks, Paul I committed 4 minor fixes today, but will be offline soon. I tested them, but if anyone is unhappy with them for the 2.3.1 tag,

Missing include in simple_run.c

2009-01-02 Thread Rainer Jung
When compiling trunk, I get simple_run.c:242: warning: implicit declaration of function 'ap_run_drop_privileges' I can fix it with the following patch: Index: server/mpm/simple/simple_run.c === --- server/mpm/simple/simple_run.c

Re: Configuration change for c...@httpd?

2009-01-02 Thread Rainer Jung
On 02.01.2009 15:57, Joe Schaefer wrote: - Original Message From: Joe Schaeferjoe_schae...@yahoo.com To: dev@httpd.apache.org Sent: Friday, January 2, 2009 9:42:20 AM Subject: Re: Configuration change for c...@httpd? - Original Message From: William A. Rowe, Jr. To:

Re: Configuration change for c...@httpd?

2009-01-02 Thread Rainer Jung
On 02.01.2009 17:58, Joe Schaefer wrote: - Original Message From: Rainer Jungrainer.j...@kippdata.de To: dev@httpd.apache.org Sent: Friday, January 2, 2009 11:43:44 AM Subject: Re: Configuration change for c...@httpd? On 02.01.2009 15:57, Joe Schaefer wrote: - Original Message

Module enable defaults for trunk

2009-01-02 Thread Rainer Jung
Hi, I compiled a list of our defaults for the enablement of modules on trunk (attached). I think some modules should change. There is a nice default setting, that will enable a module when --enable-modules=all is used. Some of the new modules (and filters) use this default, like mod_sed,

Re: Undefined symbols in ab.c

2009-01-02 Thread Rainer Jung
Hi Graham, On 03.01.2009 01:39, Graham Leggett wrote: Hi all, I am currently struggling to build httpd-trunk, the build of ab fails with undefined symbols as below. Is this broken for anyone else, or have I done something dumb? /tmp/httpd-trunk//build-1/libtool --silent --mode=link gcc -g

Re: svn commit: r730881 - in /httpd/httpd/trunk: configure.in support/Makefile.in

2009-01-02 Thread Rainer Jung
On 03.01.2009 02:02, William A. Rowe, Jr. wrote: rj...@apache.org wrote: Author: rjung Date: Fri Jan 2 16:58:11 2009 New Revision: 730881 URL: http://svn.apache.org/viewvc?rev=730881view=rev Log: We need to link only ab against libm (because of sqrt()). Uhm - sure that mod_status and a few

Re: svn commit: r730881 - in /httpd/httpd/trunk: configure.in support/Makefile.in

2009-01-02 Thread Rainer Jung
On 03.01.2009 02:50, William A. Rowe, Jr. wrote: Rainer Jung wrote: On 03.01.2009 02:02, William A. Rowe, Jr. wrote: rj...@apache.org wrote: Author: rjung Date: Fri Jan 2 16:58:11 2009 New Revision: 730881 URL: http://svn.apache.org/viewvc?rev=730881view=rev Log: We need to link only ab

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=730882view=rev Log: Only link libhttpd against pcre. Modified:

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: 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=730717view=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

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: 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-04 Thread Rainer Jung
On 04.01.2009 01:51, Ruediger Pluem wrote: 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

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-04 Thread Rainer Jung
On 04.01.2009 14:14, Ruediger Pluem wrote: On 01/04/2009 11:24 AM, Rainer Jung wrote: On 04.01.2009 01:51, Ruediger Pluem wrote: 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

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-04 Thread Rainer Jung
On 04.01.2009 16:22, Rainer Jung wrote: On 04.01.2009 15:56, Ruediger Pluem wrote: On 01/04/2009 03:48 PM, Rainer Jung wrote: On 04.01.2009 15:40, Ruediger Pluem wrote: On 01/04/2009 03:26 PM, Rainer Jung wrote: On 04.01.2009 14:14, Ruediger Pluem wrote: On 01/04/2009 11:24 AM, Rainer Jung

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-04 Thread Rainer Jung
On 04.01.2009 15:40, Ruediger Pluem wrote: On 01/04/2009 03:26 PM, Rainer Jung wrote: On 04.01.2009 14:14, Ruediger Pluem wrote: On 01/04/2009 11:24 AM, Rainer Jung wrote: On 04.01.2009 01:51, Ruediger Pluem wrote: On 01/04/2009 12:49 AM, Rainer Jung wrote: On 04.01.2009 00:36, Paul Querna

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-04 Thread Rainer Jung
On 04.01.2009 15:04, Ruediger Pluem wrote: 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

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-04 Thread Rainer Jung
On 04.01.2009 17:57, Rainer Jung wrote: When the content file gets opened, its cleanup is correctly registered with the request pool. Later in core_filters.c at the end of function ap_core_output_filter() line 528 we call setaside_remaining_output(). ... 2.2.x has a different structure

Re: Problem with file descriptor handling in httpd 2.3.1

2009-01-04 Thread Rainer Jung
On 04.01.2009 15:56, Ruediger Pluem wrote: On 01/04/2009 03:48 PM, Rainer Jung wrote: On 04.01.2009 15:40, Ruediger Pluem wrote: On 01/04/2009 03:26 PM, Rainer Jung wrote: On 04.01.2009 14:14, Ruediger Pluem wrote: On 01/04/2009 11:24 AM, Rainer Jung wrote: On 04.01.2009 01:51, Ruediger

Re: null pollset

2009-01-08 Thread Rainer Jung
On 08.01.2009 03:13, Brian Adams wrote: Hi, I just created a new dev box on Fedora 10 and I’m seeing something strange with httpd that I built from source. It’s segfaulting constantly (even though I can get pages and modules to execute). If I look at a coredump I see this: (gdb) where #0

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

2009-01-08 Thread Rainer Jung
On 08.01.2009 19:33, Paul Querna wrote: 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? There is not yet any fix in trunk for the delayed closing of files when using

Re: svn commit: r733476 - /httpd/httpd/trunk/support/rotatelogs.c

2009-01-11 Thread Rainer Jung
On 11.01.2009 15:53, Ruediger Pluem wrote: On 01/11/2009 03:05 PM, rj...@apache.org wrote: Author: rjung Date: Sun Jan 11 06:05:39 2009 New Revision: 733476 URL: http://svn.apache.org/viewvc?rev=733476view=rev Log: Refactor rotatelogs to allow easier implementation of signal triggered log

Re: svn commit: r733493 - in /httpd/httpd/trunk: CHANGESdocs/man/rotatelogs.8 docs/manual/programs/rotatelogs.xmlsupport/rotatelogs.c

2009-01-12 Thread Rainer Jung
On 12.01.2009 10:04, Joe Orton wrote: On Sun, Jan 11, 2009 at 05:36:07PM -, rj...@apache.org wrote: Author: rjung Date: Sun Jan 11 09:36:07 2009 New Revision: 733493 URL: http://svn.apache.org/viewvc?rev=733493view=rev Log: Allow to trigger rotatelogs log file rotation from using HUP and

Re: svn commit: r733493 - in /httpd/httpd/trunk: CHANGESdocs/man/rotatelogs.8 docs/manual/programs/rotatelogs.xmlsupport/rotatelogs.c

2009-01-12 Thread Rainer Jung
On 12.01.2009 11:19, Rainer Jung wrote: On 12.01.2009 10:04, Joe Orton wrote: On Sun, Jan 11, 2009 at 05:36:07PM -, rj...@apache.org wrote: Author: rjung Date: Sun Jan 11 09:36:07 2009 New Revision: 733493 URL: http://svn.apache.org/viewvc?rev=733493view=rev Log: Allow to trigger

Re: accept mod_fcgid codebase into httpd project

2009-01-12 Thread Rainer Jung
On 12.01.2009 04:53, William A. Rowe, Jr. wrote: Based on the enthusiasm of the module authors to adopt the AL and offer the mod_fcgid code to the httpd community, please vote +/-1 [+1] Accept mod_fcgid into httpd

Re: svn commit: r733493 - in /httpd/httpd/trunk: CHANGESdocs/man/rotatelogs.8 docs/manual/programs/rotatelogs.xmlsupport/rotatelogs.c

2009-01-12 Thread Rainer Jung
On 12.01.2009 18:59, William A. Rowe, Jr. wrote: Rainer Jung wrote: Does it make sense to add the reliable piped logs way of handling loggers to the error log? Or is there any known dependency between the code used in ap_open_piped_log() and the error log itself? When I was looking

[Patch] Reliable error logs for trunk

2009-01-15 Thread Rainer Jung
httpd has a feature called reliable piped logs. When a log process like rotatelogs dies, httpd automatically restarts it. This can be used to close open log files from outside httpd by simply killing rotatelogs. This procedure does not work for the error logs, because those are started with a

Re: svn commit: r733493 - in /httpd/httpd/trunk: CHANGESdocs/man/rotatelogs.8 docs/manual/programs/rotatelogs.xmlsupport/rotatelogs.c

2009-01-16 Thread Rainer Jung
On 12.01.2009 10:04, Joe Orton wrote: On Sun, Jan 11, 2009 at 05:36:07PM -, rj...@apache.org wrote: Author: rjung Date: Sun Jan 11 09:36:07 2009 New Revision: 733493 URL: http://svn.apache.org/viewvc?rev=733493view=rev Log: Allow to trigger rotatelogs log file rotation from using HUP and

Re: [Patch] Reliable error logs for trunk

2009-01-18 Thread Rainer Jung
Hi Rüdiger, first thanks for reviewing. On 17.01.2009 18:02, Ruediger Pluem wrote: On 01/16/2009 12:21 AM, Rainer Jung wrote: This difference goes back to pre 1.3 httpd. The patch at http://people.apache.org/~rjung/patches/reliable_error_log.patch Just some quick comments below Index

Re: [Patch] Reliable error logs for trunk

2009-01-18 Thread Rainer Jung
On 18.01.2009 16:37, Ruediger Pluem wrote: On 01/18/2009 03:52 PM, Rainer Jung wrote: Hi Rüdiger, first thanks for reviewing. On 17.01.2009 18:02, Ruediger Pluem wrote: On 01/16/2009 12:21 AM, Rainer Jung wrote: This difference goes back to pre 1.3 httpd. The patch at http

Re: [Patch] Reliable error logs for trunk

2009-01-18 Thread Rainer Jung
Oups, need to clarify. On 18.01.2009 16:48, Rainer Jung wrote: During startup or after restart we go through ap_open_logs() and thus restart - restart of httpd after startup or restart, the write side of the original pl is closed and the pipe is written to via the duped FD in stderr. More

Re: [Patch] Reliable error logs for trunk

2009-01-18 Thread Rainer Jung
pl = apr_palloc(p, sizeof (*pl)); pl-p = p; +pl-program = (program == NULL) ? NULL : apr_pstrdup(p, program); +pl-pid = NULL; Why is this needed now? Or was this just missed previously and is not really related to the reliable pipe usage of the error log? This was borked.

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-18 Thread Rainer Jung
On 16.01.2009 20:30, wr...@apache.org wrote: Author: wrowe Date: Fri Jan 16 11:30:42 2009 New Revision: 735093 URL: http://svn.apache.org/viewvc?rev=735093view=rev Log: Introduce Win32 AcceptFilter handling. Divided into 3 classes, this implements the first two; * AcceptFilter 'data' - much

Re: rotatelogs improvement

2009-01-18 Thread Rainer Jung
On 05.12.2008 22:41, Paul Querna wrote: glim wrote: Greetings. If this isn't being sent to the correct list, I apologize. Let me know and I'll go elsewhere. I'd like to make a minor improvement to rotatelogs and wanted to check with the list to see what would be most appreciated. rotatelogs

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-19 Thread Rainer Jung
On 19.01.2009 09:55, Issac Goldstand wrote: Rainer Jung wrote: On 16.01.2009 20:30, wr...@apache.org wrote: Author: wrowe Date: Fri Jan 16 11:30:42 2009 New Revision: 735093 URL: http://svn.apache.org/viewvc?rev=735093view=rev Log: Introduce Win32 AcceptFilter handling. Divided into 3

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-19 Thread Rainer Jung
On 19.01.2009 18:33, William A. Rowe, Jr. wrote: Rainer Jung wrote: I built trunk on XP today. When trying to run it, I get a restart loop for the child process, and the error log contains repetitions of: [Sun Jan 18 19:20:43 2009] [notice] Child 4556: Starting thread to listen on port 8000

Re: svn commit: r735093 - /httpd/httpd/trunk/server/mpm/winnt/child.c

2009-01-19 Thread Rainer Jung
On 19.01.2009 19:48, Rainer Jung wrote: On 19.01.2009 18:33, William A. Rowe, Jr. wrote: Curiosity, XP SP? -- and did you tweak apr.h(w) to enable IPV6? Tested again with APR_HAVE_IPV6 set to 1. Build succeeds, httpd starts, but http requests do not get any answer. There is no restart loop

Re: Using gzip and CustomLog

2009-01-21 Thread Rainer Jung
On 21.01.2009 07:09, Paras Fadte wrote: Hi , Does something like following work in Apache/2.0.55 ? CustomLog |/bin/gzip -c /home/mydir/apache/logs/mydomain.com-access_log.gz combined In errorlog it says : piped log program '/bin/gzip -c

Re: Using gzip and CustomLog

2009-01-21 Thread Rainer Jung
On 21.01.2009 13:01, Paras Fadte wrote: I tried this and It creates mydomain.com-access_log.gz but doesn't seem to update it. That's the buffering of gzip I mentioned. Run /path/to/httpd/bin/ab -n 5 -c 10 -k http://myserver:myport/ and you'll see data arriving. Regards, Rainer On

  1   2   3   4   5   6   7   8   9   10   >