Max request body size

NiteWave

Administrator
#22
please enable debug log(lsws admin console->Actions->Toggle Debug Logging) during upload, see if can capture useful info/error message
 

NiteWave

Administrator
#24
I did tests on a local 32-bit x86 linux box, uploaded 1.2G file with succeed.

if you're using php to handle the uploaded file, please check upload_max_filesize and post_max_size limit set in php.ini(you can refer http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:uploadprogress_bar)

if you set
Max Request Body Size (bytes): 7G
and has problem,
please try
Max Request Body Size (bytes): 7000M
see if ok. then it's a bug and will fix it later.
 
#25
I did tests on a local 32-bit x86 linux box, uploaded 1.2G file with succeed.

if you're using php to handle the uploaded file, please check upload_max_filesize and post_max_size limit set in php.ini(you can refer http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:uploadprogress_bar)

if you set
Max Request Body Size (bytes): 7G
and has problem,
please try
Max Request Body Size (bytes): 7000M
see if ok. then it's a bug and will fix it later.
It's giving the same error as before.
Request body size: 1073743096 is too big!
Theres no debug error logged for this one.

My script is a CGI (Perl) script. I don't think it is CGI or PHP (if it was a php script) since it's telling that the body size is too big in a error from litespeed.

---------
Edit: Just tried with 2000M and seems to be working. Can you raise the limit to more, plese?
 
Last edited:

NiteWave

Administrator
#26
Edit: Just tried with 2000M and seems to be working. Can you raise the limit to more, plese?
just now reproduced the issue.
on a x86_64 linux box, when set to 5000M, upload a 1.4G file failed;
when set to 2000M, upload 1.4G succeeded.

Has reported to development. Thanks!
 
#27
the latest build(4.2.2) has fixed the issue.
I tested with php script many times, it's working now.
will write a wiki later.

during the testing, found a php issue as well:
to upload file >2G, in php.ini
upload_max_filesize
must set to 0. if set to 3G etc, upload will fail.
 
Top