Can't attach file bigger than ~6 MB.

Moderator: crythias

Locked
konstanta
Znuny newbie
Posts: 4
Joined: 05 Feb 2013, 14:45
Znuny Version: 3.2.1
Real Name: Kostya
Company: OHT

Can't attach file bigger than ~6 MB.

Post by konstanta »

Hi guys.
Faced with strange issue on OTRS 3.2.1 and 3.2.5.
Trying to attach file to Email ticket bigger than ~6MB got an error. Depends on filesize, Chrome throws me error :
1.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
- for files 7-8 MB in size. Uploading indicator came to 100% and straight away Chrome throws me this error.
2.
Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.
- for files bigger than 9 MB. Uploading just stops in the middle and Chrome throws this error.

Apache access log shows me this string in that moment:

Code: Select all

xxx.xxx.xxx:80 xx.xx.xx.xx - - [23/Apr/2013:12:11:26 +0000] "-" 408 0 "-" "-"


All other logs are empty.

Max_allowed_packet and WebMaxFileUpload both have appropriate values:

Code: Select all

mysql> show variables like '%max_allowed_packet%';
+--------------------+----------+
| Variable_name      | Value    |
+--------------------+----------+
| max_allowed_packet | 52428800 |
+--------------------+----------+

/opt/otrs# egrep 'WebMaxFileUpload' Kernel/Config/Files/*
Kernel/Config/Files/ZZZAAuto.pm:$Self->{'WebMaxFileUpload'} =  '16777216';

I also tried to change that values, got exactly the same behaviour. Tried to change 'WebUploadCacheModule' -> FS , got same errors.

Installed fresh OTRS 3.2.5 with empty database, but took Kernel/Config.pm, Kernel/Config/GenericAgent.pm, Kernel/Config/Files/ZZZAuto.pm from my production system and still I can upload attachments only up to 6 MB in size. So those config files are problematic maybe?

BTW , bin/otrs.CheckModules.pl tells me that everything is ok (except of some optional modules). I can successfully upload file less then 6 MB and I see it in MySQL after uploading...

Someone can give me a direction, where to search for a bug or missconfiguration?

And sorry for my English :)
OTRS 3.2.1
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Can't attach file bigger than ~6 MB.

Post by crythias »

if you're using database file storage, the limit is in the database. Check the mysql ini (my.ini?) file for limits.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked