No matter how much memory I allocate in php.ini, almost any action I try to perform will immediately start to hang, and eventually crash with this error in the console:
Code: Select all
ERROR PHP ERROR: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes) in file: /var/www/html/cacti/lib/database.php on line: 476
What can I do? I've tried setting it higher and lower, I've played with the max runtime, max threads, and practically every other value in that config file, followed countless tutorials on google, and nothing helps. I must be missing something obvious here, but what?
This happens when I do pretty much anything, for example syncing 20-ish devices to their templates, renaming graphs, and so on. I'd say a little more than half the time this happens to me, it happens when I'm doing something involving graphs. In many cases, it will print this to the console on the line before it runs out of memory:
Code: Select all
AUTOM8 NOTE: [PID: 15947] create_graph_node() Graph[5906] Tree Item - Added - id: (1262)
Edit: just a heads up, my powers to do much with this issue over the weekend are very slim, so while I will read replies and answer what questions I can from home, I'll be out of the office away from my VM until Monday.