Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Cannot upload files larger than 100KB to shared document area
- From: Tornoci Laszlo <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] Cannot upload files larger than 100KB to shared document area
- Date: Tue, 27 Sep 2011 10:59:47 +0200
Hi,
On 09/27/2011 09:18 AM, Matt Taggart wrote:
Hi Laszlo,
I have a dedicated sympa server (6.1.7 on a fully updated RHEL 6.1), and
whenever I try to upload a file larger than 100KB to the shared folders,
I get a 500 Internal Server Error response. If I try to upload any file
smaller then 100K, everything works fine. The webserver logs are not
usable, they are filled with lines like:
mod_fcgid: stderr: Use of uninitialized value $_[1] in sprintf at
/usr/lib64/perl5/Sys/Syslog.pm line 365.
Google tells me this is a known sympa bug (although already fixed in
6.1.7?!)
I've checked my apache conf files for LimitRequestBody (I had none), I
actually set it to zero (=unlimited upload allowed), but this won't help.
You might be running into the same thing we hit recently...
fcgi has a default limit on request size. The default (on Debian's version
at least) is 128K. In our case we were seeing logs entries like this,
[Wed Aug 10 14:46:42 2011] [warn] [client 127.0.0.1] mod_fcgid: HTTP
request length 134552 (so far) exceeds MaxRequestLen (131072),
referer: https://xxx/www/d_read/listname/
and we fixed it by doing this in fcgid.conf
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
# 10MB should be enough, default is 128K
MaxRequestLen 10000000
</IfModule>
Thanks a lot, that fixed it!
Laszlo
Your symptoms of only<100KB uploads working and it getting the 500 error
code page are the same things we saw (but we didn't see that perl error,
maybe it's unrelated?).
I've been meaning to submit this as a documentation patch... :)
HTH,
-
[sympa-users] Cannot upload files larger than 100KB to shared document area,
Tornóci László, 09/21/2011
-
Re: [sympa-users] Cannot upload files larger than 100KB to shared document area,
Matt Taggart, 09/27/2011
- Re: [sympa-users] Cannot upload files larger than 100KB to shared document area, Tornoci Laszlo, 09/27/2011
-
Re: [sympa-users] Cannot upload files larger than 100KB to shared document area,
Matt Taggart, 09/27/2011
Archive powered by MHonArc 2.6.19+.