AW: hohe Hauptspeicherauslastung der httpd.exe

2010-01-27 Thread Hauser Juergen
Hallo Mario, mir ist noch was aufgefallen. Da wir jetzt die Infomeldungen bekommen, sehe ich jetzt folgende Meldungen: [Wed Jan 27 12:16:23 2010] [notice] Child 3968: Waiting 150 more seconds for 19 worker threads to finish. [Wed Jan 27 12:16:53 2010] [notice] Child 3968: Waiting 120 more

Re: hohe Hauptspeicherauslastung der httpd.exe

2010-01-27 Thread Mario Brandt
Hallo Jürgen, dein Problem ist MaxRequestsPerChild 5000. Dieser Wert sollte unter Windows eigentlich auf 0 stehen damit der Kind (child) Prozess nie neugestartet werden muss. Windows benutzt ja ein Thead Model und nicht prefork wie linux / unix, wo viele Kindprozesse gestartet werden, sondern nur

RE: [us...@httpd] SSL Reverse Proxy

2010-01-27 Thread Emmanuel Bailleul
-Message d'origine- De : mearn...@gmail.com [mailto:mearn...@gmail.com] De la part de Brian Mearns Envoyé : mardi 26 janvier 2010 21:28 À : users@httpd.apache.org Objet : [us...@httpd] SSL Reverse Proxy I'm looking for some clarification on how to setup a reverse proxy that

Re: [us...@httpd] redirects only working for some virtual hosts

2010-01-27 Thread Krist van Besien
On Tue, Jan 26, 2010 at 2:34 AM, RYAN vAN GINNEKEN k...@computerking.ca wrote: Please help as i have been struggling with this problem for a long time and do not know what else to try for troubleshooting. Are you sure that the requests are going to the virtualhost you expect them to go to?

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Krist van Besien
On Tue, Jan 26, 2010 at 6:32 PM, Chris Brooks madb...@gmail.com wrote: Any suggestions as to what might be going on? You are not using any perl sections by chance, are you? Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Daniel Reinhardt
-- From: Dan Bunyard danodem...@gmail.com Sent: 27 January, 2010 1:28 To: users@httpd.apache.org Subject: [us...@httpd] Runaway Apache Process This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Chris Brooks
Good morning Krist, Thank you very much for your reply. No, I don't have any perl blocks in the httpd.conf, although this is a mod_perl enabled apache daemon. Thanks, Chris On Wed, Jan 27, 2010 at 5:16 AM, Krist van Besien krist.vanbes...@gmail.com wrote: On Tue, Jan 26, 2010 at 6:32 PM,

[us...@httpd] Simplifying rewrite rules

2010-01-27 Thread Rainer Frey
Hi, I'm implementing two reverse proxies reverse proxy in front of two application server farms in different data centers, where each customer has one specific target server. The rewrite rules below are working, but might do several external redirects, which I'd like to reduce if possible.

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Eric Covener
On Tue, Jan 26, 2010 at 12:32 PM, Chris Brooks madb...@gmail.com wrote: Good morning Apache list, I have a strange mod_rewrite problem, and I'm not sure how to solve it.  I have a RewriteRule that works correctly on one apache daemon, but doesn't work when copied and pasted to the httpd.conf

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Jeff Trawick
On Tue, Jan 26, 2010 at 8:28 PM, Dan Bunyard danodem...@gmail.com wrote: This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB of RAM that I use to host a few small web sites of mine. As I mentioned, this happened once before. I tried to load one

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Dan Bunyard
I have never done a backtrace, can you please point me in the right direction for that? I didn't check CPU usage at the time, only load average which was around 100 (normally it's between 0.02 and 0.5 over 1 minute). I was able to log in but it was VERY slow. As I watched the load average it

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Chris Brooks
Hi Eric, Thanks for the note. Both apache and mod_perl are up-to-date: [r...@data2 ~]# /usr/local/apache-perl/bin/httpd -v Server version: Apache/1.3.41 (Unix) Server built: Sep 2 2009 15:34:13 [r...@data2 ~]# perl -Mmod_perl -le 'print mod_perl-VERSION' 1.31 Thanks, Chris On Wed, Jan 27,

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Jeff Trawick
On Wed, Jan 27, 2010 at 8:28 AM, Dan Bunyard danodem...@gmail.com wrote: I have never done a backtrace, can you please point me in the right direction for that? gdb /path/to/httpd PID ... (gdb) where (backtrace displayed here) (gdb) quit run gdb as root if you start httpd as root I didn't

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Mark Watts
Next time your system goes wonky, check the following: # netstat -plant | grep httpd | grep -c ESTABLISHED This should say 100 or so, indicating you've filled MaxClients worth of processes. You might want to try this, which should tell you how many connections each IP address connecting to you

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Eric Covener
On Wed, Jan 27, 2010 at 8:38 AM, Chris Brooks madb...@gmail.com wrote: Hi Eric, Thanks for the note.  Both apache and mod_perl are up-to-date: [r...@data2 ~]# /usr/local/apache-perl/bin/httpd -v Server version: Apache/1.3.41 (Unix) Server built:   Sep  2 2009 15:34:13 Both systems are 1.3?

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Chris Brooks
Hi Eric, Yes, both are 1.3. I don't have Apache2.pm -- the mod_perl2 module -- installed. [r...@data2 ~]# perl -MApache2 -le 'print mod_perl-VERSION' Can't locate Apache2.pm in @INC (@INC contains: /www/perl/ /usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Jeff Trawick
On Wed, Jan 27, 2010 at 8:46 AM, Dan Bunyard danodem...@gmail.com wrote: @Mark I will do that the next time it happens.  I will also trim down the modules, I think I had done a mass install of a bunch of things I needed but in the process picked up a lot of them that I don't/won't use. That's

[us...@httpd] Apache server not starting after Symantec Antivirus update

2010-01-27 Thread Uma G. Nayak
Hi All, I am using Apache Webserver (version ) which is FIPS enabled using OpenSSL. As long as I have used Symantec Antivirus (11.0 - patch update MR4MP2) the webserver was working fine. When I updated my antivirus to (11.0.5002.333 i.e. patch update RU5) apache webserver stopped working. I

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Dan Bunyard
@Jeff The last request made before it goes out of control doesn't seem to be unique in any way, it appears to be the Yandex spider just crawling one of the sites: 87.250.252.242 - - [25/Jan/2010:11:38:00 -0500] GET / HTTP/1.1 301 359 - Yandex/1.01.001 (compatible; Win16; I) That was the very last

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Eric Covener
On Wed, Jan 27, 2010 at 9:22 AM, Dan Bunyard danodem...@gmail.com wrote: @Jeff The last request made before it goes out of control doesn't seem to be unique in any way, it appears to be the Yandex spider just crawling one of the sites: 87.250.252.242 - - [25/Jan/2010:11:38:00 -0500] GET /

[us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Arunkumar Janarthanan
Hello All, We have apache servers running on RedHat Linux physical servers, all 4 servers are balanced by Citrix Netscaler 8.1 load balancer with round robin weight load sharing algorithm. However when I check the server status page to find the number of requests are served by each Apache

Re: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Nilesh Govindarajan
On 01/27/2010 08:06 PM, Arunkumar Janarthanan wrote: Hello All, We have apache servers running on RedHat Linux physical servers, all 4 servers are balanced by Citrix Netscaler 8.1 load balancer with round robin weight load sharing algorithm. However when I check the server status page to find

Re: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Arunkumar Janarthanan
Hi Nilesh, Thanks for your response. I have already checked this with Load balancer support found the requests are getting sitributed eventually from Netscaler end. So was chekcing if this could be an issue or known behaviour with Apache. Best Regards, Arun J On Wed, Jan 27, 2010 at 9:43 AM,

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Dan Bunyard
I think I done that right, I added this to my httpd.conf file: LoadModule log_forensic_module modules/mod_log_forensic.so #Forensic logging ForensicLog logs/forensic_log I am seeing stuff in the forensic_log so I guess that's right. I will take a look at it the next time it happens. Thanks for

Re: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Mark Watts
On Wed, 2010-01-27 at 09:47 -0500, Arunkumar Janarthanan wrote: Hi Nilesh, Thanks for your response. I have already checked this with Load balancer support found the requests are getting sitributed eventually from Netscaler end. So was chekcing if this could be an issue or known

Re: [us...@httpd] Client certificate authentication on tunneling proxy

2010-01-27 Thread Matus UHLAR - fantomas
Igor Cicimov wrote: So you are trying to connect to port 80 on the server not 443? The SSL host listens to 443 so what do you expect to happen when you connect to port 80 as shown in your test? Have you redirected the port 80 to 443 in your configuration or what? On 21.01.10 18:33,

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-27 Thread Matus UHLAR - fantomas
On 22.01.10 14:59, J. Bakshi wrote: Two newbie questions [1] I am running a development server with multiple vhosts. Presently all logs can be seen at /etc/apache2/log/error.log and at /etc/apache2/log/access.log. How can I break the logs for each and every vhosts ; so that the log only

Re: [us...@httpd] Content-Type text.html for DirectoryIndex (1.3.x)

2010-01-27 Thread Matus UHLAR - fantomas
On 24.01.10 19:27, Jonathan Hayward wrote: I am getting an error in my log if I visit http://jonathanscorner.com/admin/but not http://jonathanscorner.com/admin/index.html under Apache 1.3.x. The two URL's serve up the same file; on a visit to http://jonathanscorner.com/admin/ , DirectoryIndex

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-27 Thread apa
Hello am Mittwoch, 27. Januar 2010 um 17:22 schrieben Sie: On 22.01.10 14:59, J. Bakshi wrote: Two newbie questions [1] I am running a development server with multiple vhosts. Presently all logs can be seen at /etc/apache2/log/error.log and at /etc/apache2/log/access.log. How can I

RE: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Gary Smith
Arunkumar, There is no problem with what I see. The load balancer will balance a requester to a machine for a period of time. So if my web clients makes a request to your server, I will probably have a higher probability of getting that same server. It's like iptables connection tracking.

[us...@httpd] Configuring mod_authnz_ldap to search compare using server's credentials, not users'

2010-01-27 Thread Thomas, Peter
I have a situation where presentation of an X.509 certificate by a user in two-way SSL is considered authoritative for identification purposes, however I need to use the directory for attribute and authorization information. The LDAP server expects me to bind via my server certificate with

[us...@httpd] mod_log_config issue

2010-01-27 Thread Joe Hammerman
Hello Apache users list. We have an issue with mod_log_config; specifically we are trying to pipe log output through Sed before it goes to Cronolog. The result is that we get no output whatsoever. Here is a sample of the directives we are using in our VirtualHost container: CustomLog |

RE: [us...@httpd] Apache Server status page shows uneven number of requests across load balanced web servers

2010-01-27 Thread Gary Smith
Arun, This is just a WAG, but I think that the problem still lies in the client side and how the load balancer is handling the requests. I would still be interested in seeing the netstat -atunep output from one of he affected machines when there is a high level of connections in a closed

[us...@httpd] Re: mod_log_config issue

2010-01-27 Thread Dan Poirier
Joe Hammerman jhammer...@videoegg.com writes: Hello Apache users list. We have an issue with mod_log_config; specifically we are trying to pipe log output through Sed before it goes to Cronolog. The result is that we get no output whatsoever. Here is a sample of the directives we are

Re: [us...@httpd] Re: mod_log_config issue

2010-01-27 Thread Peter J Milanese
Isn't cronolog highly dependent on the w3c log convention? - Original Message - From: Dan Poirier [poir...@pobox.com] Sent: 01/27/2010 03:02 PM EST To: users@httpd.apache.org Subject: [us...@httpd] Re: mod_log_config issue Joe Hammerman jhammer...@videoegg.com writes: Hello Apache

RE: [us...@httpd] Re: mod_log_config issue

2010-01-27 Thread Joe Hammerman
Hi Dan, If we replaced Sed with Cat, I'm a little confused as to what we would be catting; there's a stream coming in, right? To your second question - yes, logging is fully functional with sudo To your final question - no, even with a sed command that performs no actions, no logging

[us...@httpd] Some background information on our use case (Was mod_log_config issue)

2010-01-27 Thread Joe Hammerman
So perhaps someone on the users list has an alternative method for addressing the issue we are encountering. Our setup is that we have Amazon EC2 instances serving our web content. If we logged the request host IP, we would have a log filled with the IP's of the Amazon load balancers.

[us...@httpd] mod_proxy (rev proxy): Don't set Content-Type if remote server doesn't set it

2010-01-27 Thread Ray Van Dolson
I'm trying to troubleshoot a Nokia E71x having problems connecting to our OWA server via an Apache 2.2.13 reverse proxy. As part of the troubleshooting, I noticed that in response to a Sync request (all done via HTTP/1.1 btw), we recieve a response from the OWA server with the following HTTP

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Daniel Reinhardt
-- From: Dan Bunyard danodem...@gmail.com Sent: 27 January, 2010 12:22 To: users@httpd.apache.org Subject: Re: [us...@httpd] Runaway Apache Process I'm going to try to answer all the questions in one email here. @Daniel Reinhardt Here are the