LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Max request body size

Reply
 
Thread Tools Display Modes
  #21  
Old 03-07-2013, 06:50 PM
hkirste hkirste is offline
Member
 
Join Date: Feb 2013
Posts: 13
Quote:
Originally Posted by NiteWave View Post
please force re-install 4.2.2, I tested the latest build(about 1 hour ago), the warning has gone.
The warning is gone, but the problem persists. I can't upload files > than 500 mb.
Reply With Quote
  #22  
Old 03-07-2013, 07:30 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,296
please enable debug log(lsws admin console->Actions->Toggle Debug Logging) during upload, see if can capture useful info/error message
Reply With Quote
  #23  
Old 03-07-2013, 07:53 PM
hkirste hkirste is offline
Member
 
Join Date: Feb 2013
Posts: 13
Quote:
Originally Posted by NiteWave View Post
please enable debug log(lsws admin console->Actions->Toggle Debug Logging) during upload, see if can capture useful info/error message
[*.*.*.*:60836-0#APVH_Default] Request body size: 1073743096 is too big!
Reply With Quote
  #24  
Old 03-08-2013, 12:42 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,296
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...adprogress_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.
Reply With Quote
  #25  
Old 03-08-2013, 12:59 AM
hkirste hkirste is offline
Member
 
Join Date: Feb 2013
Posts: 13
Quote:
Originally Posted by NiteWave View Post
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...adprogress_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.
Quote:
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 by hkirste; 03-08-2013 at 01:02 AM..
Reply With Quote
  #26  
Old 03-09-2013, 05:12 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,296
Quote:
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!
Reply With Quote
  #27  
Old 03-19-2013, 06:25 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,296
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:59 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.