Ad Widget

Collapse

Nothing happens when adding items to large numbers of hosts/templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #1

    Nothing happens when adding items to large numbers of hosts/templates

    I just wanted to put this in here as a help if anyone else runs into this issue.....

    I had a problem where if I edited/added/deleted items/triggers to a template that modified a significant number of hosts (read 200+), then nothing would happen. After submitting the change, a new page would load, but then would suddenly stop and the only thing that would show on the page was the header.

    I found the problem by changing "display_errors = On" in php.ini and reloading apache. The issue was that the memory_limit value for php had been exceeded (although it was set to the recommended value of 128M). I doubled it to 256M and restarted Apache httpd. After doing that, my problem went away.
  • cvee.it
    Member
    • Nov 2010
    • 45

    #2
    I've never come across that, and I've always had a 256 memory limit. My site is moderate with 800 hosts monitored and tweaked to just under 200 values per second.

    Comment

    • heaje
      Senior Member
      Zabbix Certified Specialist
      • Sep 2009
      • 325

      #3
      For anyone who finds this later, I ended up realizing was my own fault. I had "debug" turned on for my user, so it was generating a ton of debug data for all requests. that caused PHP to go over the memory limit.

      Comment

      Working...