[EMAIL PROTECTED] Apache HTTP server 2.2, Mod_proxy, Tomcat 6 - Very slow connection

2008-05-30 Thread bohemianRhapsody
Hi, I am facing a problem in my web application's deployment and would be grateful for any help in this regard. Thanks. PROBLEM: - When a client requests for our web application, the first page takes a very long time to load. It takes almost 3 minutes. After that, subsequent connections are

[EMAIL PROTECTED] Fatal errors

2008-05-30 Thread debussy007
Hi, I would like to know where the fatal errors are logged. I checked the error_log file of apache but I can't see any fatal errors there, Only lines that starts with: File does not exist: ... client sent HTTP/1.1 request without hostname ... Thank you for any help! -- View this message in

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread amiribarksdale
Krist van Besien wrote: What are you using mod_perl for? Are you producing any dynamically generated content? Could be that apache itself is waiting for some script or module to finish... Of course that's what I'm using it for. It's possible, but not likely, that Apache is actually

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
One issue is likely keep-alives. One issue with graphics is that each one is a separate request requiring a separate SSL connection (unless the KeepAlive is set to a reasonable value (I think we set ours to 10k). Check out here: http://httpd.apache.org/docs/1.3/misc/perf-tuning.html . This

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread amiribarksdale
Ben Ricker wrote: One issue is likely keep-alives. One issue with graphics is that each one is a separate request requiring a separate SSL connection (unless the KeepAlive is set to a reasonable value (I think we set ours to 10k). Check out here:

[EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Denis Peuziat
Apache 2.2.3 + Perl 5.8.8 on SUSE SLES10 I have just migrated a site from a linux RH server with Apache 2.0.46 and perl 5.8.0 to a server with the config above. Some perls scripts that are still executing correctly on the old server, are now identified as Unknown files when page is launched in

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jim Jagielski
On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server starts (hope not) or maybe it is counted in 10 minutes period

[EMAIL PROTECTED] mod_proxy_ftp does not work over SSL connection

2008-05-30 Thread David
I want to use mod_proxy_ftp over a https connection, but it somehow doesn't work. The basic setup is as follows: SSLEngine On SSLProxyEngine on SSLCertificateFile /etc/apache2/ssl/ca.pem SSLCertificateKeyFile /etc/apache2/ssl/ca.key Proxy * Order deny,allow Allow from all

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jess Holle
Jim Jagielski wrote: On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server starts (hope not) or maybe it is counted in 10

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread andrzej
Jim Jagielski pisze: On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server starts (hope not) or maybe it is counted in 10

RE: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Ryan Murray
Ryan Murray wrote: IMHO LB is not at all a long-term action - if my LB worked like current world stock market I'd return it to the vendor! Knowing that _over time_ my n clustered servers did the same amount of work is not nearly as useful as knowing that _right now_ my 2 servers are

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jim Jagielski
On May 30, 2008, at 9:25 AM, Ryan Murray wrote: In fact for many (if not most) monitoring and management situations, moving averages are more useful than infinitely historical data. If load patterns may change over time, it is often reasonable (or necessary) that recent traffic has

Re: [EMAIL PROTECTED] lbmethods in mod_proxy_balancer

2008-05-30 Thread Jim Jagielski
On May 30, 2008, at 9:10 AM, Jess Holle wrote: Jim Jagielski wrote: On May 29, 2008, at 5:38 PM, andrzej wrote: Hi, module mod_proxy_balancer can make decision basing on volume of traffic or number of requests. How, for example, this volume is counted? Is it counted from the time server

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
KeepALives off is a BAD idea. You should turn them on. In fact, I would bet my semi-pro reputation that this may be your big issue with the SSL slowness. It may not be ALL the issues since you are using dynamic content which brings a host of perf issues. Read that link and tune KeepAlives. Ben

Re: [EMAIL PROTECTED] Unsecuring a URL

2008-05-30 Thread Scott Gifford
Mark Mcdonald [EMAIL PROTECTED] writes: [...] There are no errors, the authentication prompt just remains after apache is restarted. I am testing on a box using Basic auth, with the following file in /etc/apache2/sites-enabled: VirtualHost * [...] Location /node/feed

Re: [EMAIL PROTECTED] problem with perl script and Apache

2008-05-30 Thread Dragon
Denis Peuziat wrote: Apache 2.2.3 + Perl 5.8.8 on SUSE SLES10 I have just migrated a site from a linux RH server with Apache 2.0.46 and perl 5.8.0 to a server with the config above. Some perls scripts that are still executing correctly on the old server, are now identified as Unknown files

Re: [EMAIL PROTECTED] Re: Apache Security Problem

2008-05-30 Thread Scott Gifford
Andre Hübner [EMAIL PROTECTED] writes: Hi, You can do restrictions of particular options using the technique shown her= e: http://httpd.apache.org/docs/2.2/howto/htaccess.html#how But I have a feeling that there are other ways around your separation. It depends on exactly the details of how

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Scott Gifford
amiribarksdale [EMAIL PROTECTED] writes: About the only strange thing in my debug-level error logs is (32)Broken pipe: client stopped connection before rwrite completed That's an interesting clue. It looks like it is in the middle of a URL rewrite (mod_rewrite) while it is stuck. Maybe

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
If I remember his previous email, he said that he saw this after he his the 'Reload' button which would explain it. Ben On Fri, May 30, 2008 at 9:53 AM, Scott Gifford [EMAIL PROTECTED] wrote: amiribarksdale [EMAIL PROTECTED] writes: About the only strange thing in my debug-level error logs is

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Scott Gifford
Ben Ricker [EMAIL PROTECTED] writes: If I remember his previous email, he said that he saw this after he his the 'Reload' button which would explain it. It seems to me that you would have to hit Reload very fast to catch Apache in the middle of a mod_rewrite, unless the rewrite was very slow

[EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Jacob Mathew
I'm looking to setup apache as a reverse proxy to a couple of tomcat servers. What I want is something like this: www.proxy.com/app1 ---www.app1.target.com www.proxy.com/app2 ---www.app2.target.com From what I can tell from the guides, to get this to work correctly there needs to be

Re: [EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Jim Jagielski
On Fri, May 30, 2008 at 08:17:22AM -0700, Jacob Mathew wrote: So far it all seems quite solid, but then there is the issue of URL's in javascript and other embedded content which can't identified by ProxyHTMLURLMap. The solution proffered seem to be to use ProxyHTMLExtended and identify the

Re: [EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Jacob Mathew
Thanks, I'll look into that. Though it still seems like I will have to do this regular expression search for URL's which is what my main issue is. -Jacob On Fri, May 30, 2008 at 8:23 AM, Jim Jagielski [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 08:17:22AM -0700, Jacob Mathew wrote: So

Re: [EMAIL PROTECTED] Heavy Wait on My Shoulders

2008-05-30 Thread Ben Ricker
Ahhh. Good point. I spaced the rewrite part. You are right: looking at any rewrites is a candidate since it is very unlikely to catch a healthy rewrite intact with a reload. Ben On Fri, May 30, 2008 at 10:12 AM, Scott Gifford [EMAIL PROTECTED] wrote: Ben Ricker [EMAIL PROTECTED] writes: If I

[EMAIL PROTECTED] ext_filter + negotiation?

2008-05-30 Thread Jonathan H N Chin
Using debian's apache 2.0.54 and 2.2.3, I define a filter: ExtFilterDefine test \ mode=output intype=text/html \ cmd=/usr/bin/perl -pe 's/foo/bar/g' I use it with: DocumentRoot /export/www Directory /export/www Options

[EMAIL PROTECTED] cronolog in ErrorLog entry stays running after apachectl graceful

2008-05-30 Thread J J
Hi, I am running Apache 2.2.6 on Solaris 10. I use the following line in httpd.conf to specify where errors should be sent. ErrorLog |/path/to/cronolog /data/logs/apache/%Y/%m/error-%Y-%m-%d.log This works fine, but whenever I run apachectl graceful, it starts a new instance of cronolog and

Re: [EMAIL PROTECTED] Reverse Proxy Sanity Check

2008-05-30 Thread Nick Kew
On Fri, 30 May 2008 08:17:22 -0700 Jacob Mathew [EMAIL PROTECTED] wrote: So far it all seems quite solid, but then there is the issue of URL's in javascript and other embedded content which can't identified by ProxyHTMLURLMap. Yes it can. That's what ProxyHTMLExtended is for. -- Nick Kew

Re: [EMAIL PROTECTED] ext_filter + negotiation?

2008-05-30 Thread Nick Kew
On Fri, 30 May 2008 16:54:32 +0100 (BST) Jonathan H N Chin [EMAIL PROTECTED] wrote: Using debian's apache 2.0.54 and 2.2.3, I define a filter: ExtFilterDefine test \ mode=output intype=text/html \ cmd=/usr/bin/perl -pe 's/foo/bar/g' Presumably that's just

Re: [EMAIL PROTECTED] ext_filter + negotiation?

2008-05-30 Thread Jonathan H N Chin
nick wrote: Jonathan H N Chin [EMAIL PROTECTED] wrote: Using debian's apache 2.0.54 and 2.2.3, I define a filter: ExtFilterDefine test \ mode=output intype=text/html \ cmd=/usr/bin/perl -pe 's/foo/bar/g' Presumably that's just illustrative (if that's

Re: [EMAIL PROTECTED] Apache 2.2 hangs

2008-05-30 Thread Mark Murphy
: [EMAIL PROTECTED] __ NOD32 3148 (20080530) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - The official User-To-User support forum of the Apache HTTP Server Project. See