Re: [users@httpd] RequestReadTimeout not being overridden in VirtualHost

2019-01-25 Thread Paul Beckett
ot; host is usually the first one for the given port. So when you > have virtual host A, X, C in > that order in your config, try changing the setting for A. > > -Stefan > > PS. I find this not intuitive. > > > Am 25.01.2019 um 13:05 schrieb Paul B

[users@httpd] RequestReadTimeout not being overridden in VirtualHost

2019-01-25 Thread Paul Beckett
I am runnning Apache HTTP2.4.34 (built from source on RHEL6.10). RequestReadTimeout is being set at the Server level: RequestReadTimeout header=5-10,MinRate=500 body=5-20,MinRate=500 I'm attempting to override RequestReadTimeout for a VirtualHost, I have tried completely de-restricting it

RE: [users@httpd] Prevent caching of 404 responses

2015-02-26 Thread Paul Beckett
015 at 1:00 PM, Yann Ylavic wrote: > > On Thu, Feb 26, 2015 at 10:21 AM, Paul Beckett > > wrote: > >> Is there any way to restrict what HTTP response codes are cached by Apache, > >> ideally I would like to only cache 200,301,302 responses. > > > > It

[users@httpd] Prevent caching of 404 responses

2015-02-26 Thread Paul Beckett
I'm running Apache 2.4.10, and using mod_cache_disk . Some of my web content is from flatfiles stored on an NFS export. I think these are occasionally going AWOL, resulting in 404 responses, which appear to then be cached by Apache. Is there any way to restrict what HTTP response codes are cached

RE: [users@httpd] Segmentation Fault - too many proxy balancers

2014-07-25 Thread Paul Beckett
I've tried increasing various system limits (using ulimit), generally doubling and increasing 10-fold any value. None of the following has made any difference: # -n : The maximum number of open file descriptors (most systems do not allow this value to be set)ulimit -n 2048# -u : The maximum numbe

[users@httpd] Segmentation Fault - too many proxy balancers

2014-07-25 Thread Paul Beckett
My apache server has started segmentation faulting all the time (seems to log a segmentation fault every few requests to the apache error log): [Fri Jul 25 06:25:42.046752 2014] [core:notice] [pid 11226:tid 140006078953216] AH00052: child pid 11715 exit signal Segmentation fault (11) This appears

RE: [users@httpd] cache_disk :

2014-01-24 Thread Paul Beckett
Rainer,Thanks for your reply. That's helped me a lot. > You may be running out of inodes. Check with df -i. You are right, I've run out of inodes:Filesystem InodesIUsed IFree IUse% Mounted ontmpfs4104915 4104908 7 100% /usr/local/apache/cache The default numb

[users@httpd] cache_disk :

2014-01-24 Thread Paul Beckett
I am seeing the following logged in the apache error log (client IP removed): [cache_disk:warn] [pid 26540:tid 139906663675648] (28)No space left on device: [client xxx.xxx.xxx.xxx:56003] AH00725: could not create header file /usr/local/apache/cache/www_http/aptmpd5MAgM That disk volume (/usr/loc

[users@httpd] Relative efficiency of replacing rewrite rules with rewriteMaps

2013-09-20 Thread Paul Beckett
I would like to try and reduce the number of rewrite rules I have (from 5000) to a much smaller number of rewrite maps. My main goals in doing this are to improve site performance, and make configuration more manageable.I need to be able to handle the following cases:/dir1/link1-> /dir1/othe

[users@httpd] Very slow page loads when ProxyErrorOverride On

2013-07-11 Thread Paul Beckett
When I set:ProxyErrorOverride OnI'm seeing page load times increase from about 1-2 seconds, to nearly 20 seconds. I'm not seeing anything logged to the apache error log. I'm running Apache HTTPD 2.4.4 (built from source) on a RHEL6 server. This is configured as a reverse proxy, proxying via http

RE: [users@httpd] Disk Cache with multiple virtual hosts

2013-06-19 Thread Paul Beckett
:21 PM, "Paul Beckett" wrote: > > I've read the Apache 2.4 caching guide, mod_cache and mod_cache_disk pages, > but am unsure whether I need a unique CacheRoot for each virtual host, or > whether multiple virtual hosts can/should share the same CacheRoot? > >

[users@httpd] Disk Cache with multiple virtual hosts

2013-06-18 Thread Paul Beckett
I've read the Apache 2.4 caching guide, mod_cache and mod_cache_disk pages, but am unsure whether I need a unique CacheRoot for each virtual host, or whether multiple virtual hosts can/should share the same CacheRoot? Also I'm thinking of setting the CacheRoot to be a tmpfs mount (effectively a

RE: [users@httpd] reverse_proxy related: howto rewrite code passing through

2013-05-10 Thread Paul Beckett
Daniel,In Apache 2.4 a previously third-party module mod_proxy_http ( http://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html ) was included. The original module: http://apache.webthing.com/mod_proxy_html/ presumably works with Apache 2.2. This module seems to be focused on modifying URL's. I'v

[users@httpd] memory usage appearing to increase with time

2013-02-14 Thread Paul Beckett
I am seeing memory usage, as reported by free creeping up with time, before eventually plateauing. Free reported 2,495Gb used, and 1,337Gb free. The summary in top seemed to concur with these values. However if I add up the memory used by various process I cannot account for anywhere near that.