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 -Wal

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=730881&view=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=730881&view=rev Log: We need to link onl

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

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=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

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

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:

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:

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 a

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 HT

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=733476&view=rev Log: Refactor rotatelogs to allow easier implementation of signal triggered log rot

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=733493&view=rev Log: Allow to trigger rotatelogs log file rotation from using HUP and I

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=733493&view=rev Log: Allow to tri

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 at this

[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=733493&view=rev Log: Allow to trigger rotatelogs log file rotation from using HUP and I

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

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=735093&view=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=735093&view=rev Log: Introduce Win32 AcceptFilter handling. Divided in

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 /home/mydir/apache/logs/mydomain.com-access_log.g

Re: Using gzip and CustomLog

2009-01-21 Thread Rainer Jung
g. Regards, Rainer On Wed, Jan 21, 2009 at 4:27 PM, Rainer Jung wrote: 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

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

2009-01-21 Thread Rainer Jung
On 19.01.2009 19:48, Rainer Jung wrote: 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

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

2009-01-21 Thread Rainer Jung
On 21.01.2009 18:33, William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: Rainer Jung wrote: Could be, that there's something wrong with the code that copies the listen sockets from the main process to the child. Exactly; one of the primary possibilities is that a well documente

Re: Using gzip and CustomLog

2009-01-22 Thread Rainer Jung
Rainer On Wed, Jan 21, 2009 at 8:15 PM, Paras Fadte wrote: Thanks for the response. Noticed that graceful apache restart tends to flush the buffer to log when gzip is used . Can you please shed some light on combining/using gzip and rotatelogs utility together ? -Paras On Wed, Jan 21, 2009 at

Re: Using gzip and CustomLog

2009-01-22 Thread Rainer Jung
On 23.01.2009 07:55, Paras Fadte wrote: Hi, I get following error when I try to use "compress" function of zlib in "rotatelogs.c" . I have included "zlib.h" in rotatelogs.c . /home/paras/httpd-2.0.55/support/rotatelogs.c:294: undefined reference to `compress' collect2: ld returned 1 exit stat

Re: Using gzip and CustomLog

2009-01-23 Thread Rainer Jung
z" at the end of the line: $(LINK) $(rotatelogs_LTFLAGS) $(rotatelogs_OBJECTS) $(PROGRAM_LDADD) -lz In case you don't know what a Makefile is and how it basically works, you need to read about how to do C software development. Regards, Rainer On Fri, Jan 23, 2009 at 1:09 PM, Rai

Re: How to treat CHANGES in trunk re: 2.3 alphas

2009-02-07 Thread Rainer Jung
On 01.02.2009 04:29, Ruediger Pluem wrote: On 01/31/2009 10:00 PM, Eric Covener wrote: With 2.3 alphas being rolled from trunk, should we still remove anything that gets backported to 2.2.x? IMHO it does not make sense to remove the entries currently as it would cause a loss of information w

Re: mod_proxy_balancer lbset functionality

2009-02-07 Thread Rainer Jung
On 01.02.2009 22:51, Jim Jagielski wrote: On Feb 1, 2009, at 3:08 AM, Mladen Turk wrote: Think Jim introduced the lbset balancer property, so he would probably know best how this is supposed to work. IIUC lbset should allow to create the group of balancer members, and that's great. However IMO

Re: Using gzip and CustomLog

2009-02-08 Thread Rainer Jung
doesn't get a signal but instead it will get an EPIPE when trying to read from the log pipe. Regards, Rainer On Fri, Jan 23, 2009 at 1:41 PM, Paras Fadte wrote: Thanks Rainer, yeah.. me not a pro at development . On Fri, Jan 23, 2009 at 1:30 PM, Rainer Jung wrote: On 23.01.2009 08:4

Unix line ends in Windows DSP files

2009-02-08 Thread Rainer Jung
Hi, all Windows DSP files in trunk, except for the recent ones for mod_sed and mod_proxy_fcgi, have Unix line ends, even when checked out on Windows. The eol-style is set to native (no difference with the sed or proxy_fcgi one). I assume they have been checked in from Windows but with Unix l

Re: Transparent proxy setup works fine, but want to confirm the settings

2009-02-14 Thread Rainer Jung
On 14.02.2009 01:46, Pranav Desai wrote: On Fri, Feb 13, 2009 at 1:26 AM, Graham Leggett wrote: Pranav Desai wrote: I am trying to setup Apache 2.2.9 as a transparent proxy. So that the users don't have to configure their browsers. Now the URLs coming in are relative for transparent proxy, so

Re: Optimize behaviour of reverse and forward worker

2009-02-14 Thread Rainer Jung
On 14.02.2009 15:09, Ruediger Pluem wrote: Current we set is_address_reusable to 0 for the reverse and forward worker. Is this really needed? IMHO we could reuse the connection if it goes to the same target (we already check this). By "check" you mean the code in ap_proxy_determine_connection()

Re: additional lbmethods in mod_proxy_balancer

2009-03-02 Thread Rainer Jung
What's you balancer configuration leading to the cited error? On 02.03.2009 16:34, Florian S. wrote: Hi everyone! I'm desperately trying to implement an additional loadbalancing algorithm. Did anyone succeeded in declaring own methods? The httpd-users-list did not give any reply, so I'll try i

Re: additional lbmethods in mod_proxy_balancer

2009-03-02 Thread Rainer Jung
6696| 616|FUNC |LOCL |0|12 |find_best_byfoobar So at least I can see, that the symbols are in there. You can check the same with your build result. Regards, Rainer Am Montag, den 02.03.2009, 17:46 +0100 schrieb Rainer Jung: What's you balancer configuration leadin

Re: mod_dbd and multiple databases

2009-03-05 Thread Rainer Jung
On 05.03.2009 16:41, Andrew Ford wrote: I suspect that it is a limitation of mod_dbd, but is there a way of having two database connections to different databases of different types in the same context? I can see that it is possible at the APR-Util level, but mod_dbd doesn't seem to allow for thi

Re: Set-Cookie

2009-03-26 Thread Rainer Jung
On 26.03.2009 10:07, Marco Spinetti wrote: Ok, I have to use apr_table_add instead od apr_table_set. So I should write: apr_table_add(r->headers_out, "Set-Cookie", co); apr_table_add(r->headers_out, "Set-Cookie", co1); If I write: apr_table_set(r->headers_out, "Set-Cookie", co); apr_table_merg

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

2009-03-26 Thread Rainer Jung
On 26.03.2009 13:25, Justin Erenkrantz wrote: On Thu, Mar 26, 2009 at 1:00 PM, Paul Querna wrote: I think the default should be event for the time being. +1 Rainer

Re: mod_proxy/mod_proxy_balancer bug

2009-04-17 Thread Rainer Jung
On 14.04.2009 23:23, Jess Holle wrote: > Jess Holle wrote: >> Similarly, when retrying workers in various routines in >> mod_proxy_balancer.c those worker's lbstatus is incremented. If the >> retry fails, however, the lbstatus is never reset. This issue also >> leads to an lbstatus that increases

Re: 2.2.12 ?

2009-04-21 Thread Rainer Jung
On 21.04.2009 08:48, jean-frederic clere wrote: > Philip M. Gollucci wrote: >> Hi, >> >> I count ~24 changes since 2.2.11 and at least 2 of which I've been >> asked to plop directly in freebsd ports tree. That tells me its time. >> >> I know I haven't done it before, but I might consider being the

Re: mod_proxy/mod_proxy_balancer bug

2009-04-21 Thread Rainer Jung
On 20.04.2009 15:57, Jim Jagielski wrote: > > On Apr 17, 2009, at 4:28 PM, Rainer Jung wrote: >> >> The same type of balancing decision algorithm was part of mod_jk between >> 1.2.7 and 1.2.15. I always had problems to understand, how it exactly >> behaves in case

New syntax for httpd on Windows commandline stop/restart

2009-04-27 Thread Rainer Jung
When running httpd under Windows not as a service, there is a known bug (BZ 25484), that you can't restart or stop it from another commandline (DOS box). This worked in httpd 1.3, never worked in 2.x and is still documented as working. Most of the code needed to make it work is already there, and

Re: New syntax for httpd on Windows commandline stop/restart

2009-04-27 Thread Rainer Jung
On 27.04.2009 20:11, Mario Brandt wrote: > Hi Rainer, > is there realy a need for that? > You can stop it with Ctrl + c and restart it with ctrl + break. I know that (from the code, I think it is not really mentioned in the docs). I do like the idea of having a mostly uniform commandline interface

Re: New syntax for httpd on Windows commandline stop/restart

2009-04-27 Thread Rainer Jung
Hi Bill, On 27.04.2009 20:39, William A. Rowe, Jr. wrote: > Rainer Jung wrote: >> Any comments on this change at all? Note that it will not break any use >> case, that already works. > > Just to confirm, you are looking at the significantly refactored trunk, > and not t

Re: New syntax for httpd on Windows commandline stop/restart

2009-04-28 Thread Rainer Jung
On 27.04.2009 21:11, Rainer Jung wrote: > On 27.04.2009 20:39, William A. Rowe, Jr. wrote: >> Rainer Jung wrote: >> Just to confirm, you are looking at the significantly refactored trunk, >> and not the 2.2 branch, right? > > I did the fix for 2.2.x, but looking at tru

Re: New syntax for httpd on Windows commandline stop/restart

2009-04-28 Thread Rainer Jung
On 27.04.2009 21:21, Mario Brandt wrote: >> I know that (from the code, I think it is not really mentioned in the >> docs). > > You are right. There is only ctrl+c documented. Ctrl + break is missing. I added a few lines about Control-Break to the trunk Windows platform docs. I will backport this

Re: New syntax for httpd on Windows commandline stop/restart

2009-05-03 Thread Rainer Jung
ut fixing it was the topic of the OP. If we decide to not fix the functionality in the code, I'll remove the wrong parts from the docs. Regards, Rainer > On Tue, Apr 28, 2009 at 4:18 PM, Rainer Jung wrote: >> On 27.04.2009 21:21, Mario Brandt wrote: >>>> I know that (f

Re: mod_proxy / mod_proxy_balancer

2009-05-06 Thread Rainer Jung
Caution: long response! On 05.05.2009 22:41, jean-frederic clere wrote: > Jim Jagielski wrote: >> >> On May 5, 2009, at 3:02 PM, jean-frederic clere wrote: >> >>> Jim Jagielski wrote: On May 5, 2009, at 1:18 PM, jean-frederic clere wrote: > Jim Jagielski wrote: >> On May 5, 2009, at 1

Re: mod_proxy / mod_proxy_balancer

2009-05-06 Thread Rainer Jung
On 06.05.2009 10:35, Jess Holle wrote: > Rainer Jung wrote: >> In most situations aplications need stickyness. So balancing will not >> happen in an ideal situation, instead it tries to keep load equal >> although most requests are sticky. >> >> Because of the in

Re: mod_proxy / mod_proxy_balancer

2009-05-06 Thread Rainer Jung
On 06.05.2009 14:35, jean-frederic clere wrote: > Jess Holle wrote: >> Rainer Jung wrote: >>> Yes, I think the counter/aging discussion is for the baseline, i.e. when >>> we do not have any information channel to or from the backend nodes. >>> >>> As so

Re: Backports from trunk to 2.2 proxy-balancers

2009-05-06 Thread Rainer Jung
On 06.05.2009 14:39, Jim Jagielski wrote: > It would certainly be easier to maintain a 2.2-proxy branch, with the > intent of it actually being folded *into* 2.2, if the branch used the > same dir structure as trunk, that is, a separate directory that includes > the balancer methods (as well as the

Re: mod_proxy / mod_proxy_balancer

2009-05-06 Thread Rainer Jung
On 06.05.2009 15:08, Jim Jagielski wrote: > > On May 6, 2009, at 4:35 AM, Jess Holle wrote: > >> >> Of course that redoes what a servlet engine would be doing and does so >> with lower fidelity. An ability to ask a backend for its current >> session count and load balance new requests on that ba

Re: mod_proxy hooks for clustering and load balancing

2009-05-06 Thread Rainer Jung
On 06.05.2009 20:26, Paul Querna wrote: > 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 th

Calling usage() from the rewrite args hook?

2009-05-06 Thread Rainer Jung
While working on additional windows commandline options I noticed, that there is no consistent checking for validity of the "-k" arguments. Those arguments are handled by the rewrite args hook, and some MPMs seem to care somehow about invalid or duplicate "-k" arguments (e.g. Unix outputs a somewh

Re: Calling usage() from the rewrite args hook?

2009-05-06 Thread Rainer Jung
On 06.05.2009 21:33, Rainer Jung wrote: > While working on additional windows commandline options I noticed, that > there is no consistent checking for validity of the "-k" arguments. > > Those arguments are handled by the rewrite args hook, and some MPMs seem > to care

Re: mod_proxy hooks for clustering and load balancing

2009-05-06 Thread Rainer Jung
On 06.05.2009 22:31, Jim Jagielski wrote: > > On May 6, 2009, at 4:20 PM, Graham Leggett wrote: > >> Jim Jagielski wrote: >> >>> I'll stop worrying about 2.2 when 2.4 comes closer to being a reality. >>> >>> Not saying that releasing 2.4 isn't worth it, but there have been >>> stops and >>> start

GCC 4, NULL and missing sentinel warnings

2009-05-12 Thread Rainer Jung
In revision 683278 Joe introduced a sentinel attribute mark to some APR functions (trunk and 1.4). When compiling httpd trunk I noticed, that on Solaris 8 and 10 using GCC 4 I get warnings about missing sentinels in function calls. I also get it on some apr files, like e.g. apr_tables.c. It turns

Re: GCC 4, NULL and missing sentinel warnings

2009-05-13 Thread Rainer Jung
On 13.05.2009 00:04, William A. Rowe, Jr. wrote: > Rainer Jung wrote: >> Should I prepare a patch along those lines? > > Maybe bring this up on the d...@apr.apache.org list? You're right, I opened an issue and attached a patch. https://issues.apache.org/bugzilla/show_bu

Re: svn commit: r735516 - /httpd/httpd/trunk/server/log.c

2009-05-14 Thread Rainer Jung
On 13.05.2009 22:38, William A. Rowe, Jr. wrote: > -1. There's really no excuse to abstract an abstraction, when you > could have simply added 'int special_stderr;' to the piped_log struct. I reverted. Moving the new member to the existing piped_log structure makes it publicly visible. As for now

Re: svn commit: r735516 - /httpd/httpd/trunk/server/log.c

2009-05-14 Thread Rainer Jung
On 14.05.2009 15:49, Joe Orton wrote: > On Thu, May 14, 2009 at 12:51:18PM +0200, Rainer Jung wrote: >> On 13.05.2009 22:38, William A. Rowe, Jr. wrote: >>> Please revert the introduction of a _wrapper struct and let's simply >>> fix the piped_log structure? >&

Re: svn commit: r774755 - in /httpd/httpd/trunk: CHANGES server/log.c

2009-05-14 Thread Rainer Jung
On 14.05.2009 18:03, William A. Rowe, Jr. wrote: > rj...@apache.org wrote: >> Author: rjung >> Date: Thu May 14 12:59:25 2009 >> New Revision: 774755 >> >> URL: http://svn.apache.org/viewvc?rev=774755&view=rev >> Log: >> Allow relative pathnames for piped loggers in ErrorLog. > >> --- httpd/httpd/

Re: svn commit: r774755 - in /httpd/httpd/trunk: CHANGES server/log.c

2009-05-14 Thread Rainer Jung
On 14.05.2009 18:50, William A. Rowe, Jr. wrote: > Rainer Jung wrote: >> The code is identical to what we do in mod_rewrite and mod_log_forensic. >> I'll check the details, but I didn't commit this in January without >> testing especially with rotatelogs and params.

Working directory, piped logs and relative paths

2009-05-14 Thread Rainer Jung
I noticed some differences between Unix and Windows way of handling piped loggers I wanted to give notice of: Both platforms use a shell resp. cmd.exe to start the piped logger. In principle both allow to use a relative path for the log program. On Unix the working directory of the httpd processe

Re: svn commit: r774884 - /httpd/httpd/trunk/server/log.c

2009-05-14 Thread Rainer Jung
On 14.05.2009 23:06, William A. Rowe, Jr. wrote: > rj...@apache.org wrote: >> Author: rjung >> Date: Thu May 14 19:13:17 2009 >> New Revision: 774884 >> >> URL: http://svn.apache.org/viewvc?rev=774884&view=rev >> Log: >> Revert r774755: ap_server_root_relative() for >> >> piped loggers is nonsense.

Re: svn commit: r735516 - /httpd/httpd/trunk/server/log.c

2009-05-15 Thread Rainer Jung
On 14.05.2009 15:49, Joe Orton wrote: > On Thu, May 14, 2009 at 12:51:18PM +0200, Rainer Jung wrote: >> On 13.05.2009 22:38, William A. Rowe, Jr. wrote: >>> Please revert the introduction of a _wrapper struct and let's simply >>> fix the piped_log structure? >&

Re: mod_proxy. mod_proxy_balancer and failovers

2009-06-02 Thread Rainer Jung
On 02.06.2009 15:24, Kevac Marko wrote: > On Tue, Jun 2, 2009 at 4:15 PM, Nick Kew wrote: >> How is the balancer supposed to know that one valid HTTP response >> is an error while another is correct? A 404 or other error response >> doesn't mean there's a problem with the server! > > These HTTP

Re: add OS to BugZilla

2009-06-04 Thread Rainer Jung
Done by Mark (Thomas) independent of 'Product' category. On 03.06.2009 17:24, Guenter Knauf wrote: > Hi, > we support NetWare already from 1.3.x days, and I think it would make > sense to add 'NetWare' to the OS dropdown selector in BugZilla; > can perhaps someone with the needed karma add this pl

Re: rotatelogs - Adding timeout for reading from stdin

2009-06-09 Thread Rainer Jung
On 09.06.2009 18:51, William A. Rowe, Jr. wrote: > Mladen Turk wrote: >> Why? Timeout on reading from stdin is a nice and clean way for making the >> rotation to happen even when there is no log entries fired that would >> break the block on stdin. Rotation would always happen at midnight, >> not a

Re: Events, Destruction and Locking

2009-07-08 Thread Rainer Jung
On 08.07.2009 15:55, Paul Querna wrote: > On Wed, Jul 8, 2009 at 3:05 AM, Graham > Dumpleton wrote: >> 2009/7/8 Graham Leggett : >>> 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

Re: svn commit: r792554 - in /httpd/httpd/branches/2.2.x: STATUS modules/generators/mod_info.c

2009-07-09 Thread Rainer Jung
On 09.07.2009 15:45, taka...@apache.org wrote: > Author: takashi > Date: Thu Jul 9 13:45:35 2009 > New Revision: 792554 > > URL: http://svn.apache.org/viewvc?rev=792554&view=rev > Log: > vote and comment > I guess the following part of the commit was an accident? That patch is still voted on in

Re: William Rowe Jr. is now V.P., Apache HTTP Server

2009-07-16 Thread Rainer Jung
On 16.07.2009 09:29, Mladen Turk wrote: > On 16/07/09 00:46, Roy T. Fielding wrote: >> >> BE IT FURTHER RESOLVED, that William Rowe Jr. be and hereby is >> appointed to the office of Vice President, Apache HTTP Server, to >> serve in accordance with and subject to the direction of the Board of >> D

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-21 Thread Rainer Jung
On 21.07.2009 20:44, Ruediger Pluem wrote: > Solaris 10(SPARC): worker, event and prefork MPM build and start up. >Only limited test results from the framework due to > incomplete >perl framework on my machine, but no regressions noted. >

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
I built and tested on Windows XP SP3. There's no Win source download available at /dev/dist yet, but I did the build using the Unix sources. It looks good in principle, so +1 but I have some observations to remark (all tests done with Win32DisableAcceptEx). See especially remark number 5). 1) R

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
On 25.07.2009 16:05, Rainer Jung wrote: > 5) Starting a service only works using the ApacheMonitor or the Windows > Service Control. Using the commandline httpd.exe I can not start the > service. The event log shows: > > [Sat Jul 25 15:11:03 2009] [notice] Disabled use of AcceptEx

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
On 25.07.2009 18:36, William A. Rowe, Jr. wrote: > Rainer Jung wrote: >> On 25.07.2009 16:05, Rainer Jung wrote: >>> 5) Starting a service only works using the ApacheMonitor or the Windows >>> Service Control. Using the commandline httpd.exe I can not start the >&

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
On 25.07.2009 18:57, Rainer Jung wrote: Oups: > and 12, so I'll shut down now and come back when I really know the shut down -> shut up

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
Still not a complete solution to the puzzle, but some more findings below. On 25.07.2009 20:55, William A. Rowe, Jr. wrote: > Rainer Jung wrote: >> On 25.07.2009 18:36, William A. Rowe, Jr. wrote: >>> Rainer Jung wrote: >>>> On 25.07.2009 16:05, Rainer Jung wrote: &g

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
On 26.07.2009 00:41, Rainer Jung wrote: > Now the new thing: as I reported before, I was testing rotatelogs, but > then when you asked about peculiarities I forgot to mention rotatelogs. > > And yes: as soon as I throw out rotatelogs, the problem disappears. When > I add r

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-25 Thread Rainer Jung
Possible patch would be moving the "start" handling from post config to pre config. That way everything gets easier (we are not establishing listeners and shut them down again shortly after, not establishing rotatelogs etc.). Patch against 2.2 head at http://people.apache.org/~rjung/patches/httpd-

Re: [VOTE] httpd 2.2.12 tarballs

2009-07-26 Thread Rainer Jung
On 26.07.2009 09:54, William A. Rowe, Jr. wrote: >> It doesn't matter whether I use "|" or the new "||". It doesn't matter >> whether I use rotatelogs in ErrorLog or CustomLog or both. > > Note that || and |$ have not yet been backported. It was done with the following backport: r777193 | jim |

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

2009-07-30 Thread Rainer Jung
Hi Paul, I guess you didn't want to delete Dan from the contributors list ;) Regards, Rainer On 30.07.2009 03:36, pque...@apache.org wrote: > Author: pquerna > Date: Thu Jul 30 01:36:44 2009 > New Revision: 799152 > > URL: http://svn.apache.org/viewvc?rev=799152&view=rev > Log: > Update myself

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

2009-07-31 Thread Rainer Jung
svn up Regards, Rainer > On Thu, Jul 30, 2009 at 1:17 AM, Rainer Jung wrote: >> Hi Paul, >> >> I guess you didn't want to delete Dan from the contributors list ;) >> >> Regards, >> >> Rainer >> >> On 30.07.2009 03:36, pque...@apac

Main httpd web site page: update needed for 2.2.13

2009-08-09 Thread Rainer Jung
Hi, I noticed there was still a 2.2.12 in a section heading of the httpd landing page. I updated in svn: http://svn.apache.org/viewvc?view=rev&revision=802660 Could someone with karma on people.apache.org please update /x1/www/httpd.apache.org from svn? Unfortunately Bill has group ownership

Re: Main httpd web site page: update needed for 2.2.13

2009-08-09 Thread Rainer Jung
On 10.08.2009 08:01, Rainer Jung wrote: > Hi, > > I noticed there was still a 2.2.12 in a section heading of the httpd > landing page. I updated in svn: > > http://svn.apache.org/viewvc?view=rev&revision=802660 > > Could someone with karma on people.apache.or

Re: Main httpd web site page: update needed for 2.2.13

2009-08-10 Thread Rainer Jung
Am 10.08.2009 17:28, schrieb William A. Rowe, Jr.: Rainer Jung wrote: On 10.08.2009 08:01, Rainer Jung wrote: Hi, I noticed there was still a 2.2.12 in a section heading of the httpd landing page. I updated in svn: http://svn.apache.org/viewvc?view=rev&revision=802660 Could someone

Re: Main httpd web site page: update needed for 2.2.13

2009-08-10 Thread Rainer Jung
Am 10.08.2009 17:47, schrieb Lars Eilebrecht: Rainer Jung wrote: I noticed there was still a 2.2.12 in a section heading of the httpd landing page. I updated in svn: BTW, the download page actually talks about the release of 2.2.18. That's already fixed in svn, but also needs svn

Re: Main httpd web site page: update needed for 2.2.13

2009-08-10 Thread Rainer Jung
Am 10.08.2009 17:16, schrieb Guenter Knauf: Hi, Rainer Jung schrieb: I noticed there was still a 2.2.12 in a section heading of the httpd landing page. I updated in svn: http://svn.apache.org/viewvc?view=rev&revision=802660 Could someone with karma on people.apache.org please update

<    3   4   5   6   7   8   9   10   11   12   >