-
Type:
Problem report
-
Resolution: Won't fix
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: Server (S)
-
Environment:Zabbix server 5.0.21 (on centos 7) and 6.0.19 (on RHEL 9)
I have a problem opening notifications under reports in my frontend on may two environment's.
First environment:
OS:
CentOS Linux release 7.9.2009 (Core)
Zabbix versions:
zabbix-apache-conf-scl-5.0.21-1.el7.noarch
zabbix-release-5.0-1.el7.noarch
zabbix-web-5.0.21-1.el7.noarch
zabbix-web-pgsql-scl-5.0.21-1.el7.noarch
zabbix-agent-5.0.21-1.el7.x86_64
zabbix-web-deps-scl-5.0.21-1.el7.noarch
zabbix-sender-5.0.21-1.el7.x86_64
Error in log
[Tue Aug 22 14:36:49.758701 2023] [proxy_fcgi:error] [pid 27040] [client 10.226.24.50:50611] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/share/zabbix/include/db.inc.php on line 403\n', referer: https://zabbix-web.mbu.local/zabbix/zabbix.php?action=dashboard.view
Setting in /etc/php.ini did not resolve the problem
memory_limit = 1024M
Second environment:
OS:
Red Hat Enterprise Linux release 9.2 (Plow)
Zabbix versions:
zabbix-release-6.0-4.el9.noarch
zabbix-web-6.0.19-release1.el9.noarch
zabbix-web-deps-6.0.19-release1.el9.noarch
zabbix-web-pgsql-6.0.19-release1.el9.noarch
zabbix-agent-6.0.19-release1.el9.x86_64
zabbix-server-pgsql-6.0.19-release1.el9.x86_64
zabbix-apache-conf-6.0.19-release1.el9.noarch
zabbix-sender-6.0.19-release1.el9.x86_64
zabbix-sql-scripts-6.0.19-release1.el9.noarch
Error in log:
[Tue Aug 22 15:21:36.425738 2023] [proxy_fcgi:error] [pid 110579:tid 110753] [client 10.226.24.50:60198] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/db.inc.php on line 439PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/zabbix/include/func.inc.php on line 1197', referer: https://10.228.6.123/zabbix/toptriggers.php
Setting in /etc/php.ini did not resolve the problem:
memory_limit = 4096M
If I login as a user with low privileges the notifications page opens promptly and without errors.
The same problem was already reported here:
https://support.zabbix.com/browse/ZBX-19436?jql=text%20~%20%22report4.php%22
but suggested resolution of setting a higher memory limit in php.ini conf does not resolve my problem, so is this a problem in the code or a configuration issue?
Can you help me resolve this problem?