var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Apache or MySQL slow?
I installed a VPS without control panel.
It work is good, but when I first load, it is very slow. I must wait up 10 seconds to start load a site.
yum install httpd php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mhash gettext
yum install mysql mysql-server
I change from apache to lighttpd but first load is slow
Please help a solution.
Does the VPS has enough free memory allocated ?
PHP+MySQL+Apache can be a really heavy burden on a server. I was just hosting some static content with Apache2 and RAM usage (without optimization) shot up well past 50Mb.
I would look at apache VPS optimizations at http://www.agnivo.com/tech/vps-mysql...-guide-27.html or switch to something like lighttpd.
He did change to lighttpd according to the first post, but it loads slowly the first time around. If its loading slow, I suggest you take a peek at the CPU usage, maybe thats why its taking quite a bit to process and then it processes much faster the second time around cause its making use cache. But yes, I definetly agree you should do some Apache + MySQL Optimization base on your usage and specs.
Originally Posted by
█ Ian Lai
Web Design & Development
█ System Operator & Administrator
I installed VPS with min 512Mb Ram and shared CPU is 1 core. And VPS isn't high load. All is normal!
What is the server load and number of http connections.
Can you please post the result of the following command here?
Try disabling server firewall and test it. If it is the issue, we can dig into the rules further.
By Abadon in forum Hosting Security and Technology
Last Post: 11-26-2009, 07:18 AM
By lumpysimon in forum Hosting Security and Technology
Last Post: 11-11-2008, 12:31 PM
By guarriman in forum Dedicated Server
Last Post: 11-19-2007, 11:26 PM
By albano in forum Dedicated Server
Last Post: 11-11-2005, 09:32 PM
By jason216 in forum Dedicated Server
Last Post: 09-15-2004, 06:15 PM
Related Posts from theWHIR.com