Start of by performing the following procedure:
- Log into terminal and run the following command;
- sudo service mysql restart
- sudo service tomcat6 restart
- Then refresh browser
If there is no change in performance after the above procedure, you may want to check the size of memory allocation to JAVA HEAP SPACE (sudo nano /etc/default/tomcat6)
The other place to check is the hardware specifications of your server. At a minimum, the specifications should be: (Speed = 3.6Ghz, RAM=8GB, HDD=500GB)
Lastly, you may want to check the MySQL config file for further optimization as follows:
- sudo nano /etc/mysql/my.cnf
Confirm and fine-tune all the configurations under InnoDb section
Comments are closed