hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Managed Hosting and Services : Apache or MySQL slow?
Reply

Forum Jump

Apache or MySQL slow?

Reply Post New Thread In Managed Hosting and Services Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2010, 10:11 AM
appvzdotcom appvzdotcom is offline
Temporarily Suspended
 
Join Date: Jan 2010
Posts: 12
Unhappy

Apache or MySQL slow?


Hello.

I installed a VPS without control panel.

Quote:
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
It work is good, but when I first load, it is very slow. I must wait up 10 seconds to start load a site.
I change from apache to lighttpd but first load is slow
Please help a solution.



Sponsored Links
  #2  
Old 01-06-2010, 01:50 PM
bvsonline bvsonline is offline
Junior Guru
 
Join Date: Jan 2010
Location: India
Posts: 213
Does the VPS has enough free memory allocated ?

  #3  
Old 01-06-2010, 02:07 PM
oceanplexian oceanplexian is offline
Newbie
 
Join Date: Dec 2009
Location: New Hampshire
Posts: 14
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.

Sponsored Links
  #4  
Old 01-06-2010, 02:19 PM
MrSaints MrSaints is offline
WHT Addict
 
Join Date: Aug 2009
Posts: 167
Quote:
Originally Posted by oceanplexian View Post
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.

__________________
Ian Lai - www.fyianlai.com
Web Design & Development
System Operator & Administrator

  #5  
Old 01-06-2010, 11:20 PM
appvzdotcom appvzdotcom is offline
Temporarily Suspended
 
Join Date: Jan 2010
Posts: 12
I installed VPS with min 512Mb Ram and shared CPU is 1 core. And VPS isn't high load. All is normal!

  #6  
Old 01-07-2010, 08:15 AM
laswatech laswatech is offline
WHT Addict
 
Join Date: Dec 2009
Posts: 161
What is the server load and number of http connections.

__________________
Laswa Technologies - Pioneers in Server Management
sales@laswatech.com
http://laswatech.com

  #7  
Old 01-07-2010, 02:48 PM
bvsonline bvsonline is offline
Junior Guru
 
Join Date: Jan 2010
Location: India
Posts: 213
Hi,

Can you please post the result of the following command here?

"cat /proc/user_beancounters"

  #8  
Old 01-10-2010, 06:37 AM
LeaTrueman LeaTrueman is offline
Web Hosting Guru
 
Join Date: Oct 2009
Posts: 275
Hello,

Try disabling server firewall and test it. If it is the issue, we can dig into the rules further.

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2 + php + mysql very slow performance Abadon Hosting Security and Technology 10 11-26-2009 07:18 AM
VPS incredibly slow, huge numbers of slow MySQL queries for Plesk/Watchdog lumpysimon Hosting Security and Technology 3 11-11-2008 12:31 PM
How to match Apache URLs with MySQL slow queries guarriman Dedicated Server 4 11-19-2007 11:26 PM
Very slow apache/mysql performance albano Dedicated Server 5 11-11-2005 09:32 PM
apache slow, help jason216 Dedicated Server 1 09-15-2004 06:15 PM

Related posts from TheWhir.com
Title Type Date Posted
Microsoft Gains Most Websites in May Netcraft Web Server Survey Web Hosting News 2014-05-09 11:38:05
Google Releases Hosted Database Service Cloud SQL to General Availability Web Hosting News 2014-02-12 13:46:02
Google Cloud Provides Support For Native MySQL Connections Web Hosting News 2013-11-01 14:36:06
Apache Market Share Falls in Netcraft October Web Server Survey Web Hosting News 2013-10-04 14:34:11
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?