Not Enough Drive Space for AppStream Application to Save

0

Hi,

I have an AppStream 2.0 application that sometimes saves large data files to the stream file system (~100MB). It is having a hard time doing so and failing with "Not Enough Drive Space" errors.

How can I either allocate more drive space or correct this behavior if the drive space is effectively infinite?

-cneller

Prism
已提問 5 年前檢視次數 1348 次
6 個答案
0

Which folder path are you trying to save to?

已回答 5 年前
0

I'm writing to
D:\PhotonUser\AppName\Cache\

Some observations:
Sometimes a new user will get the "Not Enough Drive Space" warning; when the AppStream session is closed and then reopened, they can perform the exact same operation and it succeeds.

For cases where reopening the session doesn't work, I've found that if I expand the virtual hard drive in S3, the issue may be resolved for that user (though other users may experience the behavior in the above bullet).

https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-app-settings-vhds.html#app-persistence-increase-VHD-size indicates how to increase the virtual hard drive, but it is per user.

Can I change the default VHD size for new users in an AppStream application?

Thanks!

Prism
已回答 5 年前
0

Hi Prism -

Can I change the default VHD size for new users in an AppStream application?

We don't support this today. I will take it as feedback for a future enhancement of the feature. Because AppStream needs to download the full VHD from S3 prior to starting the streaming session, increasing the size of the disk will increase the amount of time it takes for a users streaming session to start, if they're filling it.

Depending on the type of data, I would suggest instead writing it to the Home Folder feature, as it is hydrated on access versus at session start.

That said, 100mb in general shouldn't cause too much of an issue. I would suggest seeing what applications are consuming the 1gb to see if they can be changed. For example, if an app is writing temporary data to the VHD that isn't needing to be persisted, you can move that to the C: drive directly.

Hope that helps.

Murali

專家
已回答 5 年前
0

Thank you Murali, that's very helpful. I will look into writing to the C drive instead.

Are there space concerns for doing this? If we have multiple streams for multiple users are they using the same C drive (which could cause conflicts)?

Are there privilege concerns for doing this? Can any user write to C:\ProgramData, for instance?

Thanks again.

Prism
已回答 5 年前
0

We provide every user with a dedicated streaming instance. Hence only the user who is using the streaming session has access to the C drive of the instance supporting that session.

AWS
已回答 5 年前
0

I have changed to using C:\ProgramData and have not seen drive space warnings. Hopefully that will work going forward.

Thank you very much for your help!

Prism
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南