Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / admin suddenly super slow, web store randomly slow

admin suddenly super slow, web store randomly slow

Started by swingin_sparrow on 7 Mar 2013, 10:17 PM · Views: 3,977

Results 1 to 20 of 45
7 Mar 2013, 10:17 PM
#1
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #1 by swingin_sparrow

I tried yesterday to install a facebook like box on my zen cart using this tutorial
http://www.kerrinhardy.com/2010/05/1...en-cart-store/
but it didn't work, so I removed the files and any edit I made. then last night I tried to login in my admin and check my zen cart store too and suddenly the admin is awfully slow, and my zen cart store which was running super smoothly and fast until yesterday is now slow too... I don't know what can cause this, I don't think it's server related since everything was working top notch until I tried that facebook like box, I ve seen similar threads on the forum but couldn't find anything to help...
I have no idea about what could have changed suddenly and I don't think it's linked to that facebook like box thing...

my store is on a subdomain right now shop.fastnloud.com/zencart
and hosted by Godaddy (no comment please) on a linux server but like I said everything was super fast and working super smoothly until I attempted to add that facebook like box.
Here s the parse time thingy for the homepage Parse Time: 1.681 - Number of Queries: 638 - Query Time: 0.26575726554871
Can someone help me?
Thanks in advance :unsure:

7 Mar 2013, 11:04 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

Visiting your site just now seems to show speedy load times.
At least the page parse times are fine. Your images are slower to load, but the basic page is prepared and sent very quickly.

If I use the Web Developer Toolbar extension and tell it to disable image loading, your site flies.

Of course, this is all storefront-side.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Mar 2013, 2:16 AM
#3
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #3 by swingin_sparrow

On the store front, if I go to some categories and products it somehow works ok but once I click to go back to home then it's super slow sometimes, and the admin is super slow, to the point that it takes several minutes to load, and I get sometimes only a white page...
would it help if to replace all the files by some from a back up I did before, in case the attempt to add that faceook like box messed something up? or is it really something server related?

8 Mar 2013, 2:24 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

I really doubt that the "facebook" change would have anything to do with your admin. If I read correctly the instructions you followed, it doesn't touch anything in the admin, so that suggests your problem is server related.

And if it's isolated to the admin then it's naturally very hard to get outsiders to look at it, not just us but also GoDaddy support.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Mar 2013, 2:37 AM
#5
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #5 by swingin_sparrow

but the weird thing is that it started after I tried to install that thing and uninstalled it, why would the server stop working the way it had been for the last 3 weeks... shall I try to ftp a new set of files from a backup in the admin?

8 Mar 2013, 6:26 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #6 by rodg

Swingin' Sparrow:

On the store front, if I go to some categories and products it somehow works ok

Are there any particular categories or products that invokes the problem, or is it seemingly random?

Swingin' Sparrow:

but once I click to go back to home then it's super slow sometimes,

How often is 'sometimes'? Every 2nd time? Once every 10th try? once a week? once a month?

Swingin' Sparrow:

and the admin is super slow,

Is this all the time, or just at the same time(s) as with the front end?

Swingin' Sparrow:

to the point that it takes several minutes to load, and I get sometimes only a white page...

In my experience, this sounds like something is causing either the webserver or SQL server to crash, which usually takes 'several minutes' to restart.

Swingin' Sparrow:

would it help if to replace all the files by some from a back up I did before,

That would be what I'd be doing. However, I would also have a current backup for this purpose, specifically the one I'd created immediately before making changes or adding modules. If my backup was a year old this would be my last resort. Your backup is probably somewhere in between. It's your call.

Swingin' Sparrow:

or is it really something server related?

At this stage it is impossible to say. My gut feeling is that it is probably a result of a change you made (perhaps not even directly related to the FB mod), but it isn't beyond the realms of possibility for the server to start having issues at around the same time.

Hhhmm, thinking about this, it could even be a problem with your own computer or internet connection. You store didn't seem abnormally slow when I tested it.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Mar 2013, 11:33 AM
#7
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #7 by swingin_sparrow

Hi Rod,
Well as for the categories, it seems that it's when I go back to homepage from them that it's getting slow, so I m not even sure the categories have a problem at all, whenever I try to open categories and access products it's working fine though not as fast as before.

As for the slowness to the homepage, it's random really.

For the Admin, it's been super slow ever since the problem started 2 days ago... pages take time to load and even when they display you still have that small waiting for.... at the bottom left corner of the page which means the page hasn t finished to load completely.

My latest back up of files for zen cart is recent, from the 22nd of February and I haven t done any other mods after that so it should work well, I replaced the admin and the includes with new files but I still have the same problem actually...
I didn't do any other changes, I just attempted to add that facebook like box and removed it and edited back everything I had changed.

Now the funny thing, you say it could be my own computer or even internet connection causing this: I was somewhere else when I did the mods, and I came back to my shop to leave my computer, and later in that same shop I tried to work on my web store and realised it was not working well, the first thing that came to my mind when I saw the admin was so slow was "internet connection" and even maybe my computer but I haven t tried to open the admin on any other computer or tried in a different location with a different connection. I will try that and it will help to pinpoint where the problem is...hopefully. Cos I had a super fast working web store and admin and now it s annoying to even edit one product....
Thanks

8 Mar 2013, 12:07 PM
#8
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #8 by swingin_sparrow

Ok now both web store AND admin take for ages to load.
this is what I have at the bottom of the page Parse Time: 5.675 - Number of Queries: 779 - Query Time: 0.64203425227356
right now my web store is very slow... can't even access product when I click on them...

8 Mar 2013, 12:15 PM
#9
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #9 by rodg

Swingin' Sparrow:

Hi Rod,
it seems that it's when I go back to homepage from them that it's getting slow,
Swingin' Sparrow:

As for the slowness to the homepage, it's random really.

I hate to appear to be pedantic, but only one of these two comments will be true (unless I'm really missing something). In both cases we a considering the slowness of the homepage, which will either be random OR the result of going back from the categories.

Swingin' Sparrow:

so I m not even sure the categories have a problem at all,

This is the purpose of my questions, I'm trying to figure out if there is some kind of pattern to it all, and if there is, we should be able to replicate the problem. Once we can do that the solution will be a lot easier to find.

Swingin' Sparrow:

whenever I try to open categories and access products it's working fine though not as fast as before.

I didn't experience that when I tested/checked, but it is also possible I didn't go back from the same categories that you did/are. This may or may not be relevant to the problem, but if you are testing with one category and I'm testing with another we'll never know.

Swingin' Sparrow:

For the Admin, it's been super slow ever since the problem started 2 days ago... pages take time to load and even when they display you still have that small waiting for.... at the bottom left corner of the page which means the page hasn t finished to load completely.

Although I'll have no way to test anything here, I have to ask, is it all of the admin pages that are slow, or just when attempting to perform a particular task? Which task?

Swingin' Sparrow:

My latest back up of files for zen cart is recent, from the 22nd of February and I haven t done any other mods after that so it should work well, I replaced the admin and the includes with new files but I still have the same problem actually...
I didn't do any other changes, I just attempted to add that facebook like box and removed it and edited back everything I had changed.

So this is now pointing back to a possible server (or network) issue. A bit of a coincidence in the timing, but nonetheless possible.

Swingin' Sparrow:

Now the funny thing, you say it could be my own computer or even internet connection causing this: I was somewhere else when I did the mods, and I came back to my shop to leave my computer, and later in that same shop I tried to work on my web store and realised it was not working well, the first thing that came to my mind when I saw the admin was so slow was "internet connection" and even maybe my computer but I haven t tried to open the admin on any other computer or tried in a different location with a different connection. I will try that and it will help to pinpoint where the problem is...hopefully. Cos I had a super fast working web store and admin and now it s annoying to even edit one product....
Thanks

Considering that at least two of us have checked your site without being able to reproduce the problem does make this a good possibility. Certainly a little more probable than most of the other possibilities.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Mar 2013, 12:28 PM
#10
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #10 by rodg

Swingin' Sparrow:

Ok now both web store AND admin take for ages to load.
this is what I have at the bottom of the page Parse Time: 5.675 - Number of Queries: 779 - Query Time: 0.64203425227356
right now my web store is very slow... can't even access product when I click on them...

I've just taken another look (within 10mins of this post), and it is still loading quite speedily for me.

Your reported parse time is very slow though. Query time is fine. This would imply a server issue rather than a network (or zencart) issue.

Alas, it doesn't bring us any closer to the cause or the solution. I'm running out of ideas. In fact I've only one idea left, and you're not going to like it (nor am I convinced myself) but your particular host does have a very long history of overloading their servers, and this is pretty much a classic symptom of an overloaded server.

Really, unless I/we can replicate the problem I don't know what to suggest.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Mar 2013, 12:30 PM
#11
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #11 by swingin_sparrow

Ok,
the admin pages are all slow, whether I try to check who s online or any other tab, it s all slow, sometimes it loads part of it and hang in there with stuff waiting to download, or sometimes it's just a white page while it's taking ages to display the page I try to open.
As for my webstore, I now realise it s not only the homepage, but it's randomly any page that can be slow, I just tried to open New & restock and it took quite a while...
a friend of mine tried my web store and reported no issues...
I unplugged my modem and restarted it, repaired my connection but still, same problem, and it s the same on internet explorer and firefox...
I'm really lost here!
Gotta try it after work in another location...
As we speak I ve tried to access the who's online on the admin and it s been probably 5 mins of a white page with that small in progress green bar at the bottom, that doesn't seem to be moving fast at all..

8 Mar 2013, 12:57 PM
#12
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #12 by rodg

Swingin' Sparrow:

a friend of mine tried my web store and reported no issues....

This is now pointing back to something 'local' to your home network/computer.

Swingin' Sparrow:

I unplugged my modem and restarted it, repaired my connection but still, same problem, and it s the same on internet explorer and firefox...
I'm really lost here!

Me too. That doesn't happen often. I wish I could offer some other advice or suggestion, but not a single thing comes to mind.

OK, ONE thing does come to mind... have you heard, or do you know about a tool called 'ping'? At this stage I'd being using this to perform a continuous 'ping' to your server address in one window, whilst invoking the problem with your browser in another window to see if there is any correlation between the 'ping' times and the slow server times. If there is, its a network problem, if not, its a server related problem. Still not a lot to go on, but it'll be one step closer to the cause.

Cheers
Rod

ps. Checked again, still quite zippy. Parse Time: 0.267 - Number of Queries: 228 - Query Time: 0.12424363801575

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Mar 2013, 1:08 PM
#13
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #13 by swingin_sparrow

OK, ONE thing does come to mind... have you heard, or do you know about a tool called 'ping'? At this stage I'd being using this to perform a continuous 'ping' to your server address in one window, whilst invoking the problem with your browser in another window to see if there is any correlation between the 'ping' times and the slow server times. If there is, its a network problem, if not, its a server related problem. Still not a lot to go on, but it'll be one step closer to the cause.
well I ve heard of ping before yes, though I don't really know much on the subject. What am I supposed to do to achieve what you said in > using this to perform a continuous 'ping' to your server address in one window, whilst invoking the problem with your browser in another window to see if there is any correlation between the 'ping' times and the slow server times.
I had to close the window for my admin, cos after more that 10 minutes of a white page trying to access the who's online page and going nowhere, with that small green progress bar not moving more I decided it would never load the page...

8 Mar 2013, 1:15 PM
#14
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #14 by schoolboy

You can "ping" your server from the DOS command prompt.

In MS Windows, in the START button, is a "search" field.

Type in cmd and hit enter key.

This will bring up a little black frame with the command prompt.

The cursor will be flashing... just type in ping YOUR-DOMAIN-NAME.COM

See how long the system takes to send the four "packets" to the server...

You can also trace the route of the link.

At the command prompt, type in tracert YOUR-DOMAIN-NAME.COM

This will show you how your router is connecting to the domain address, and how long each step is taking to connect.

When you are done DO NOT just close down the DOS pane.

Type exit at the command prompt to properly close the function.

20 years a Zencart User

8 Mar 2013, 1:21 PM
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #15 by rodg

Swingin' Sparrow:

well I ve heard of ping before yes, though I don't really know much on the subject. What am I supposed to do to achieve what you said in "using this to perform a continuous 'ping' to your server address in one window, whilst invoking the problem with your browser in another window to see if there is any correlation between the 'ping' times and the slow server times"

Ping is a network diagnostic tool that has been available on almost every computer system since the Internet was 1st created. It is a command line tool (although there are graphical interfaces for it). simply put, it sends a packet of data to a server and monitors how long it takes to get a response.

just type 'ping' on the command line and it'll produce a small help menu.

Swingin' Sparrow:

I had to close the window for my admin, cos after more that 10 minutes of a white page trying to access the who's online page and going nowhere, with that small green progress bar not moving more I decided it would never load the page...

If a page ever takes more than a minute you can pretty much assume it's never going to complete (and even a minute is a lot longer than needed)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Mar 2013, 1:37 PM
#16
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #16 by swingin_sparrow

Hi,
so I tried that and when I type ping shop.fastnloud.com/zencart (my webstore is on a subdomain) I get this: Ping request could not find host shop.fastnloud.com/zencart. Please check the name and try again.
Or am I in the right command thing? I clicked on start menu, and there is no search box so I used the run function that opens a black window where you can enter prompts, is that the one? I have windows xp...

8 Mar 2013, 1:54 PM
#17
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #17 by rodg

Swingin' Sparrow:

Hi,
so I tried that and when I type ping shop.fastnloud.com/zencart (my webstore is on a subdomain) I get this: Ping request could not find host shop.fastnloud.com/zencart. Please check the name and try again.
Or am I in the right command thing? I clicked on start menu, and there is no search box so I used the run function that opens a black window where you can enter prompts, is that the one? I have windows xp...

Try again, WITHOUT the /zencart

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Mar 2013, 2:10 PM
#18
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #18 by swingin_sparrow

Ok wihout the /zencart it worked, but how do I copy the results?

8 Mar 2013, 2:55 PM
#19
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #19 by swingin_sparrow

I tried again to log in the admin on firefox, it was slow to access the login page once in, I tried to access a page ( I usually check who's online on my webstore) and it was slow then I got this:
The connection has timed out
The server at shop.fastnloud.com is taking too long to respond.
The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

I can access any other website without any trouble whatsoever, only with my admin page I get this and my web store being slower than before...

8 Mar 2013, 5:54 PM
#20
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #20 by swingin_sparrow

Ok guys,
I tried to log in a different location, same problem, can't even load the login page to the admin. and had to refresh the page to access web store... so it is definitely not my internet connection. Can it really be the server then, if every other website performs normally on my computer, does that exclude a problem with my computer? But then why am I the only one that get problems with the web store when it seems everybody reports it to be fast? This is so frustrating, cos I'm losing business while this problem lasts since I can't promote my webstore if I m not sure there is a problem with it...