Koozali.org: home of the SME Server

webshare file limits ?

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
webshare file limits ?
« 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

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
webshare file limits ?
« Reply #1 on: January 23, 2007, 01:34:45 PM »
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). :)
"It should just work" if it doesn't report it. Thanks!

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
File size or long file names ?
« Reply #2 on: January 23, 2007, 03:15:35 PM »
Quote from: "bpivk"
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

boss_hog

webshare file limits ?
« Reply #3 on: January 23, 2007, 03:20:40 PM »
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

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Great thats is what I was thinking
« Reply #4 on: January 23, 2007, 03:27:46 PM »
Quote from: "boss_hog"
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

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
webshare file limits ?
« Reply #5 on: January 23, 2007, 06:29:36 PM »
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.
"It should just work" if it doesn't report it. Thanks!

Offline JonB

  • *
  • 351
  • +0/-0
webshare file limits ?
« Reply #6 on: January 23, 2007, 09:30:02 PM »
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
...

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
From WAN
« Reply #7 on: January 23, 2007, 09:53:26 PM »
Quote from: "JonB"
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

Offline JonB

  • *
  • 351
  • +0/-0
webshare file limits ?
« Reply #8 on: January 23, 2007, 09:54:31 PM »
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
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: From WAN
« Reply #9 on: January 23, 2007, 10:13:44 PM »
Quote from: "Agent86"
Quote from: "JonB"
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 .
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: From WAN
« Reply #10 on: January 23, 2007, 10:34:04 PM »
Quote from: "Agent86"


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


Code: [Select]
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/


Code: [Select]
nano -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout

Change 300 to 600

Code: [Select]
Control-X yes enter

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart



Timeout
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: From WAN
« Reply #11 on: January 25, 2007, 03:08:03 AM »
Quote from: "william_syd"
Quote from: "Agent86"


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


Code: [Select]
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/


Code: [Select]
nano -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout

Change 300 to 600

Code: [Select]
Control-X yes enter

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart



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

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: From WAN
« Reply #12 on: January 25, 2007, 03:19:16 AM »
Quote from: "Agent86"
Quote from: "william_syd"
Quote from: "Agent86"


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


Code: [Select]
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/


Code: [Select]
nano -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout

Change 300 to 600

Code: [Select]
Control-X yes enter

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart



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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Great Thanks
« Reply #13 on: January 26, 2007, 12:45:58 AM »
Thanks I'll post the results

Offline rkscscc

  • **
  • 44
  • +0/-0
    • RKS Computer Solutions
webshare file limits ?
« Reply #14 on: January 26, 2007, 12:06:16 PM »
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...

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
User quotas
« Reply #15 on: January 26, 2007, 02:22:53 PM »
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

Offline rkscscc

  • **
  • 44
  • +0/-0
    • RKS Computer Solutions
webshare file limits ?
« Reply #16 on: January 26, 2007, 02:27:15 PM »
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?

boss_hog

webshare file limits ?
« Reply #17 on: January 26, 2007, 06:03:12 PM »
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

Offline Agent86

  • ****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Webshare file size fixup
« Reply #18 on: February 03, 2007, 02:51:47 AM »
Good news thanks

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
webshare file limits ?
« Reply #19 on: February 07, 2007, 09:11:17 PM »
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