Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Large File upload max size #2

Closed
brianmcmichael opened this issue Mar 1, 2016 · 9 comments
Closed

Large File upload max size #2

brianmcmichael opened this issue Mar 1, 2016 · 9 comments
Assignees
Milestone

Comments

@brianmcmichael
Copy link
Contributor

brianmcmichael commented Mar 1, 2016

Cloud commander supports large file uploads, however, one of our services ( apache | nginx | passenger ) is storing these cache files somewhere under a root location in /var on websvcs08

Since /var is limited to 9.5G on the system, file uploads crash when this space is maxed out.

While uploading, we can see this space filling, but the location appears to be accessible only to root, so I will need to work with @dpjohnson to figure out where this is going.

Options:

  • Increase the size of /var
  • Determine which of ( apache | nginx | passenger ) is managing the upload and change the configuration to use /nfs for caching.

Disks on websvcs08

bmcmichael@websvcs08:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg0-lv_root
                       29G   13G   15G  48% /
tmpfs                  12G     0   12G   0% /dev/shm
/dev/sda1             969M  126M  794M  14% /boot
/dev/mapper/vg0-lv_home
                      406G   71M  385G   1% /home
/dev/mapper/vg0-lv_tmp
                      9.5G  106M  8.9G   2% /tmp
/dev/mapper/vg0-lv_var
                      9.5G  851M  8.2G  10% /var
fs10-opt.ten.osc.edu:/nfs/10/osc
                       16T  9.7T  6.4T  61% /nfs/10
fs17-opt.ten.osc.edu:/nfs/17/osc

...

Anatomy of a file upload PUT response (referencing both nginx and Passenger):
chunkedput

@ericfranz ericfranz added this to the OD3.0 milestone Mar 29, 2016
@brianmcmichael
Copy link
Contributor Author

This appears to be system dependent. @nickjer had discussed moving the nginx temp location to the user's homedir to resolve this.

@nickjer
Copy link
Contributor

nickjer commented Apr 19, 2016

Yep, will be done after Doug installs the latest nginx_stage.

@ericfranz ericfranz assigned nickjer and unassigned brianmcmichael May 4, 2016
@ericfranz
Copy link
Contributor

@nickjer is this still a problem?

@nickjer
Copy link
Contributor

nickjer commented May 4, 2016

Setting the nginx temp location in the user's home directory proved to be problematic. Only solution is to request from systems a larger disk where nginx stores its temp files.

@ericfranz
Copy link
Contributor

Will you put this request in via service now

@ericfranz
Copy link
Contributor

If we could pre-detect large file uploads we could ask users to use sftp for those and just stop them cold. Perhaps we should limit file uploads through cloud commander to 100MB file size

@ericfranz
Copy link
Contributor

@nickjer hold off on that request to systems let's talk about this issue in person

@nickjer
Copy link
Contributor

nickjer commented May 5, 2016

Procrastination pays off yet again...

@ericfranz ericfranz modified the milestones: OD3.1, OD3.0 May 25, 2016
@nickjer
Copy link
Contributor

nickjer commented Jul 18, 2016

The maximum file size you can upload is defined by two items on the infrastructure side:

I am fine with setting a maximum uploaded file size limit in FileExplorer, but this will require a new issue documenting the problem and the design for this proposal. As this issue discusses infrastructure, I will close this ticket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants