Ever had the server become inactive because of too many connections at the same time? The solution is to limit the number of connections to MySQL database.
The file you should make these adjustments to is the /etc/my.cnf you can change the following line and set a limit.
set-variable = max_connections=150
set-variable = max_user_connections=1
This will cap off connections at 150 total, and prevent any one MySQL user ID from opening more than 1 connections.