Page 1 of 1

High CPU and Memory utilization

PostPosted: 19. December 2013 20:46
by rmueller1958
Running Moodle on a couple of VM's of Apache Friends on Fedora 14

1.7.4 and 1.7.7

the installations are OOBE, with an SSL certificate in place.

Running Moodle and during "finals" the servers are getting hammered. gets to a point where CPU pegs, or Memory pegs and nothing can be done.
do a /opt/lampp/lampp restart to recover but need to figure what i need to do to make sure the apache threads are efficiently working.

yes, I can throw resources (ie more CPU or Memory at it during peak use, but would prefer to make sure the LAMPP engine is optimized for our environment.

Any one have any suggested configuration tuning?

Re: High CPU and Memory utilization

PostPosted: 19. December 2013 21:59
by Nobbie
rmueller1958 wrote:Any one have any suggested configuration tuning?


Of course. Simply offer some more Euros and buy a standalone server each for your needs, instead of overloading your server by using VMs.

Re: High CPU and Memory utilization

PostPosted: 20. December 2013 20:31
by rmueller1958
Nobbie wrote:
rmueller1958 wrote:Any one have any suggested configuration tuning?


Of course. Simply offer some more Euros and buy a standalone server each for your needs, instead of overloading your server by using VMs.


Not much help.

:evil:

Re: High CPU and Memory utilization

PostPosted: 20. December 2013 20:33
by rmueller1958
An aside for people with performance issues.

look at the "httpd-mpm.conf, and features in it. Since no one here seems versed in Apache tuning, I would suggest problem being aware of it. OOBE Apachefriend LAMPP IS NOT tuned for high traffic or bursty traffic applications.

Re: High CPU and Memory utilization

PostPosted: 20. December 2013 21:59
by Nobbie
rmueller1958 wrote: Apachefriend LAMPP IS NOT tuned for high traffic or bursty traffic applications.


OF COURSE not!!

Xampp is NOT MEANT to be used for online servers (see Readme), but for development only.