On 04/10/2010 01:28 AM, Meng Wu wrote:
Dear XWiki developers and users,
Some of our users are having trouble uploading flash video files larger than 20MB on
pages in the wiki. We've noticed either of two things happening:
1) When clicking the file attachment, it leads to a page that says "template does
not exist"
Or
2) When clicking the file attachment, you are prompted to download it. However, the
download file is 0KB.
These symptoms are only happening for flv files larger than 20MB. For more clarification,
here is a timeline of what happens:
· User uploads these
files
· Big files return
“template does not exist” error and most flash video files larger than 20MB gets cut down
to
0KB
· User re-uploads
these files
· These files work, are able to be downloaded with all the content, are able to
be played by the jw player, and
the problem, at least for a while, seems to be fixed
· A little while
later, these files start to fail, seemingly in the order they were uploaded in
(somefiles bigger than 20MB get the error message and some files, when
downloaded, have 0KB, even though the attachment display says otherwise)
We checked that the maximum attachment size for us was set to 1GB, so we're not
really sure what the problem is. Any insight would be greatly appreciated.
You should try to:
- increase the memory available to XWiki (attachments take up LOTS of
memory, this is a known problem which will be fixed at some time)
- increase the max_allowed_packet setting for mysql (assuming you're
using mysql)
--
Sergiu Dumitriu
http://purl.org/net/sergiu/