LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-30-2007, 06:39 PM   #1
LQ Newbie
Registered: May 2007
Location: Australia
Distribution: Fedora 6
Posts: 8

Rep: Reputation: 0
Question Slow to browse MySQL database driven website on home server

Hi All,
I am having some problems viewing a website running off a home Fedora Linux server I have installed at home.

The situation is this. I have installed Fedora 6 and wanted to host my own website "" from home.
I have built the server and installed the LAMP configuration without too many problems.

At the moment I just have a temporary home page installed at A static page witha Google Ad on it. This page loads really fast.

The problems arise here. Behind this static page I have a wordpress installation in a folder I have created.
I am not sure if it is because this is a database driven site, however I have found that this site is really slow to browse.
I am working on changes to the site so whenever I refresh the page to see the changes, I can wait 20-30 seconds for the page to reload.
This happens in the front of the wordpress site as well as the admin area.

The reason I ask could it be MySQL related is because I have installed other database driven sites in different folders and they are slow to browse as well. Sites like Joomla, DataLife Engine ect.

For my domain name I purchased and also purchased a static IP address from my ISP.
I then set up my router for the static IP address and got a windows hosting company I work with to host the DNS records for so that it points back to my static IP address.

I am not sure if I have gone about this the right way. I am a new to linux and am trying to teach myself as I go.

My goal for the Linux server is to host 2 websites from home. I am hoping for them to load fairly quick. My ADSL connection is 1.5mb.

Anyhelp on this problem would be greatly appreciated
Old 10-30-2007, 10:39 PM   #2
LQ Newbie
Registered: Oct 2007
Location: KC, MO
Distribution: CentOS
Posts: 9

Rep: Reputation: 0
On what type of hardware are you running this server?
Old 11-04-2007, 07:47 PM   #3
Registered: Sep 2007
Distribution: Fedora / Slackware
Posts: 46

Rep: Reputation: 15
It could be a MySQL issue, but as far as I know word press has the tables indexed correctly. What version of MySQLD are you running?
Ram is one thing that will affect how fast a query executes. You might want to look into that, this includes the swap partition but I assume that if you did a default install of fedora home server then this shouldn't be a problem.

If the system is older then you may want to consider not using X11.

When you login via the console and do:
show databases;
is that slow?

you can check mysqldumpslow to see if there queries that are being slow but the queries for an empty Wordpress should execute pretty quickly.

Thats about all the help I can give you off of the top of my head.

Post your system specs & MySQL configuration.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i change my Database server name from localhost to mysql? alxbob Linux - Server 1 10-19-2007 03:06 AM
login problem on a small database driven web application lothario Linux - Software 2 08-30-2006 05:51 PM
database driven site (egrade) rksprst General 3 06-27-2005 05:51 PM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 03:43 PM
Connecting Mysql Database on remote server akamol Programming 4 10-16-2003 12:46 PM

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration