BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Kevin_Wang
Calcite | Level 5

I tried to upload large files (>5GB) in SAS Viya pay as you go using SAS Studio. I first changed the max upload size from 100MB to >7000MB in SAS Environment Manager as described in https://communities.sas.com/t5/SAS-Communities-Library/SAS-Viya-on-Microsoft-Azure-Marketplace-Three.... After that I stop and start SAS Viya to restart it. Then I can see the size limit is increased on the upload page. But when I tried to upload a 5.7GB file, it failed and gave me the following error message:

 

"

An error occurred uploading <202231326A_022018_AB.csv>. The server returned the following error message for the file <202231326A_022018_AB.csv> : <html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

"

 

However, uploading a small file worked for me. Please advise how to increase the size limit correctly.

 

See below for the screenshot of the error message.

 

 

Kevin_Wang_1-1688419839353.png

 

 

Another issue is that the "Files" folder in the Explorer disappeared after I tried to add a new folder under it. You can see that in the screenshot above that "Files" folder is not there. Please advise how to get it back?

 

 

Thank you for your help!

 

Kevin

1 ACCEPTED SOLUTION

Accepted Solutions
cj_blake
SAS Employee

Hi Kevin,

 

The limit that you are hitting here is actually a limit on the Nginx Ingress, rather than a limit within Viya itself. Due to the way that SAS Viya on Microsoft Azure is deployed, there isn't a way for you to increase this value, but there is another way that you can upload large files to your environment.

 

When you connect to the Jumpbox of the deployment, the NFS mounts that are available to SAS Viya are also mounted to this machine. If you login with SSH, you can see a list of the folders under the /viya-share folder. And you can upload your files from your local machine with tools like WinSCP, etc.

 

I hope that helps!

 

Chris

View solution in original post

2 REPLIES 2
Kevin_Wang
Calcite | Level 5

Tried to upload a 600MB file and it failed. Does it mean each file has to be smaller than 100MB and changing the "maxuploadsize" limit doesn't really work?

 

See below for the error I got. Thanks for the help!

 

Kevin_Wang_0-1688746779197.png

 

cj_blake
SAS Employee

Hi Kevin,

 

The limit that you are hitting here is actually a limit on the Nginx Ingress, rather than a limit within Viya itself. Due to the way that SAS Viya on Microsoft Azure is deployed, there isn't a way for you to increase this value, but there is another way that you can upload large files to your environment.

 

When you connect to the Jumpbox of the deployment, the NFS mounts that are available to SAS Viya are also mounted to this machine. If you login with SSH, you can see a list of the folders under the /viya-share folder. And you can upload your files from your local machine with tools like WinSCP, etc.

 

I hope that helps!

 

Chris

sas-innovate-2024.png

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

Register now!

Discussion stats
  • 2 replies
  • 771 views
  • 0 likes
  • 2 in conversation