GithubHelp home page GithubHelp logo

Comments (7)

jkonecki avatar jkonecki commented on May 12, 2024 2

I've redeployed with increased local storage and the update went fine. I'll be doing another one on Monday and if I don't experience the same problem I'll close the issue.
Thank you very much for your help.

from yams.

remusrg avatar remusrg commented on May 12, 2024 1

Try increasing the LocalStorage sizeInMB in the .csdef of the service, the default I think is just 100MB.
https://msdn.microsoft.com/en-us/library/azure/gg557552.aspx#LocalStorage.
Let us know if that solves the problem.

from yams.

remusrg avatar remusrg commented on May 12, 2024 1

Yes, LocalStorage should be sized to accommodate the combined size of all versions deployed. Eventually some of the old versions should be removed but that depends on your strategy (keep one/two versions back, or other). You can control that via DeploymentConfig.json. If you remove an app from config, local storage should get reclaimed automatically.

Not sure when the other exception might occur but it feels like something is still holding on to the file handle, perhaps a side effect to the other IOException related to space? Might want to restart the process/role as a workaround for now although you may not need to do that at all if you're going to increase the local storage and redeploy the cloud service.

from yams.

jkonecki avatar jkonecki commented on May 12, 2024 1

Closing the issue as increasing local storage limit solved the problem.
Thank you @remusrg

from yams.

jkonecki avatar jkonecki commented on May 12, 2024 1

You've run out of disk space.

Are you actually using Yams? Looks like you're running on Android...

from yams.

jkonecki avatar jkonecki commented on May 12, 2024

Thank you, I'll try that.
I can see local folders for previous versions - does that mean that Local Storage should be increased to accomodate the size of all deployed versions instead of only one?

I've also noticed errors:

Failed to perform update; Exception was: System.IO.IOException: The process cannot access the file '<assembly-name>.pdb' because it is being used by another process.
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at Etg.Yams.Utils.FileUtils.<>c__DisplayClass2_0.<DeleteDirectoryIfAny>b__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Etg.Yams.Azure.Utils.BlobUtils.<DownloadBlobs>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Etg.Yams.Azure.Storage.BlobStorageDeploymentRepository.<DownloadApplicationBinaries>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Etg.Yams.Download.ApplicationDownloader.<DownloadApplication>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Etg.Yams.Update.ApplicationUpdateManager.<CheckForUpdates>d__6.MoveNext()

from yams.

KUMARANTR avatar KUMARANTR commented on May 12, 2024

Severity Code Description Project File Line Suppression State
Error System.IO.IOException: There is not enough space on the disk.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName)
at Xamarin.Android.Tools.Files.CopyIfChanged(String source, String destination)
at Xamarin.Android.Tasks.MonoAndroidHelper.CopyAssemblyAndSymbols(String source, String destination)
at Xamarin.Android.Tasks.LinkAssembliesNoShrink.RunTask()
at Xamarin.Android.Tasks.AndroidTask.Execute() App2.Android

can anyone explain me why this happens ? please

from yams.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.