Login or Register

RSS IconRecent posts in this topic

avatar Staff
Ilija Studen on Sep 14. 2006. 4:46 am
Do you get any kind of error? To be honest, I never tested with files larger than 10MB.

If you go for such large files you will most probably have problems:

* if you are using DB as a storage engine (by default activeCollab 0.7 does) you will have a huge query
* most browsers choke with such an upload
* you will need to configure your server to let you submit such a big POST requests
activeCollab Team Member
avatar Pro
ebatte on Sep 14. 2006. 9:17 am
No, no error is given. The file download appears to complete but when you check it the file size is less than the original and of course will not unzip/open. The amount of data transfered (reported as file size) varies from person to person so I would guess it is a timeout issue and not a max file size issue. I'm only guessing, though.


I have the following values set in php.ini:

max_execution_time = 240

max_input_time = 240

memory limit = 40M

post_max_size = 50M

upload_max_filesize = 35M

mysql.trace_timeout = 60


Is there anything else I need to do to allow larger transfers? These pdfs are so large because they contain a lot of pages of drawings. Sometimes more than 70 pages of 24"x36" architectural drawings in a single pdf. I could break them up into individual pages, but it is too tediuos to upload 70 pdf files.

Eric
avatar Staff
Ilija Studen on Sep 14. 2006. 9:34 am
Yes, yes... Of course. You shouldn't fight the system, application should be there to help not to give you a headache. You can upload them, but they break when you try to download them if I undersood correctly?
activeCollab Team Member
avatar Pro
ebatte on Sep 14. 2006. 9:49 am
I could upload them, but the server is local to me (on my lan). I haven't tried to upload off-site, only downloading which didn't work.
avatar Staff
Ilija Studen on Sep 14. 2006. 1:12 pm
Try setting max_execution_time to a higer value (600 for instance - that is 10 minutes) and see if download finishes. If it does than the problem really is execution time... Its fixable. Sorry, I don't have time to test this days so if you could do that it would be great!

Thanks! ;)
activeCollab Team Member
avatar Pro
ebatte on Sep 14. 2006. 1:29 pm
Will do. Do you you know if I have to restart apache to make this work?
avatar Staff
Ilija Studen on Sep 14. 2006. 1:32 pm
Yes, you need to restart Apache.
activeCollab Team Member
avatar Pro
ebatte on Sep 14. 2006. 8:36 pm
I tried downloading 3 files on my Documents page from home tonight. The curious thing is that even though the 3 files varied in file size the download stopped on each one at 5.4MB. The actual number of bytes varied slightly.

This was after changing max_execution_time to 600, but the download stopped way before 10 minutes. It's got to be something else that causes it to stop.

I also asked someone else to download from their office and they only got 4.26MB downloaded before it stopped.
avatar Staff
Ilija Studen on Sep 22. 2006. 2:53 pm
Hi,

I've just had a discussion with a friend and he told me that problem may be cause by memory-limit php.ini directive.
activeCollab Team Member
avatar Pro
ebatte on Sep 22. 2006. 2:57 pm
I wondered the same thing. I had it previously set to 40m when I reported the errors above. I just reset it to -1 (no limit) and I will try a download this weekend from home.
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic