Igor, Nickolas, Thank you for the tips. I don't if this was due to the load of the processes launch by the sync command or by the size of the /tmp folder. So what I did, I stop the nginx process on the load balancer role. I empty the /tmp folder on the app role and then I launch the sync command from the scalr management console. And it took 10-15 minute to come back with the new app instance. Everyting is back to normal and www.fbcal.com is running again ;-)
Since I did that, I found other people mentionning this kind of problem when bundling. I hope you will find a way in the next release of scalr to handle that very smoothly. 2009/7/10 Frédéric Sidler <[email protected]>: > Unfortunately I can't change the folder where temp files are written. > So I stopped the load balancer, empty the tmp folder and I'm trying to > sync ma app role. > > > On Fri, Jul 10, 2009 at 4:05 PM, Nickolas Toursky<[email protected]> wrote: >> >> Hi Frédéric, >> >> Change application directory to any excluded from bundle (/mnt for >> example) and try again. >> We are going to add an ability to exclude custom directories during rebundle. >> >> Nick >> >> 2009/7/10 Frédéric Sidler <[email protected]>: >>> >>> Except the last thread which mentions that I should clean up some >>> space, I didn't do anything related to the other posts. >>> I'm writing a lot of stuff with my application in /tmp (2GB). Should I >>> use another directory that is excluded from the rsync command like >>> /mnt or is there a way to exclude some additionnal directory when >>> bundling. >>> >>> For my /tmp directory I cannot empty it unless I stop the application. >>> >>> My question is should I stop my load balancers, clean some space and >>> lauch the sync on my app role? This seems a little bit in opposition >>> with a service without interruption. >>> >>> On Fri, Jul 10, 2009 at 12:21 PM, Igor V. Savchenko >>> (DicsyDel)<[email protected]> wrote: >>>> >>>> These threads should help: >>>> http://groups.google.com/group/scalr-discuss/browse_thread/thread/fd495c8344018ef7 >>>> http://groups.google.com/group/scalr-discuss/browse_thread/thread/66b899e4c2f2d1c5 >>>> http://groups.google.com/group/scalr-discuss/browse_thread/thread/c5fe0d0f348ab0e4 >>>> >>>> On Jul 10, 1:12 pm, Frédéric Sidler <[email protected]> wrote: >>>>> I'm trying to synchronize the app role of farm 930. I tried it twice, >>>>> failed twice. I've seen that you were going to improve the sync >>>>> mecanism over the next version. But I need it now. >>>>> It doesn't seem I modified esotheric thing on the original farm or in >>>>> a weird way. I don't know what is going on and how to solve it. >>>>> >>>>> NOTE: rsync with preservation of extended file attributes failed. >>>>> Retrying rsync without attempting to preserve extended file >>>>> attributes... >>>>> execution failed: "rsync -rlpgoD -t -r -S -l --exclude /sys --exclude >>>>> /proc --exclude /dev/pts --exclude /dev --exclude /media --exclude >>>>> /mnt --exclude /proc --exclude /sys --exclude /root/.ssh --exclude >>>>> /etc/aws --exclude /mnt --exclude /var/run/scalr/trap_ids --exclude >>>>> /mnt/instancename-200907100513 --exclude /mnt/img-mnt /* /mnt/img-mnt >>>>> 2>&1 > /dev/null" >>>>> ec2-bundle-vol failed. >>>>> >>>>> I checked the different logs in /var/log, but none of them helped me >>>> > >>>> >>> >>> > >>> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
