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

2017-09-10 Thread Frank
On 06/09/17 10:23 PM, Tony DiLoreto wrote: A quick update here, I'm starting to believe there is a memory leak in either the way I've configured or compiled httpd on AWS EC2. I'm running a t2.small with 4GB memory with LAMP installed and 4 very small (< 5 hits a day) sites running on it. In my

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

2017-09-06 Thread Tony DiLoreto
A quick update here, I'm starting to believe there is a memory leak in either the way I've configured or compiled httpd on AWS EC2. I'm running a t2.small with 4GB memory with LAMP installed and 4 very small (< 5 hits a day) sites running on it. In my opinion, even with mod_php, Apache should requi

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

2017-09-06 Thread Tony DiLoreto
Thanks Luca, I'll give that a shot. What surprises me is how much each process was consuming; at times 250mb each. Are you saying the majority of that is for php? At the end of the day, I'm looking for the optimal configuation for a standard Wordpress site server. Given the ubiquity of the platfor

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 mod

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.

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 "rules of thumb" for each > MPM type

[users@httpd] MPM Modules Rule of Thumb

2017-08-31 Thread 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 "rules of thumb" for each MPM type (prefork, worker, event)? Thanks! -- Tony DiLoreto President &