[ 
https://issues.apache.org/jira/browse/AIRAVATA-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828718#comment-15828718
 ] 

Marcus Christie commented on AIRAVATA-1397:
-------------------------------------------

Just to document, through experimentation I've determined that 
upload_max_filesize is applied per file instead of to all of the files uploaded 
in a POST.  For example, if upload_max_filesize is 10MB, then the user can 
upload 4 5MB files (total size is 20MB > 10MB), but the user can't upload a 
single 12MB file.

> PGA gateway needs to gracefully handle attempts to upload files that are too 
> large.
> -----------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-1397
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1397
>             Project: Airavata
>          Issue Type: Improvement
>            Reporter: Marlon Pierce
>            Assignee: Marcus Christie
>             Fix For: 0.17
>
>
> This is mostly a PHP problem.  File upload limits are specified in the 
> php.ini file (typically, /etc/php.ini).  The parameters upload_max_filesize 
> and post_max_size need to be modified to increase the size. 
> If post_max_size is exceeded, the operation will fail silently: PHP doesn't 
> complain, and PGA will not call the airavata clients.  If upload_max_filesize 
> is exceeded but not the post size limit, you will get errors.  It is 
> advisable to change both (as documented in the PGA's README.md file) and to 
> keep both the same value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to