[ZBX-18201] Latest Data 'Reset' Defaulting to All Hosts - PHP Memory Exhausted Created: 2020 Aug 05 Updated: 2020 Aug 07 Resolved: 2020 Aug 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 5.0.2 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Cory White | Assignee: | Andrejs Verza |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu18.04 running frontend and server only, nginx web server |
Attachments: |
![]() ![]() ![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Sprint: | Sprint 67 (Aug 2020) |
Description |
Steps to reproduce:
Result: Expected: Server Stats is attached |
Comments |
Comment by Valdis Murzins [ 2020 Aug 06 ] |
Can you also, please, note values for the following settings: Normally resetting filter in host list should not overload the frontend. |
Comment by Cory White [ 2020 Aug 06 ] |
1) Was set to 5000 (verifying during host import), I did crank that down to match user settings.... 2) 500 Those settings were persistent in the 4.4 configuration btw (5000, 500 respectively) without HTTP 500 error - I will need to work on a maintenance window to get debug (is there a level preference in server conf)? We had just moved the server into production....... |
Comment by Valdis Murzins [ 2020 Aug 06 ] |
Sorry, I misunderstood, which page you are talking about. This can be a problem from |
Comment by Cory White [ 2020 Aug 06 ] |
I attempted the patch - there is no change. Seems that issue relates to even getting latest data to load, mine relates to trying to clear/reset it to blank/no filters. I don't have any SQL queries hanging, nor do I get any debug messages in the UI. Just the memory error in nginx. Also we are using mariadb on the backend versus postresgl. My work around it to go to Monitoring->Hosts to load latest data ILO clearing and picking new filters. nginx error: 2020/08/06 15:35:55 [error] 6261#6261: *213 FastCGI sent in stderr: "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 397" while reading response header from upstream, client: 10.218.4.120, server: FQDN, request: "GET /zabbix.php?action=latest.view&filter_rst=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "FQDN", referrer: "https://FQDN/zabbix.php?action=latest.view&filter_hostids%5B%5D=9805&filter_hostids%5B%5D=9808&filter_hostids%5B%5D=9809&filter_hostids%5B%5D=9816&filter_hostids%5B%5D=9817&filter_hostids%5B%5D=9818&filter_application=Disk+Partitions&filter_select=&filter_set=1"
latest view by filter or host does not seem to matter, same error even on lightly monitored hosts (less than 200 items). When I push memory to 1G the page will load but loads all hosts ILO clearing all hosts. Added screenshots of latest view, then after reload when memory pushed to 1G Debug: Total time: 0.022654 |
Comment by Valdis Murzins [ 2020 Aug 06 ] |
Thank you for your help. We will be looking into it. |
Comment by Andrejs Verza [ 2020 Aug 07 ] |
Closing as duplicate of |