|
|

03-24-2011, 08:55 AM
|
|
Member
|
|
Join Date: Dec 2009
Posts: 31
|
|
Quote:
Originally Posted by NiteWave
litespeed restarting frequently is not normal -- usually it doesn't. it should relate to large file upload. let's work together to resolve this issue.
4.1RC4 just updated --- please do a "Force Reinstall".
to watch
1.do't restart frequently, or have some improvements
2.even restart, upload will complete without break.
|
I did a Force Reinstall of 4.1RC4 and while it did stay up longer, it still restarted. It had a uptime of about 1 hour 55 minutes before it did a restart this time. I'm trying to upload a large file and see if it breaks right now. I will update once its finished.
|

03-24-2011, 10:22 AM
|
|
Member
|
|
Join Date: Dec 2009
Posts: 31
|
|
|
Just an update. I was able to upload a 850 MB file with no problem just now using 4.1RC4 and I think litespeed did restart close to the end of the upload.
I'm going to try with a 1.5 GB file and see how it goes.
Thank you for all your help so far.
|

03-24-2011, 12:34 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,583
|
|
Quote:
Originally Posted by dlewis23
Letting you know I tried 4.1RC5 again with no mod_security and it caused the same problem. Totally messed up mod_rewrite so none of my pages would load.
I installed 4.1RC4 and that worked great. I'm running that right now and I will let you know if it continues to restart.
|
Can you give us details about your mod_rewrite rules. We will try to reproduce and fix the problem with 4.1RC5. 4.1 release will be based off 4.1RC5, need to address it before the official release.
|

03-24-2011, 12:46 PM
|
|
Member
|
|
Join Date: Dec 2009
Posts: 31
|
|
Quote:
Originally Posted by mistwang
Can you give us details about your mod_rewrite rules. We will try to reproduce and fix the problem with 4.1RC5. 4.1 release will be based off 4.1RC5, need to address it before the official release.
|
I sent you a PM with my mod_rewrite rules. Not sure if you need anything else.
Also I would like to add, that I can't upload any files larger then 1GB in size. When I select them and start the upload, the uploader just sits doing nothing. Any idea why this would happen?
|

03-24-2011, 03:27 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,583
|
|
Quote:
Originally Posted by dlewis23
I sent you a PM with my mod_rewrite rules. Not sure if you need anything else.
|
That's in document root .htaccess, right?
Better sending us a the whole .htaccess file, if there is .htaccess in parent directory, send us that as well.
It also may be related to mod_security rules if used. send us a copy of your mod_security rule.
Last, we need the URL that should be rewritten but broken under 4.1RC5.
If there is anything that may help replicating your problem in our lab, please also let us know.
You can send those information to bug@litespeed...
Quote:
|
Also I would like to add, that I can't upload any files larger then 1GB in size. When I select them and start the upload, the uploader just sits doing nothing. Any idea why this would happen?
|
Right now, LiteSpeed has hard limit of 1GB for HTTP request body, we will bump it up to around 2GB.
|

04-27-2011, 07:50 PM
|
|
Member
|
|
Join Date: Apr 2011
Posts: 19
|
|
I have checked the settings in this thread and others referenced. However, I am pretty new to Lightspeed and I'm not even sure I am looking in all the right places.
I have a very basic upload script here:
http://www.x x x x.com/uploadtest/
The php code is simply:
Code:
<?php
$target = "upload/";
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;
if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))
{
echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded";
}
else {
echo "Sorry, there was a problem uploading your file.";
}
?>
Very small files (a few K) upload fine. a 2 MB file (which should upload pretty quickly) causes the page to hang for a few minutes and then says something about the connection being terminated.
I would really appreciate someone pointing me very specifically where I should look on this.
Last edited by NiteWave; 04-27-2011 at 09:30 PM..
|

04-27-2011, 08:00 PM
|
|
Member
|
|
Join Date: Apr 2011
Posts: 19
|
|
We can't compile 5.3.x as it breaks our site and we are live on it now.
phpinfo page is here
http://www.x x x.com/phpinfo.php
upload_max is set to 550 MB. I'm pretty sure the php.ini is all set right for this. I'm assuming its a lightspeed setting(s) that I am missing.
Last edited by NiteWave; 04-27-2011 at 09:31 PM..
|

04-27-2011, 08:08 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,216
|
|
php settings looks ok.
1.Server –>Tuning–>Max Request Body Size (bytes) ?
2.check permission of upload/:
try and see:
chmod 777 upload/
|

04-27-2011, 08:13 PM
|
|
New Member
|
|
Join Date: Apr 2011
Posts: 7
|
|
|
Yes it is chmod 777.
Max Request Body Size (bytes) = 500M
|
| 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 09:13 PM.
|
|