Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-20-2004, 08:25 PM   #1 (permalink)
Inactive
 
Join Date: 01-13-04
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

pcs802 is liked by many
slow loading php site

I just switched my site from a static page site to a dynamically driven php site. And it seems to hang on loading pages, even the static ones that are left.
Could someone take a look and browse a few pages and see if you can tell what is haging up?
The png files are all tiny, flash files are small as well, and if you watch your network activity, it's not like it's loading some big file, it just sits and waits for a reply from the server or something.
Address is www.bargainmonkey.com
Thanks very much,
Eric
pcs802 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-20-2004, 10:23 PM   #2 (permalink)
Inactive
 
Join Date: 05-06-04
Location: Vancouver, BC, Canada
Posts: 9
iTrader: 0 / 0%
Latest Blog:
None

bMind is liked by many
I am using DSL connection and it took less than 5 seconds to load the full page, is that slow?

Do you have thousand of rewrite codes in your .htaccess file?
bMind is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-21-2004, 02:59 AM   #3 (permalink)
MKJ
Inactive
 
Join Date: 05-17-04
Posts: 37
iTrader: 0 / 0%
Latest Blog:
None

MKJ is liked by many
Slow?

Hi

Can't say i found it all that slow. One big site you have there. On loading a page though there was this error:

Warning: Supplied argument is not a valid MySQL result resource in /home/bargain/includes/browsecat.php on line 50

Could be you need to check all the pages for errors or broken links. On a site that big i don't envy you .

MKJ
Sites-4u
MKJ is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-21-2004, 04:52 AM   #4 (permalink)
Inactive
 
Join Date: 01-13-04
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

pcs802 is liked by many
yes it is big, actually over 1 million products, but there are only 6 php pages doing all the work so it's rather easy to edit.
Plus there are about 30 static pages for my software sales.
I will forward the error you got to our programmer.
Sometimes the first page or so loads fine, but if you click arounf the categories and sub categories you will run into the slow load thing like it is hung up.
pcs802 is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-21-2004, 05:07 AM   #5 (permalink)
v7n Mentor
 
Ferre's Avatar
 
Join Date: 10-15-03
Location: Amsterdam, Netherlands
Posts: 11,417
iTrader: 0 / 0%
Ferre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest orderFerre is a web professional of the highest order
I would center the google ad. It loaded a little slow for me too, here's a tool to check the upload speed of your pages,

http://www.numion.com/

Ferre is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-21-2004, 05:21 AM   #6 (permalink)
Administrator
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,073
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
Whats the hardware specs of the server. A php/mysql driven site will be more intensive with the CPU and memory than a static website. When you click a link the delay in having the pages load is mostly server side as the server builds the html from the php and mysql to send ot the browser.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-21-2004, 08:37 AM   #7 (permalink)
Inactive
 
Join Date: 01-13-04
Posts: 29
iTrader: 0 / 0%
Latest Blog:
None

pcs802 is liked by many
Max User: 52.0 % CPU Average User: 5.0 % CPU Current User:
3.0 % CPU
Max Total: 68.0 % CPU Average Total: 8.0 % CPU Current
Total: 3.0 % CPU

PIII/800 Mhz
256 MEG RAM
RAID 5 7200 RPM discs
pcs802 is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-21-2004, 09:09 AM   #8 (permalink)
Administrator
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,073
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
Pages load faster on pages that have fewer mysql queries? It seemed like that to me.

The 256mb of ram is really low for a server doing php and mysql queries on the fly. Your scripts might be able to be steamlined some so they are doing less queries to the database and possibly cache some of the information so it does not have to be built/queried every time.

You could try optimizing the mysql server and giving it more or less ram for its cache aswell and see how performance goes. If you have the ram double it to 512 and see how things run.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-22-2004, 11:40 AM   #9 (permalink)
Inactive
 
Join Date: 05-21-04
Location: UK
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

zenner is liked by many
Send a message via MSN to zenner
Something that might be worth considering/checking is whether you're doing a large number of queries with each page load. If the database isn't indexed properly it will slow mysql. Even one insert/select into/from a large table that needs an index could make a lot of difference.

I only mention this as you say you have recently moved to dynamic pages.

BTW, I'm on an 64k ISDN line (for my sins) and it didn't seem particularly slow here.
zenner is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google to penalize advertisers with slow-loading pages kevalin Google Forum 15 07-29-2008 09:06 AM
Why my site is loading twice ? poseidon Coding Forum 4 09-14-2007 02:19 PM
Slow loading website but only in some browsers MadKad Coding Forum 3 03-28-2006 02:59 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:02 PM.
© Copyright 2008 V7 Inc