Solved

Performance tuning LAMP server

Posted on 2014-04-02
6
381 Views
Last Modified: 2014-04-30
I have learned to do the following to get MYSQL to use more ram,  but can you force certain processes to take up more processing space (i.e Apche to use more CPU / RAM,  or MYSQL to use you memory).  

Is it all within the application confg files each time or is there a tool for ubuntu that can tune the server ?
0
Comment
Question by:ncomper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Expert Comment

by:Ryan Smith
ID: 39973349
Take a look at this url.  Apache can be tuned.  Any time you make edits you have to restart apache.

http://hosting.com/support/linux/tuning-the-apache-prefork-mpm/
0
 
LVL 6

Assisted Solution

by:Ryan Smith
Ryan Smith earned 250 total points
ID: 39973364
0
 
LVL 78

Expert Comment

by:arnold
ID: 39973707
Each component can be fine tuned, you would first need to determine what performance issues and what is contributing to them.
Phpmyadmin is a tool to analyze mysql performance.

Apache, can be adjusted by controlling for the number of child process that are started, usually it is 5.

Improving mysql usually the processing consumer since more often than not, the PHP/mysql interactions are where usually performance impacts are.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 62

Expert Comment

by:gheist
ID: 39979251
What problems are you experiencing?
Mysql: mysqltuner.pl tuning-primer.sh
Apache/php: switch to httpd-worker and php-chi via mod_fcgid
Not painless but reduces memory use 10x
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 39982825
Depending on the underlying cause of the performance issue, this article might be helpful.
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 40032063
Additional Information provided was very useful thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question