Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Phil Crowe 192 posts 256 karma points
    Aug 06, 2010 @ 13:34
    Phil Crowe
    0

    Massive website is taking forever to compile

    I have a website that has hundreds of hi-res images. All added through the cms(so saved in the media folder). Ive uploaded my site this morning to the live server but when i try to visit its just loading and loading. I should mention at this point that the site is 6GB. I presume its just compiling but i have no way of checking this is definitely the case. I was thinking of separating the media folder from the rest of the site then changing all references to it in the database to the new directory. Im a tad worried about doing this because i dont know the architecture of the umbraco DB. Can someone consult me on the best course of action here?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 06, 2010 @ 13:54
    Darren Ferguson
    0

     

    The size of your media section shouldn't have any impact on the build time.

    However - depending on your site implementation there could be any number of reasons it is slow.

    How did it perform in dev?

    Do you make extensive use of umbraco.library.GetMedia() ? This is notorious for performing a lot of SQL queries.

    You'll need to list a lot more info here to get a decent answer (including version of Umbraco, O/S, db etc).

    Can you hit the backend OK?

  • Seth Niemuth 275 posts 397 karma points
    Aug 06, 2010 @ 14:14
    Seth Niemuth
    0

    are you getting any errors in your application logs?

  • Phil Crowe 192 posts 256 karma points
    Aug 06, 2010 @ 14:14
    Phil Crowe
    0

    Its using umbraco 4. I can hit the backend fine (only just realised this after you asked). The files/website is on a different server to the database. As for the umbraco.library.GetMedia()  i  didnt use it personally and i havent seen it anywhere in the code i have worked on. The site has a lot of xslt loops but no more than there was last time it went live. Only difference between this version and the last is more images have been added and the db is now on a different server.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 06, 2010 @ 14:17
    Darren Ferguson
    0

    I'd try hitting some pages that don't contain any media items or complex XSLT.

    Create an empty page with a dummy template if need be.

    If they work Ok then you'd need to start troubleshooting individual pages.

  • Phil Crowe 192 posts 256 karma points
    Aug 06, 2010 @ 14:31
    Phil Crowe
    0

    christ your good! turns out i can get onto all the other pages but not onto the root. I can access my homepage through /default.aspx but not through / i presume this is iis.


  • Seth Niemuth 275 posts 397 karma points
    Aug 06, 2010 @ 14:32
    Seth Niemuth
    0
  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 06, 2010 @ 14:35
    Darren Ferguson
    0

    Check your default pages on IIS though it is strange that it would just hang rather than respond in some way.

    Also, do you have any domains set in Umbraco and do they match the server?

     

Please Sign in or register to post replies

Write your reply to:

Draft