Solved

Performance tuning LAMP server

Posted on 2014-04-02
6
376 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
6 Comments
 
LVL 6

Expert Comment

by:Ryan Smith
Comment Utility
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
Comment Utility
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 61

Expert Comment

by:gheist
Comment Utility
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 108

Accepted Solution

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

Author Closing Comment

by:ncomper
Comment Utility
Additional Information provided was very useful thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now