Forum Moderators: phranque

Message Too Old, No Replies

Long wait before transfer

         

blurblade

8:37 pm on Nov 19, 2008 (gmt 0)

10+ Year Member



Hi I have a cms site and just moved to a VPS this week. I have fixed all the configurations I am able to and firebug says that most of my pages take ms to load but it sometimes takes up to 30 sec to see the pages show...

The status bar on my firefox browser usually shows "waiting for [mysite.com..."...] for several seconds before it says "Transfering from..." which will show for a very short period of time...

Does anyone know what is causing problem like this? Thank you so much for your help.

metalmoomar

11:33 pm on Nov 22, 2008 (gmt 0)

10+ Year Member



No, but tell me when you find out please. Having same problem.

g1smd

2:11 am on Nov 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Third party analytics code can do this when their server is slow, and the code has been pasted near the beginning on your own pages.

jdMorgan

7:41 pm on Nov 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Reduce external dependencies such as the third-party analytics JavaScripts g1smd mentions, calls to external ad-servers, or reverse-DNS lookups for access control or requestor-dependent content delivery, and eliminate or reduce unnecessary filesystem calls.

Also, be sure that scripts included by other scripts are included using local file includes, and are not included using HTTP requests from the server to itself.

If the script is customized in any way, look for any tests it might be doing that might 'hang' waiting for some other resource or variable to become available. If the code makes using of file-locking, be sure that it is scoped appropriately, so that files remain locked only when necessary, and for the shortest time possible.

Jim