Hello Florian,
I'm confused... You want to upload files > 3MB, the error states some 20 MB (20971520 byte, see also http://www.google.de/search?q=20971520%20bytes%20in%20MB ) and you set upload_max_filesize = 16M. Maybe it's a good idea to advance it to 64M?
Florian
On 7/4/07, Florian Pöck < f.poeck@kniel.de> wrote:
Hello,
i was linked from irc.freenode.org #mediawiki to that list, as alternative source.
My Problem is:
- I am unable to upload files > 3000 KB to my wikis (small farm).
Smaller uploads are working as supposed
Informations about the setup:
- Server-OS:
** Debian Etch
- Wiki-Version:
** mediawiki1.7 (installed via apt)
- Wiki-Changes:
** $wgUploadSizeWarning = 4000 * 1024; ** $wgMaxUploadSize = 1024*1024*100;
- PHP-Changes:
** post_max_size = 16M ** upload_max_filesize = 16M ** memory_limit = 128M
If i try to upload a file > 3000 KB to my wiki it results in the following error-message:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7168001 bytes) in /usr/share/mediawiki1.7/includes/Sanitizer.php on line 928
The server itself is not that powerful, but according to munin the CPU has nothing to do. Maybe it could need more RAM, but according to free the defined swap partition is unused, so i cant imagine that amount of RAM is really the problem.
So if you have any idea regarding that problem, feel free to help me out. Thanks for reading that post :D
Best regards fidel