Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Agent86 on January 23, 2007, 01:30:28 AM
-
Does webshare have any file size limitations or other limitations.
Such as any browser compatibilty problems etc.
Please advise
-
Well i have tested it on explorer (6 and 7) and opera. And it works just fine. And as far as i noticed the only limitation ow webshare is your disk. But i never uploaded something big like a 10GB file. So i don't know what would happen. But it works like a charm with small files (a lot of them). :)
-
Well i have tested it on explorer (6 and 7) and opera. And it works just fine. And as far as i noticed the only limitation ow webshare is your disk. But i never uploaded something big like a 10GB file. So i don't know what would happen. But it works like a charm with small files (a lot of them). :)
Thanks for the reply,
I'm trying upload a zip file of approx 85MB not super large but large enough
I'm getting a message at the top of the webshare page that says Failed in red after some time of uploading
The file is currently on the server via upload to ibay, and of course can be downloaded from this link
I have also concluded that must be the size
I can upload a small test zip file of the same name no problem and all other smaller files seem to be ok as well, so it must be the size
perhaps this is the same size limitations problem as the email attachement subject.
I've had to edit some files to increase the file attachment limitations as indicated in the forums
I'm not sure really ? what it could be but I'd have to guess this would be a possible
If anyone know about this subject if there is any limtations to file sizes please advise
Thanks
Steve
-
Hey yall,
if I remember correctly, the limit will be whatever you set the php.ini settings at.
There are threads in the forum on how to increase the php limits without the need of a custom template.
Here is a good thread on that subject:
http://forums.contribs.org/index.php?topic=33984.0
Good luck.
Joe
-
Hey yall,
if I remember correctly, the limit will be whatever you set the php.ini settings at.
There are threads in the forum on how to increase the php limits without the need of a custom template.
Here is a good thread on that subject:
http://forums.contribs.org/index.php?topic=33984.0
Good luck.
Joe
Great thats is what I was thinking, but was not sure if the webshare contrib would have the same related or associated issue
Thanks is makes sense
-
Yes that could be it. I have changed the limit in php.ini because i had some problems with atachments in roundcube webmail so i didn't have this problems.
-
The upload file size setting in php.ini has nothing to do with it.
I would suspect that you are getting browser timeouts.
Agent86,
Are you uploading your large file from the LAN or WAN?
What do the http and http error logs say?
Jon
-
The upload file size setting in php.ini has nothing to do with it.
I would suspect that you are getting browser timeouts.
Agent86,
Are you uploading your large file from the LAN or WAN?
What do the http and http error logs say?
Jon
I'm uploading from the WAN, and can't recall if I got a browser timeout message but I did see a message in the webshare top portion of the screen that say Failed in red.
I believe you are right about the timeout ? so what is the fix up for that ? And please confirm the php.ini for sure has nothing to do with it ?
Thanks
-
Apologies, I take back what I said. Webshare has changed since I last used it quite a few years ago and does include php scripting so the php upload file limit will apply.
However when you try to upload a file over the php uploadfile limit you will get a "this page cannot be displayed" error in IE immediately.
I still suspect that you are getting a browser or httpd timeout. httpd has a timeout of 300 sec's (5 minutes).
Jon
-
The upload file size setting in php.ini has nothing to do with it.
I would suspect that you are getting browser timeouts.
Agent86,
Are you uploading your large file from the LAN or WAN?
What do the http and http error logs say?
Jon
I'm uploading from the WAN, and can't recall if I got a browser timeout message but I did see a message in the webshare top portion of the screen that say Failed in red.
I believe you are right about the timeout ? so what is the fix up for that ? And please confirm the php.ini for sure has nothing to do with it ?
Thanks
Bigger the file, longer it will take.
Have a look in \opt\webshare-tools\phpfm\docs .
-
I believe you are right about the timeout ? so what is the fix up for that ? And please confirm the php.ini for sure has nothing to do with it ?
Thanks
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates/etc/httpd/conf/httpd.conf
cp 45Timeout /etc/e-smith/templates/etc/httpd/conf/httpd.conf/
nano -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout
Change 300 to 600
Control-X yes enter
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart
Timeout (http://httpd.apache.org/docs/2.0/mod/core.html#timeout)
-
I believe you are right about the timeout ? so what is the fix up for that ? And please confirm the php.ini for sure has nothing to do with it ?
Thanks
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates/etc/httpd/conf/httpd.conf
cp 45Timeout /etc/e-smith/templates/etc/httpd/conf/httpd.conf/
nano -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout
Change 300 to 600
Control-X yes enter
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart
Timeout (http://httpd.apache.org/docs/2.0/mod/core.html#timeout)
So thats just for timeouts, ?
Will I still need to do anything with the php.ini or maxfile etc. ?
Or should I try the timeouts and see how it goes from there ?
Please confirm this subject
Thanks
-
I believe you are right about the timeout ? so what is the fix up for that ? And please confirm the php.ini for sure has nothing to do with it ?
Thanks
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates/etc/httpd/conf/httpd.conf
cp 45Timeout /etc/e-smith/templates/etc/httpd/conf/httpd.conf/
nano -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout
Change 300 to 600
Control-X yes enter
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart
Timeout (http://httpd.apache.org/docs/2.0/mod/core.html#timeout)
So thats just for timeouts, ?
Will I still need to do anything with the php.ini or maxfile etc. ?
Or should I try the timeouts and see how it goes from there ?
Please confirm this subject
Thanks
httpd timeouts.
Change one thing at a time and test.
Keep notes.
-
Thanks I'll post the results
-
Agent86,
If I may venture a guess (personal experience)...
Continue with your trial and error regarding the timeout settings, but (here comes the personal thing..
Had the same problem on a LAN, kept on giving me error when trying to move 2gb/4gb files from local machine to server... Ended being as nitty gritty as disabling the user quota for that user...
Let us know what you get...
-
Hi and thanks for the info
I currently have all quotas set to (0) which should mean no limits from what I understand, or should mean disabled from what I can tell.
I hope I am understanding this text within the server-manager ?
If I should put the users quota set to something other then (0) please advise on this subject.
I did mess around with those setting in an attempt to fix the problem and then eventually set back to (0) so I'm hoping that is correct ?
Thanks
-
Your correct, setting the user quota to (0) means the user can use as much space as is available on your server...
OK, so we ruled that out, hows it coming with the TimeOut trials?
-
Hi yall,
I apologize that this post can't answer or solve the OP's trouble,
but I wanted to share the results of my testing.
1) Fresh install of SME 7.1, yum updated, set-up as server only.
2) Install Webshare contrib (plus a bunch of other contribs I am testing).
3) Create Webshare UpDown share,
4) Create Webshare user and p/w.
Start Testing:
*note: all tests were run from Opera browser*
1) Log on to share,
2) Attempt to upload 8.5mb file--> OK
3) Attempt to upload 44mb file--> FAILS almost immediately with
Post Size error (this is to be expected)
4) Putty into server and run the following commands:
config setprop php PostMaxSize 50M
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart
5) Attempt again to upload 44mb file---> Fails after about 8 minutes,
but no errors
6) At the Putty session run the following commands:
config setprop php UploadMaxFilesize 100M
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart
7) Attempt again to upload 45mb file--> OK
Take note here that it took about 15 minutes to upload this file
and I have NOT changed the stock timeout in php.ini, which is 30.
I hope this helps in some way.
Joe
-
Good news thanks
-
Four settings effect all php program file upload capabilities:
MaxExecutionTime
MemoryLimit
PostMaxSize
UploadMaxFilesize
As an example, below are settings that permit up to 50MB file uploads:
[root@mail ~]# config show php
php=service
AllowUrlFopen=Off
MaxExecutionTime=3600
MemoryLimit=50M
PostMaxSize=50M
UploadMaxFilesize=50M
status=enabled
Darrell