Cant upload files bigger than specific size

Hi.

I have a quick question, read some other forms of my question out there, but nothing that suits me.
We are on a shared hosting, trying to upload a ā€œbigā€ file of 500MB, and its impossible.

  1. We get this sort of entry in the error log:

[Wed May 19 07:33:28.671880 2021] [fcgid:warn] [pid 762:tid 133106646468352] [client 201.000.242.000:10275] mod_fcgid: HTTP request length 268443558 (so far) exceeds MaxRequestLen (268435456), referer: https://crm.mysite.com/index.php?module=Documents&action=EditView&return_module=Documents&return_action=DetailView

  1. Our php.ini is set like this:

upload_max_filesize = 1000M
post_max_size = 1100M
max_execution_time = 480
max_input_time = -1
memory_limit = 512M

  1. And in relation to the max upload size in Admin is at 900000000.

We were able to upload files of 255MB, but higher than that its impossible.
ThereĀ“s another software in the same server that can upload files larger as 4GB, without issue… but with SuiteCRM is impossible.

Can someone point me out in the right direction? Is this something that can be done from our size?
Thanks in advance!

Check what you have on your SuiteCRM configuration.
Go to Admin->System Settings->Maximum upload size

Hi Broz…
Indeed, we have a sized there… as stated, is:

  1. And in relation to the max upload size in Admin is at 900000000.

The issue seems to be somewhere else. What do you think?

The only thing I can think about is the actual ram assigned to the service by your hosting.

https://www.tutorialspoint.com/how-to-upload-large-files-above-500mb-in-php

I understand. But, theres another software in the same server that gets files of 4Gb uploaded… that means that server ram can do the job for a lighter file. Right?

1 Like

In that link they suggest to ā€œupdate your virtual host configuration fileā€, IĀ“m not sure if I can di that since, IĀ“m on a Shared Hosting. Anyways, IĀ“ll have to ask to the Support for more clarity.

Thanks @BrozTechnologies !

Finally, the issue was related to FastCGI in server end. The support was able to help me to modify it to improve the time and response of the requests. Sadly, I havent seen the right configuration yet, but if someone has the same issue in Shared Hosting, maybe they can pursue this solution asking the support about the FastCGI configuration.

EDIT: What they did at support, was to change PHP version from 7.4 FastCGI to 7.4 CGI.
Just to give some more info for the ones that could need it.