[ZBX-23365] host graphs page blank after creating new (large) graph Created: 2023 Sep 06 Updated: 2023 Dec 22 Resolved: 2023 Dec 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | thijs van severen | Assignee: | Andrei Gushchin (Inactive) |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Oracle Linux Server 9.1 (VM on Proxmox) |
Description |
Steps to reproduce:
Result: no errors in zabbix_server log /var/log/httpd/error_log shows this message : [Wed Sep 06 10:20:27.982646 2023] [proxy_fcgi:error] [pid 2499019:tid 2499041] [client 10.22.32.58:52749] AH01071: Got error 'PHP message: PHP Warning: Undefined array key 25293 in /usr/share/zabbix/graphs.php on line 820PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/graphs.php on line 820PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/share/zabbix/graphs.php:820\nStack trace:\n#0 \{main}\n thrown in /usr/share/zabbix/graphs.php on line 820', referer: http://10.50.147.61/zabbix/zabbix.php?action=search&search=Proxmox+002 [Wed Sep 06 10:20:27.982910 2023] [proxy_fcgi:error] [pid 2499019:tid 2499041] [client 10.22.32.58:52749] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "file" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 381PHP message: PHP Warning: Undefined array key "line" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 381PHP message: PHP Warning: Cannot modify header information - headers already sent in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 59PHP message: PHP Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session) in Unknown on line 0', referer: http://10.50.147.61/zabbix/zabbix.php?action=search&search=Proxmox+002 Expected: |
Comments |
Comment by thijs van severen [ 2023 Sep 06 ] |
correction : i added 54 items to the graph iso 40 via a dashboard that contains this new graph i was able to display the graph, but only when i keep the timeframe really small (20min or so) I'm pretty sure this is just because the graph contains so much data it simply does not fit in the allocated memory, so this is probably only a symptom, but wanted to mention it anyway
httpd error log : [Wed Sep 06 11:05:40.682034 2023] [proxy_fcgi:error] [pid 2499019:tid 2499026] [client 10.22.32.58:53998] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 135168 bytes) in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 303', referer: http://10.50.147.61/zabbix/zabbix.php?action=charts.view&filter_hostids%5B0%5D=10465&filter_name=debug%20VM%20network%20traf&filter_show=1&filter_set=1&from=now-2d&to=now [Wed Sep 06 11:05:42.783246 2023] [proxy_fcgi:error] [pid 1768469:tid 1768510] [client 10.22.32.58:54000] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 135168 bytes) in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 302', referer: http://10.50.147.61/zabbix/zabbix.php?action=charts.view&filter_hostids%5B0%5D=10465&filter_name=debug%20VM%20network%20traf&filter_show=1&filter_set=1&from=now-2d&to=now [Wed Sep 06 11:06:00.359296 2023] [proxy_fcgi:error] [pid 1768470:tid 1768542] [client 10.22.32.58:54005] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 135168 bytes) in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 301', referer: http://10.50.147.61/zabbix/zabbix.php?action=charts.view&filter_hostids%5B0%5D=10465&filter_name=debug%20VM%20network%20traf&filter_show=1&filter_set=1&from=now-2d&to=now |
Comment by Edgar Akhmetshin [ 2023 Sep 11 ] |
Hello [Wed Sep 06 11:05:40.682034 2023] [proxy_fcgi:error] [pid 2499019:tid 2499026] [client 10.22.32.58:53998] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 135168 bytes) in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 303', referer: http://10.50.147.61/zabbix/zabbix.php?action=charts.view&filter_hostids%5B0%5D=10465&filter_name=debug%20VM%20network%20traf&filter_show=1&filter_set=1&from=now-2d&to=now You need to provide more memory for the PHP and check with enough amount of memory. Regards, |