Icinga / icingaweb2-module-idoreports

Icinga IDO Reports provides host and service availability reports for Icinga based on the monitoring database (IDO).
GNU General Public License v2.0
34 stars 13 forks source link

Allowed memory size exhausted #12

Closed loeken closed 4 years ago

loeken commented 5 years ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. load ido report module and all dependencies
  2. create report for all services ( ~ 5000 services tracked )
  3. create a service report
  4. select the service report

Expected behavior

Show service report

Screenshots

Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)

#0 [internal function]: Icinga\Application\Web->Icinga\Application\{closure}()
#1 {main}

crashes while rendering

Your Environment

director | master grafana | 1.3.5 idoreports | 0.9.1 ipl | v0.3.0 monitoring | 2.6.3 pdfexport | 0.9.1 reactbundle | v0.6.0 reporting | 0.9.2

Additional context

Add any other context about the problem here.

dnsmichi commented 5 years ago

Try increasing the memory_limit in PHP (likewise FPM). This now defaults to 256M, the page needs more memory.

lippserd commented 4 years ago

Hi,

Thanks for the report. We could try to automatically raise the memory limit.

All the best, Eric