# Exceeds maximum allowed size of 10GB

**URL:** https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846
**Category:** Get Help
**Created:** [November 6, 2024, 1:16am UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846 "2024-11-06T01:16:38Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![gistambo](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gistambo/32/1336_2.png) [@gistambo](https://discourse.openondemand.org/u/gistambo)
#### Post date: [November 6, 2024, 1:16am UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/1 "2024-11-06T01:16:38Z")

</div>

Greetings All,  
We’re intending to increase the max file upload size in the “files” app to 20G, but we keep getting the error ‘exceeds maximum allowed size of 10GB’. We set the variable nginx\_file\_upload\_max in /etc/ood/config/nginx\_stage.yml to ‘21474840000’, restarted the web server from the help menu, but kept getting that same error when uploading a file that’s around 12GB. We then tried adding the line FILE\_UPLOAD\_MAX=21474840000 in both /etc/ood/config/apps/files/env and /etc/ood/config/apps/dashboard/env, made sure that both files had 644 permissions, restarted the web server, tried to upload the same file, and got the same error. Not sure if we’re missing a step, or doing something wrong. Any help you can provide is welcome.

---

<div class="post-metadata">

### Author: ![mjbludwig](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mjbludwig/32/684_2.png) [@mjbludwig](https://discourse.openondemand.org/u/mjbludwig)
#### Post date: [November 8, 2024, 5:42pm UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/2 "2024-11-08T17:42:05Z")

</div>

I have a feeling you will need to restart Apache.

---

<div class="post-metadata">

### Author: ![gistambo](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gistambo/32/1336_2.png) [@gistambo](https://discourse.openondemand.org/u/gistambo)
#### Post date: [November 12, 2024, 12:37am UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/3 "2024-11-12T00:37:50Z")

</div>

We tried that. We even restarted the server. Results are the same.

---

<div class="post-metadata">

### Author: ![mjbludwig](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mjbludwig/32/684_2.png) [@mjbludwig](https://discourse.openondemand.org/u/mjbludwig)
#### Post date: [November 12, 2024, 2:57pm UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/4 "2024-11-12T14:57:25Z")

</div>

Did you regenerate the config with `/opt/ood/ood-portal-generator/sbin/update_ood_portal`?

---

<div class="post-metadata">

### Author: ![gistambo](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gistambo/32/1336_2.png) [@gistambo](https://discourse.openondemand.org/u/gistambo)
#### Post date: [November 12, 2024, 3:42pm UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/5 "2024-11-12T15:42:09Z")

</div>

> [@mjbludwig](#):
>
> Did you regenerate the config with `/opt/ood/ood-portal-generator/sbin/update_ood_portal` ?

That didn’t work either. When we change the parameter to 5G, and we try to upload a 5.09G file, the error message switches to 5G max, meaning that the changes are being picked up. But when we change the parameter back to 20G, the error message reverts back to the 10G max.

---

<div class="post-metadata">

### Author: ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)
#### Post date: [November 12, 2024, 8:31pm UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/6 "2024-11-12T20:31:59Z")

</div>

I’ll look into this - I have to try to replicate in a container.

---

<div class="post-metadata">

### Author: ![gistambo](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gistambo/32/1336_2.png) [@gistambo](https://discourse.openondemand.org/u/gistambo)
#### Post date: [November 14, 2024, 3:41pm UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/7 "2024-11-14T15:41:38Z")

</div>

I forgot to add that we are running OnDemand 3.1.10 on an RHEL 9 system.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)
#### Post date: [May 13, 2025, 3:42pm UTC](https://discourse.openondemand.org/t/exceeds-maximum-allowed-size-of-10gb/3846/8 "2025-05-13T15:42:22Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
