Author Topic: sending email gets stuck with medium sized attachemenets  (Read 4523 times)

Offline x1024

  • Newbie
  • *
  • Posts: 3
sending email gets stuck with medium sized attachemenets
« on: July 10, 2009, 07:28:05 PM »
hi, recently i have installed roundcubemail-0.2.2 on my server. previously i was using 0.1.x fine, but since the server reinstalled i was required to reinstall/upgrade the lovely roundcube application.

unfortunately i am encountering a problem where i can't send medium and large sized attachments, below i am attaching a 2 minutes  live video describing the problem. i would really love to hear any suggestions on how to fix this, i have never faced a problem like this before.

YouTube - Help with roundcube

Below these formats as attachment cannot be sent:

ZIP about 500kb+
RAR about 500kb+

These formats as attachment could be sent:

JPG larger than 500kb+
PNG larger than 500kb+
GIF larger than 500kb+

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
sending email gets stuck with medium sized attachemenets
« Reply #1 on: July 11, 2009, 01:02:21 AM »
check ./logs/errors ... most likely it is a php memory limit or a post size restiction issue.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline corbosman

  • Sr. Member
  • ****
  • Posts: 260
sending email gets stuck with medium sized attachemenets
« Reply #2 on: July 12, 2009, 03:55:11 AM »
Roundcube seems to use an insane amount of memory for attachments. Ive had to increase our memory limit to 200MB. And we only allow 20MB attachments.

Offline x1024

  • Newbie
  • *
  • Posts: 3
sending email gets stuck with medium sized attachemenets
« Reply #3 on: July 12, 2009, 08:37:59 AM »
Quote from: rosali;20025
check ./logs/errors ... most likely it is a php memory limit or a post size restiction issue.

thanks for the quick reply, it does seem to be the case. how awkwardly it only happens to compressed files like ZIP and RAR's.

below is the output in the log, btw how do we increase the allowed memory to be used for Roundcube? i have 1g physical memory on the server.

-----------------------------------------------


[11-Jul-2009 00:22:46 +0200] DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_13f4dbb9084b087bbca26db6c4d2239b614ecf590 FROM 'SELECT vars, ip, UNIX_TIMESTAMP(changed) AS changed\n     FROM session\n     WHERE  sess_id=?']
[Native code: 1146]
[Native message: Table 'mooo.session' doesn't exist]
 in /home/mooo/sd/mail/www/program/include/rcube_mdb2.php on line 255 (GET /)
[11-Jul-2009 00:33:08] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 1312236 bytes) in /home/mooo/sd/mail/www/program/lib/Mail/mimePart.php on line 317
[11-Jul-2009 00:44:40 +0200] IMAP Error: Authentication for cyril@xxx.fr failed (LOGIN): "a001 NO Login failed." (POST /?_task=&_action=login)
[11-Jul-2009 00:46:39] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 1312236 bytes) in /home/mooo/sd/mail/www/program/lib/Mail/mimePart.php on line 317

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
sending email gets stuck with medium sized attachemenets
« Reply #4 on: July 12, 2009, 10:09:50 AM »
Take a look in your php config file for memory_limit or in the .htaccess file in the RC root, changing the .htaccess file doesnt always work, it depends on your setup.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦