|
|

10-17-2007, 03:43 AM
|
|
Senior Member
|
|
Join Date: Nov 2004
Posts: 288
|
|
did you try what mistwang suggested above?
Quote:
|
Originally Posted by mistwang
Please try setting "Max I/O buffer size" to "0", yes "zero", the swapping space will be limited by available disk space under /tmp.
|
|

10-17-2007, 07:36 AM
|
|
Member
|
|
Join Date: Oct 2007
Posts: 44
|
|
Quote:
Originally Posted by ts77
did you try what mistwang suggested above?
|
Yes of course, I am currently have it to zero and now perfomance is down, server waits about 5-6 seconds before page load and it still only uploads up to 500mb and thats all...
I dont understand, I thought Lsws was capable to handle large uploads and loads, thats why I moved to enterprise license, I am dissapointed but I really dont want to switch back to Apache.
is there any hope for me?
|

10-17-2007, 10:40 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,586
|
|
Don't worry, we will have it addressed soon. Need to run some tests.
Besides the file uploads, do you serve file downloads though PHP as well? PHP read the file then send it to client? If you did so, you should change it to let LSWS serve it directly via a internal redirect in PHP.
http://www.litespeedtech.com/support...ernal_redirect
Serving large static files through PHP is extremely inefficient as well.
|

10-17-2007, 12:03 PM
|
|
Member
|
|
Join Date: Oct 2007
Posts: 44
|
|
|
Yes, it servers downloads too, but what it has to do with uploads? I am not php programmer, its just php script which uploads files and generates download links for it.
thats all
|

10-17-2007, 12:41 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,586
|
|
|
Does the download link point to a PHP script or directly to the static file?
If static file is streamed through PHP script, the static file will be buffered by LSWS as well, so it is not efficient at all.
|

10-17-2007, 12:58 PM
|
|
Senior Member
|
|
Join Date: Nov 2004
Posts: 288
|
|
... and that has nothing to do with your upload problems, its "just" a "related note" .
|

10-17-2007, 03:00 PM
|
|
Member
|
|
Join Date: Oct 2007
Posts: 44
|
|
Yes its streamed over php I guess, since my static file is kind of masked in these kind of link:
Code:
http://mysite.com/index.php?p=download&hash=tpYMEw24zUY3
|

10-17-2007, 03:15 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,586
|
|
|
That's why you run out of buffer/swap space. LSWS caches the whole response body produced by PHP, so all download files will be stored in the buffer/swap.
You should have your developer to remove the streaming code and replace it with a internal redirect I mentioned earlier. Your site will be flying after that. The large upload might not be a problem any more.
|

10-18-2007, 12:58 PM
|
|
Member
|
|
Join Date: Oct 2007
Posts: 44
|
|
Unfortunatelly its impossible because of nature of the script 
I guess there is no other way, either I should switch back to apache or increase TMP partition again 
|

10-18-2007, 03:54 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,586
|
|
|
We will try to have your issue addressed in up coming 3.3 release.
It may not be the issue of your TMP partition. If you run lshttpd in 32bit system, you may run into virtual memory limit problem if there a few upload/download session for large files. 3.3 release will have it addressed. It is due in next week.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:57 PM.
|
|