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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] Problem with uploading large files =/

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2012, 12:13 AM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Default [solved] Problem with uploading large files =/

Hi

i recently installed a new script on my server, it's called xfilesharing, not he problem i have is that when i try to remote url upload a file which means uploading a file from another url it get stuck if the file is large
here is an screenshot of this example
http://www.shareyourimage.com/images/TikwB.png
after contacting the xfilesharing support they said it's a problem with litespeed, i have tested with apache and it work perfectly fine, anyone have any idea what might my problem be ??

Thanks
Parham

Last edited by NiteWave; 06-29-2012 at 07:29 PM..
Reply With Quote
  #2  
Old 04-24-2012, 04:23 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
what's the value of "Connection Timeout (secs)"?
lsws admin console->Server->Tuning->Connection Timeout (secs)

increase it, see if solve it.
Reply With Quote
  #3  
Old 04-24-2012, 04:32 AM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Quote:
Originally Posted by NiteWave View Post
what's the value of "Connection Timeout (secs)"?
lsws admin console->Server->Tuning->Connection Timeout (secs)

increase it, see if solve it.
it was 45, i doubled it (90) but it still get stuck (This time on 52%) =/
Reply With Quote
  #4  
Old 04-24-2012, 11:02 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by Mr_Parham View Post
it was 45, i doubled it (90) but it still get stuck (This time on 52%) =/
may have to do with your /tmp partition size (not large enough). pls check:

df -h /tmp
Reply With Quote
  #5  
Old 04-24-2012, 11:06 AM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Quote:
Originally Posted by webizen View Post
may have to do with your /tmp partition size (not large enough). pls check:

df -h /tmp
root@srv1 [~]# df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/usr/tmpDSK 4.0G 366M 3.4G 10% /tmp
root@srv1 [~]#
Reply With Quote
  #6  
Old 04-24-2012, 11:29 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by Mr_Parham View Post
root@srv1 [~]# df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/usr/tmpDSK 4.0G 366M 3.4G 10% /tmp
root@srv1 [~]#
check upload related settings: PHP memory limit in php.ini, memory limit (soft/hard) in LSPHP5 external app and max request body size
(http://www.litespeedtech.com/docs/we...maxReqBodySize).
Reply With Quote
  #7  
Old 04-27-2012, 08:41 AM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Quote:
Originally Posted by webizen View Post
check upload related settings: PHP memory limit in php.ini, memory limit (soft/hard) in LSPHP5 external app and max request body size
(http://www.litespeedtech.com/docs/we...maxReqBodySize).
-PHP memory limit in php.ini
where can i find that ??
-memory limit (soft/hard) in LSPHP5 external app
didnt work
-max request body size
didnt work
Reply With Quote
  #8  
Old 06-27-2012, 02:47 PM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
doesnt anyone know how to solve this issue, i tried hiring people as well but it seems like it's some complicated settings that i would need to change
Reply With Quote
  #9  
Old 06-27-2012, 02:48 PM
Mr_Parham Mr_Parham is offline
Senior Member
 
Join Date: Oct 2011
Posts: 72
Just another thing i remembered, if i use any other link even if they are direct links they would get stuck about 2GB so it's not just when i upload from a specific host, it's all of the websites
Reply With Quote
  #10  
Old 06-27-2012, 03:38 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by Mr_Parham View Post
-PHP memory limit in php.ini
where can i find that ??
-memory limit (soft/hard) in LSPHP5 external app
didnt work
-max request body size
didnt work
1. find the php.ini in use
Quote:
/usr/local/lsws/fcgi-bin/lsphp5 -i| grep php.ini
2. grep memory_limit /path/to/php.ini
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 11:30 AM.



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