ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Timeout issues with RackSpace Cloud Sites

July 03, 2012 4:07am

Subscribe [3]
  • #1 / Jul 03, 2012 4:07am

    akrug23

    30 posts

    I am having an issue were I am using Channel Images and I am uploading the images in an entry to RackSpace Cloud Files from RackSpace Cloud Sites. The issue I am having is that I am receiving a Site not responding message during the saving of the entry.

    The image files are less than 2mb each and there are about 40 images. From what I have figured out so far is that it appears to be a timeout issue with the Load Balancers. RackSpace states that they time out after 30 seconds of no activity from the web server. But the time out messages that I get will be after several minutes.

    The php script continues to run in the background after receiving the time out message so if I reload the page and go back to the edit of the entry everything has been saved.

    I have been working with DevDemon but have not been able to been able to figure it out. They have provided me with a script that just uploads the files to Cloud Files and displays the times of the transfers. I used the same images that I have been using along and they were being transfered between Cloud Sites and Cloud Files and all the times are 1.5 seconds or less.

    I have also set up EE on another domain on the same RackSpace account with nothing installed but Channel Images and it is still doing it.

    After doing the tests with the script DevDemon gave me that just uploads the files to Cloud Files from a directory on the Cloud Sites it seems to me that it may be an EE issue as this has not had any issues so the only difference is EE.

    Any help for you would be great.

  • #2 / Jul 04, 2012 10:28am

    Dan Decker

    7338 posts

    Hi akrug23,

    I am sorry for your frustration!

    It seems that you have done a good bit of sleuthing to narrow down the issue. The root of it is likely the load balancers. ExpressionEngine can have some problems in that regard with requests timing out.

    Ultimately, installation on cloud servers and load-blancers is not something we can support. That is considered a rather advanced approach.

    As a test, what happens if you upload the same image in a standard ExpressionEngine File field?

    Have you spoken with RackSpace about your situation as well? They may have experience or advice on using ExpressionEngine in this scenario.

    Cheers,

  • #3 / Jul 16, 2012 9:32am

    manodrum

    7 posts

    I’m having the same situation at Rackspace cloud sites.  I can’t find the link now, but one person was able to make their non-EE image uploader work by having php ‘echo’ a character in a loop that sleeps for 1 second.  Since there is data coming from the server, the load balancers reset the timeout clock.

    My only issue is that I don’t know where in EE I would put such a thing.  I’m using just the build-in file uploader with EE.

  • #4 / Jul 17, 2012 1:23pm

    Shane Eckert

    7174 posts

    Hey manodrum,

    Thanks for letting us know.

    Did you have any specific questions? Is there anything else I can help with?

    Cheers,

  • #5 / Jul 18, 2012 10:37am

    manodrum

    7 posts

    Yes. My specific question would be, where in EE’s code could I add an echo line for the basic file management uploader, so that the server is sending back “data” during the upload process?

    Thanks,
    Stephen

  • #6 / Jul 18, 2012 5:12pm

    Shane Eckert

    7174 posts

    Hey manodrum,

    This would be a great thread for Development and Programming. I can move this over there for you if you would like. Changes to the core are not covered here in support, but I would love to help you get the answer you are looking for by pointing you to the right channel.

    Cheers,

  • #7 / Jul 18, 2012 6:51pm

    manodrum

    7 posts

    That would be great, thanks!

  • #8 / Jul 19, 2012 3:15pm

    Shane Eckert

    7174 posts

    Hey manodrum,

    Moving on over!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases