Solved

Performance tuning LAMP server

Posted on 2014-04-02
6
380 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
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 77

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 109

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 61
000webhost.com default error log 1 27
awk variable in printf 1 24
Why  my code (program) build with old compiler? 11 39
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

776 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