Topic: php内存问题
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedMail-1.6.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
部署了iredmail系统后,经常会在postmaster账户下收到系统的报错邮件,邮件内容如下:
PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 163840 bytes) in /opt/www/roundcubemail-1.5.3/program/lib/Roundcube/rcube_charset.php on line 365
我已经在/etc/php/7.4/fpm和/etc/php/7.4/cli目录下都修改了php.ini文件,将memory_limit修改为1024M,但还是会经常收到这个报错邮件。
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.