Hi there,
This message popped up in the logs whilst attempting to send a message
with a file attachment of 3.1Mb.
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
However, the .htaccess has these settings:
php_value upload_max_filesize 4M php_value post_max_size 6M php_value memory_limit 48M php_value max_execution_time 340 php_value max_input_time 320
The /etc/php5/apache2/php.ini heas these values: upload_max_filesize = 7M post_max_size = 25M memory_limit = 48M max_execution_time = 60 max_input_time = 60
Are these values set else where?
Best regards.
On 21.10.2011 16:37, J4K wrote:
This message popped up in the logs whilst attempting to send a message with a file attachment of 3.1Mb.
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
What versions of Roundcube and Mail_mime package are you using?
On 21.10.2011 16:37, J4K wrote:
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
However, the .htaccess has these settings:
php_value memory_limit 48M
this limit is exceeded. Are you using smtp or php-mail for sending messages? If you're not using smtp you'll need to increase memory_limit or configure Roundcube to use smtp.
"A.L.E.C" alec@alec.pl wrote:
On 21.10.2011 16:37, J4K wrote:
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
However, the .htaccess has these settings:
php_value memory_limit 48M
this limit is exceeded. Are you using smtp or php-mail for sending messages? If you're not using smtp you'll need to increase memory_limit or configure Roundcube to use smtp.
"A.L.E.C" alec@alec.pl wrote:
On 21.10.2011 16:37, J4K wrote:
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
However, the .htaccess has these settings:
php_value memory_limit 48M
this limit is exceeded. Are you using smtp or php-mail for sending messages? If you're not using smtp you'll need to increase memory_limit or configure Roundcube to use smtp.
PHP tries to allocate another 8MB after it has allocated 49MB... Nothing wrong here
2011/10/21 Simon Loewenthal simon@klunky.co.uk
"A.L.E.C" alec@alec.pl wrote:
On 21.10.2011 16:37, J4K wrote:
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
However, the .htaccess has these settings:
php_value memory_limit 48M
this limit is exceeded. Are you using smtp or php-mail for sending messages? If you're not using smtp you'll need to increase memory_limit or configure Roundcube to use smtp.
-- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
List info: http://lists.roundcube.net/users/ BT/5725f1d0
Hi,
How is it being exceeded? The error gives a value of 8mb, and the pjo value is 48mb.
Cheers,s
-- If you cannot beat them, try to côntrole them.
-- List info: http://lists.roundcube.net/users/ BT/d91e2bb0
Eduard Krieger eduard.krieger@googlemail.com wrote:
PHP tries to allocate another 8MB after it has allocated 49MB... Nothing wrong here
2011/10/21 Simon Loewenthal simon@klunky.co.uk
"A.L.E.C" alec@alec.pl wrote:
On 21.10.2011 16:37, J4K wrote:
Oct 21 16:06:09 xx71 roundcube: PHP Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 8944333 bytes) in /www/roundcube/program/include/iniset.php on line 107
However, the .htaccess has these settings:
php_value memory_limit 48M
this limit is exceeded. Are you using smtp or php-mail for sending messages? If you're not using smtp you'll need to increase memory_limit or configure Roundcube to use smtp.