Re: [users@httpd] MPM Modules Rule of Thumb

2017-09-05 Thread Luca Toscano
Hi Tony, usually httpd consumes a very little amount of memory, if it is behaving in that way it is probably due to some module like mod_php. Can you give us a bit more info about your mpm used and the list of modules loaded? For example, the most common use case that we see is mpm-prefork and

Re: [users@httpd] Debugging Intermittent 500 Errors

2017-09-05 Thread Eric Covener
On Tue, Sep 5, 2017 at 8:30 PM, Yehuda Katz wrote: > We have set of three servers running Apache 2.4. (version distributed with > RedHat 7) behind a Kemp LoadMaster load balancer. The configuration is > managed by Puppet, so all the servers have the same configuration. I put

[users@httpd] Debugging Intermittent 500 Errors

2017-09-05 Thread Yehuda Katz
We have set of three servers running Apache 2.4. (version distributed with RedHat 7) behind a Kemp LoadMaster load balancer. The configuration is managed by Puppet, so all the servers have the same configuration. I put the configuration in a Gist to keep the email simple:

Re: [users@httpd] MPM Modules Rule of Thumb

2017-09-05 Thread Tony DiLoreto
Hi Luca, Basically my server runs out of free memory and freezes. On AWS I have to stop/start it again to be able to SSH in. What I'd really like is a MAX_PERCENTAGE_AVAILABLE_MEMORY directive that limits Apache to <= some % of free memory. That way it can never halt my system. Hope this helps.

[users@httpd] mod_authz_core and http response 451

2017-09-05 Thread Galen Johnson
Hello, I've googled a bit and I can't find a way to handle this without using a rewrite rule. I'm setting up a rule using mod_geoip to block embargoed countries. I set up the config as follows: # Blocking a client based on country SetEnvIf GEOIP_COUNTRY_CODE CU BlockCountry

[users@httpd] How to pass query string as encoded value to another parameter?

2017-09-05 Thread Srinivas Reddy
In my use case, I need to encode {QUERY_STRING} value and pass this value as a separate parameter. Here it is how it should work: http://www.example.com?param1=value1=value2=value3 The URL can have n number of parameters and values may

Re: [users@httpd] MPM Modules Rule of Thumb

2017-09-05 Thread Luca Toscano
Hi Tony, 2017-08-31 23:43 GMT+02:00 Tony DiLoreto : > Hi All, > > I've been scouring the internet for best practices or heuristics for > specifying parameter values of the MPM directives. My server seems to lock > up regardless of the values I enter. Are there

[users@httpd] How to pass query string as encoded value to another parameter?

2017-09-05 Thread Srinivas Reddy
down votefavorite In my use case, I need to encode {QUERY_STRING} value and pass this value as a separate parameter. Here it is how it should work:

Re: [users@httpd] mod_rewrite + proxy + unix socket results in 400 bad request

2017-09-05 Thread Daniel
IIRC it was by design yes, but I don't know the reasons behind it, perhaps the dev mailing list or some developers reading this can provide more information. You could also try #httpd-dev at Freenode. I think you could reach your goals without using captured groups though, I see in the initial